Skip to content
Merged
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
30 changes: 15 additions & 15 deletions .github/workflows/build_on_push_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
uses: Ultimaker/embedded-workflows/.github/workflows/shellcheck.yml@main
secrets: inherit

Flake8:
name: 'Test'
needs: Prepare
uses: Ultimaker/python-quality-control/.github/workflows/flake8.yml@master
with:
PARENT_BRANCH: 'main'
secrets: inherit
# Flake8:
# name: 'Test'
# needs: Prepare
# uses: Ultimaker/python-quality-control/.github/workflows/flake8.yml@master
# with:
# PARENT_BRANCH: 'main'
# secrets: inherit

MyPy:
name: 'Test'
Expand All @@ -33,13 +33,13 @@ jobs:
PARENT_BRANCH: 'main'
secrets: inherit

PyCodeStyle:
name: 'Test'
needs: Prepare
uses: Ultimaker/python-quality-control/.github/workflows/pycodestyle.yml@master
with:
PARENT_BRANCH: 'main'
secrets: inherit
# PyCodeStyle:
# name: 'Test'
# needs: Prepare
# uses: Ultimaker/python-quality-control/.github/workflows/pycodestyle.yml@master
# with:
# PARENT_BRANCH: 'main'
# secrets: inherit

Vulture:
name: 'Test'
Expand All @@ -63,7 +63,7 @@ jobs:

Release_Package:
name: 'Release'
needs: [Prepare, Shellcheck, Build, Flake8, MyPy, PyCodeStyle, Vulture, PyTest]
needs: [Prepare, Shellcheck, Build, MyPy, Vulture, PyTest]
if: ${{ (success() && needs.Prepare.outputs.RELEASE_REPO != 'none') ||
(failure() && needs.Build.result == 'success' && needs.Prepare.outputs.RELEASE_REPO == 'packages-dev') }}
uses: Ultimaker/embedded-workflows/.github/workflows/release_pkg.yml@main
Expand Down
2 changes: 1 addition & 1 deletion Charon/filetypes/OpenPackagingConvention.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def getStream(self, virtual_path: str) -> IO[bytes]:

self._last_open_path = virtual_path
try: # If it happens to match some existing PNG file, we have to rescale that file and return the result.
self._last_open_stream = self._zipfile.open(virtual_path, self._mode.value)
self._last_open_stream = self._zipfile.open(virtual_path, self._mode.value, force_zip64=True)
except RuntimeError: # Python 3.5 and before couldn't open resources in the archive in write mode.
self._last_open_stream = BytesIO()
self._open_bytes_streams[virtual_path] = self._last_open_stream # Save this for flushing later.
Expand Down