Skip to content

Commit

Permalink
Add: Support for Blender v3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Nov 17, 2023
1 parent 0f11e5d commit ad68fe2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 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 @@ -56,7 +56,7 @@ jobs:
"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.0", "3.1", "3.2", "3.3", "3.4", "3.5"
]
steps:
- name: Checkout repo
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
"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.0", "3.1", "3.2", "3.3", "3.4", "3.5"
]
steps:
- name: Fetch artifacts
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
"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.0", "3.1", "3.2", "3.3", "3.4", "3.5"
]
steps:
- name: Fetch Artifacts
Expand All @@ -212,7 +212,7 @@ jobs:
"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.0", "3.1", "3.2", "3.3", "3.4", "3.5"
]
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 @@ -71,6 +71,7 @@ being too big for intelliSense to work.*
|3.2|[https://pypi.org/project/fake-bpy-module-3.2/](https://pypi.org/project/fake-bpy-module-3.2/)|
|3.3|[https://pypi.org/project/fake-bpy-module-3.3/](https://pypi.org/project/fake-bpy-module-3.3/)|
|3.4|[https://pypi.org/project/fake-bpy-module-3.4/](https://pypi.org/project/fake-bpy-module-3.4/)|
|3.5|[https://pypi.org/project/fake-bpy-module-3.5/](https://pypi.org/project/fake-bpy-module-3.5/)|
|latest|[https://pypi.org/project/fake-bpy-module-latest/](https://pypi.org/project/fake-bpy-module-latest/)|

### Install via pre-generated modules
Expand Down
3 changes: 2 additions & 1 deletion src/fake_bpy_module/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def _parse_module(self, file: IO[Any], level: int) -> str:
module_name = module_name[:module_name.rfind(".")]
elif self.target_version in [
"2.91", "2.92", "2.93",
"3.0", "3.1", "3.2", "3.3", "3.4", "latest"]:
"3.0", "3.1", "3.2", "3.3", "3.4", "3.5",
"latest"]:
if module_name == "bpy.data":
module_name = "bpy"
elif self.target == "upbge":
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.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.0", "3.1", "3.2", "3.3", "3.4", "3.5",
"latest"
]

Expand All @@ -27,7 +27,7 @@
"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.0", "3.1", "3.2", "3.3", "3.4", "3.5",
"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 @@ -18,7 +18,7 @@ declare -r IGNORED_PYLINT_ERRORS=(
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.0" "3.1" "3.2" "3.3" "3.4" "3.5"
"latest"
)
declare -r SUPPORTED_UPBGE_VERSIONS=(
Expand All @@ -42,6 +42,7 @@ declare -A BLENDER_TAG_NAME=(
["v3.2"]="v3.2.0"
["v3.3"]="v3.3.0"
["v3.4"]="v3.4.0"
["v3.5"]="v3.5.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 @@ -6,7 +6,7 @@ set -eEu
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.0" "3.1" "3.2" "3.3" "3.4" "3.5"
"all"
)

Expand Down Expand Up @@ -43,6 +43,7 @@ declare -A BLENDER_DOWNLOAD_URL_WIN64=(
["v3.2"]="https://download.blender.org/release/Blender3.2/blender-3.2.0-windows-x64.zip"
["v3.3"]="https://download.blender.org/release/Blender3.3/blender-3.3.0-windows-x64.zip"
["v3.4"]="https://download.blender.org/release/Blender3.4/blender-3.4.0-windows-x64.zip"
["v3.5"]="https://download.blender.org/release/Blender3.5/blender-3.5.0-windows-x64.zip"
)

declare -A BLENDER_DOWNLOAD_URL_LINUX=(
Expand All @@ -61,6 +62,7 @@ declare -A BLENDER_DOWNLOAD_URL_LINUX=(
["v3.2"]="https://download.blender.org/release/Blender3.2/blender-3.2.0-linux-x64.tar.xz"
["v3.3"]="https://download.blender.org/release/Blender3.3/blender-3.3.0-linux-x64.tar.xz"
["v3.4"]="https://download.blender.org/release/Blender3.4/blender-3.4.0-linux-x64.tar.xz"
["v3.5"]="https://download.blender.org/release/Blender3.5/blender-3.5.0-linux-x64.tar.xz"
)

declare -A NEED_MOVE_MACOSX=(
Expand All @@ -87,6 +89,7 @@ declare -A NEED_MOVE_LINUX=(
["v3.2"]="blender-3.2.0-linux-x64"
["v3.3"]="blender-3.3.0-linux-x64"
["v3.4"]="blender-3.4.0-linux-x64"
["v3.5"]="blender-3.5.0-linux-x64"
)

declare -A BLENDER_CHECKSUM_URL=(
Expand All @@ -105,6 +108,7 @@ declare -A BLENDER_CHECKSUM_URL=(
["v3.2"]="https://download.blender.org/release/Blender3.2/blender-3.2.0.md5"
["v3.3"]="https://download.blender.org/release/Blender3.3/blender-3.3.0.md5"
["v3.4"]="https://download.blender.org/release/Blender3.4/blender-3.4.0.md5"
["v3.5"]="https://download.blender.org/release/Blender3.5/blender-3.5.0.md5"
)

function get_extractor() {
Expand Down

0 comments on commit ad68fe2

Please sign in to comment.