Skip to content

Commit

Permalink
Add: Support for Blender 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Jan 30, 2025
1 parent b8ace8c commit c5f6fbc
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/fake-bpy-module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
"2.80", "2.81", "2.82", "2.83",
"2.90", "2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6",
"4.0", "4.1", "4.2"
"4.0", "4.1", "4.2", "4.3"
]
steps:
- name: Checkout repo
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
"2.80", "2.81", "2.82", "2.83",
"2.90", "2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6",
"4.0", "4.1", "4.2"
"4.0", "4.1", "4.2", "4.3"
]
steps:
- name: Fetch artifacts
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
"2.80", "2.81", "2.82", "2.83",
"2.90", "2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6",
"4.0", "4.1", "4.2"
"4.0", "4.1", "4.2", "4.3"
]
steps:
- name: Fetch Artifacts
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
"2.80", "2.81", "2.82", "2.83",
"2.90", "2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6",
"4.0", "4.1", "4.2"
"4.0", "4.1", "4.2", "4.3"
]
steps:
- name: Fetch Artifacts
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ being too big for intelliSense to work.*
|4.0|[https://pypi.org/project/fake-bpy-module-4.0/](https://pypi.org/project/fake-bpy-module-4.0/)|
|4.1|[https://pypi.org/project/fake-bpy-module-4.1/](https://pypi.org/project/fake-bpy-module-4.1/)|
|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/)|
|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
2 changes: 1 addition & 1 deletion src/fake_bpy_module/analyzer/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def run(self) -> list[ModuleNode]:
elif config.get_target_version() in [
"2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6",
"4.0", "4.1", "4.2",
"4.0", "4.1", "4.2", "4.3",
"latest"]:
if module_name == "bpy.data":
module_name = "bpy"
Expand Down
4 changes: 2 additions & 2 deletions src/fake_bpy_module/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"2.80", "2.81", "2.82", "2.83",
"2.90", "2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6",
"4.0", "4.1", "4.2",
"4.0", "4.1", "4.2", "4.3",
"latest"
]

Expand All @@ -29,7 +29,7 @@
"2.80", "2.81", "2.82", "2.83",
"2.90", "2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6",
"4.0", "4.1", "4.2",
"4.0", "4.1", "4.2", "4.3",
"latest"
]

Expand Down
3 changes: 2 additions & 1 deletion tests/pylint_cycles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare -r SUPPORTED_BLENDER_VERSIONS=(
"2.78" "2.79" "2.80" "2.81" "2.82" "2.83"
"2.90" "2.91" "2.92" "2.93"
"3.0" "3.1" "3.2" "3.3" "3.4" "3.5" "3.6"
"4.0" "4.1" "4.2"
"4.0" "4.1" "4.2" "4.3"
"latest"
)
declare -r SUPPORTED_UPBGE_VERSIONS=(
Expand Down Expand Up @@ -49,6 +49,7 @@ declare -A BLENDER_TAG_NAME=(
["v4.0"]="v4.0.0"
["v4.1"]="v4.1.0"
["v4.2"]="v4.2.0"
["v4.3"]="v4.3.0"
["vlatest"]="main"
)
declare -A UPBGE_TAG_NAME=(
Expand Down
3 changes: 2 additions & 1 deletion tools/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SUPPORTED_BLENDER_VERSIONS=(
"2.78" "2.79" "2.80" "2.81" "2.82" "2.83"
"2.90" "2.91" "2.92" "2.93"
"3.0" "3.1" "3.2" "3.3" "3.4" "3.5" "3.6"
"4.0" "4.1" "4.2"
"4.0" "4.1" "4.2" "4.3"
"latest"
)
SUPPORTED_UPBGE_VERSIONS=(
Expand Down Expand Up @@ -37,6 +37,7 @@ declare -A BLENDER_TAG_NAME=(
["v4.0"]="v4.0.0"
["v4.1"]="v4.1.0"
["v4.2"]="v4.2.0"
["v4.3"]="v4.3.0"
["vlatest"]="main"
)
declare -A UPBGE_TAG_NAME=(
Expand Down
6 changes: 5 additions & 1 deletion tools/utils/download_blender.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SUPPORTED_VERSIONS=(
"2.78" "2.79" "2.80" "2.81" "2.82" "2.83"
"2.90" "2.91" "2.92" "2.93"
"3.0" "3.1" "3.2" "3.3" "3.4" "3.5" "3.6"
"4.0" "4.1" "4.2"
"4.0" "4.1" "4.2" "4.3"
"all"
)

Expand Down Expand Up @@ -49,6 +49,7 @@ declare -A BLENDER_DOWNLOAD_URL_WIN64=(
["v4.0"]="https://download.blender.org/release/Blender4.0/blender-4.0.0-windows-x64.zip"
["v4.1"]="https://download.blender.org/release/Blender4.1/blender-4.1.0-windows-x64.zip"
["v4.2"]="https://download.blender.org/release/Blender4.2/blender-4.2.0-windows-x64.zip"
["v4.3"]="https://download.blender.org/release/Blender4.3/blender-4.3.0-windows-x64.zip"
)

declare -A BLENDER_DOWNLOAD_URL_LINUX=(
Expand All @@ -72,6 +73,7 @@ declare -A BLENDER_DOWNLOAD_URL_LINUX=(
["v4.0"]="https://download.blender.org/release/Blender4.0/blender-4.0.0-linux-x64.tar.xz"
["v4.1"]="https://download.blender.org/release/Blender4.1/blender-4.1.0-linux-x64.tar.xz"
["v4.2"]="https://download.blender.org/release/Blender4.2/blender-4.2.0-linux-x64.tar.xz"
["v4.3"]="https://download.blender.org/release/Blender4.3/blender-4.3.0-linux-x64.tar.xz"
)

declare -A NEED_MOVE_MACOSX=(
Expand Down Expand Up @@ -103,6 +105,7 @@ declare -A NEED_MOVE_LINUX=(
["v4.0"]="blender-4.0.0-linux-x64"
["v4.1"]="blender-4.1.0-linux-x64"
["v4.2"]="blender-4.2.0-linux-x64"
["v4.3"]="blender-4.3.0-linux-x64"
)

declare -A BLENDER_CHECKSUM_URL=(
Expand All @@ -126,6 +129,7 @@ declare -A BLENDER_CHECKSUM_URL=(
["v4.0"]="https://download.blender.org/release/Blender4.0/blender-4.0.0.md5"
["v4.1"]="https://download.blender.org/release/Blender4.1/blender-4.1.0.md5"
["v4.2"]="https://download.blender.org/release/Blender4.2/blender-4.2.0.md5"
["v4.3"]="https://download.blender.org/release/Blender4.3/blender-4.3.0.md5"
)

function get_extractor() {
Expand Down

0 comments on commit c5f6fbc

Please sign in to comment.