Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/fake-bpy-module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ jobs:
GEN_MODULE_CODE_FORMAT: "ruff"
GEN_MODULE_OUTPUT_LOG_LEVEL: "debug"
ENABLE_PYTHON_PROFILER: false
# Skip LFS smudge filter, because it would fail the checkout
# since the Blender mirror doesn't actually have LFS files.
GIT_LFS_SKIP_SMUDGE: 1
run: bash tools/pip_package/build_pip_package.sh blender ${{ matrix.blender_version }} ./blender ./blender-bin/blender-${{ matrix.blender_version }}-bin ${{ matrix.blender_version }}

- name: Generate pip Packages
Expand All @@ -129,6 +132,9 @@ jobs:
GEN_MODULE_CODE_FORMAT: "ruff"
GEN_MODULE_OUTPUT_LOG_LEVEL: "warn"
ENABLE_PYTHON_PROFILER: false
# Skip LFS smudge filter, because it would fail the checkout
# since the Blender mirror doesn't actually have LFS files.
GIT_LFS_SKIP_SMUDGE: 1
run: bash tools/pip_package/build_pip_package.sh blender ${{ matrix.blender_version }} ./blender ./blender-bin/blender-${{ matrix.blender_version }}-bin ${{ matrix.blender_version }}

- name: Archive pip packages
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ being too big for intelliSense to work.*
|4.2|[https://pypi.org/project/fake-bpy-module-4.2/](https://pypi.org/project/fake-bpy-module-4.2/)|
|4.3|[https://pypi.org/project/fake-bpy-module-4.3/](https://pypi.org/project/fake-bpy-module-4.3/)|
|4.4|[https://pypi.org/project/fake-bpy-module-4.4/](https://pypi.org/project/fake-bpy-module-4.4/)|
|4.5|[https://pypi.org/project/fake-bpy-module-4.5/](https://pypi.org/project/fake-bpy-module-4.5/)|
|5.0|[https://pypi.org/project/fake-bpy-module-5.0/](https://pypi.org/project/fake-bpy-module-5.0/)|
|latest|[https://pypi.org/project/fake-bpy-module/](https://pypi.org/project/fake-bpy-module/)|
||[https://pypi.org/project/fake-bpy-module-latest/](https://pypi.org/project/fake-bpy-module-latest/)|

Expand Down
14 changes: 14 additions & 0 deletions src/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ SUPPORTED_BLENDER_VERSIONS_BASE:
- "4.2"
- "4.3"
- "4.4"
- "4.5"
- "5.0"

# Same list, but adding "latest".
SUPPORTED_BLENDER_VERSIONS:
Expand All @@ -47,6 +49,8 @@ SUPPORTED_BLENDER_VERSIONS:
- "4.2"
- "4.3"
- "4.4"
- "4.5"
- "5.0"
- "latest"

SUPPORTED_UPBGE_VERSIONS_BASE:
Expand Down Expand Up @@ -84,6 +88,8 @@ BLENDER_TAG_NAME:
"4.2": "v4.2.0"
"4.3": "v4.3.0"
"4.4": "v4.4.0"
"4.5": "v4.5.5"
"5.0": "v5.0.0"
"latest": "main"

UPBGE_TAG_NAME:
Expand Down Expand Up @@ -151,6 +157,8 @@ BLENDER_DOWNLOAD_URL_WIN64:
"4.2": "https://download.blender.org/release/Blender4.2/blender-4.2.0-windows-x64.zip"
"4.3": "https://download.blender.org/release/Blender4.3/blender-4.3.0-windows-x64.zip"
"4.4": "https://download.blender.org/release/Blender4.4/blender-4.4.0-windows-x64.zip"
"4.5": "https://download.blender.org/release/Blender4.5/blender-4.5.5-windows-x64.zip"
"5.0": "https://download.blender.org/release/Blender5.0/blender-5.0.0-windows-x64.zip"

BLENDER_DOWNLOAD_URL_LINUX:
"2.78": "https://download.blender.org/release/Blender2.78/blender-2.78c-linux-glibc219-x86_64.tar.bz2"
Expand All @@ -175,6 +183,8 @@ BLENDER_DOWNLOAD_URL_LINUX:
"4.2": "https://download.blender.org/release/Blender4.2/blender-4.2.0-linux-x64.tar.xz"
"4.3": "https://download.blender.org/release/Blender4.3/blender-4.3.0-linux-x64.tar.xz"
"4.4": "https://download.blender.org/release/Blender4.4/blender-4.4.0-linux-x64.tar.xz"
"4.5": "https://download.blender.org/release/Blender4.5/blender-4.5.5-linux-x64.tar.xz"
"5.0": "https://download.blender.org/release/Blender5.0/blender-5.0.0-linux-x64.tar.xz"
# yamllint enable rule:line-length

BLENDER_NEED_MOVE_MACOSX:
Expand Down Expand Up @@ -207,6 +217,8 @@ BLENDER_NEED_MOVE_LINUX:
"4.2": "blender-4.2.0-linux-x64"
"4.3": "blender-4.3.0-linux-x64"
"4.4": "blender-4.4.0-linux-x64"
"4.5": "blender-4.5.5-linux-x64"
"5.0": "blender-5.0.0-linux-x64"

BLENDER_CHECKSUM_URL:
"2.78": "https://download.blender.org/release/Blender2.78/release278c.md5"
Expand All @@ -231,3 +243,5 @@ BLENDER_CHECKSUM_URL:
"4.2": "https://download.blender.org/release/Blender4.2/blender-4.2.0.md5"
"4.3": "https://download.blender.org/release/Blender4.3/blender-4.3.0.md5"
"4.4": "https://download.blender.org/release/Blender4.4/blender-4.4.0.md5"
"4.5": "https://download.blender.org/release/Blender4.5/blender-4.5.5.md5"
"5.0": "https://download.blender.org/release/Blender5.0/blender-5.0.0.md5"
3 changes: 2 additions & 1 deletion tools/utils/yaml_loader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ load_mapping_from_yaml() {
local data

# Example data line is `key = value`.
data=$(yq -r ".$tag_name" "$VERSIONS_YAML" -oprops)
# ``... comments=""`` is needed to ensure comments are stripped.
data=$(yq -r "... comments=\"\" | .$tag_name" "$VERSIONS_YAML" -oprops)

# There are still empty mapping currently (e.g. `NEED_MOVE_WIN64`).
[[ -z $data ]] && return
Expand Down
Loading