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
4 changes: 2 additions & 2 deletions .github/workflows/build_executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
git checkout $LATEST_TAG
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV

- name: Set up Python 3.12
- name: Set up Python 3.13
uses: actions/setup-python@v4
with:
python-version: '3.12'
python-version: '3.13'

- name: Load cached Poetry setup
id: cached-poetry
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:

- name: Run executable test
# we care about the one Python version that will be used to build the executable
# TODO(MarshalX): upgrade to Python 3.13
if: matrix.python-version == '3.12'
if: matrix.python-version == '3.13'
run: |
poetry run pyinstaller pyinstaller.spec
./dist/cycode-cli version
Expand Down
58 changes: 30 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyinstaller.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ with open(_INIT_FILE_PATH, 'w', encoding='UTF-8') as file:

a = Analysis(
scripts=['cycode/cli/main.py'],
excludes=['tests'],
excludes=['tests', 'setuptools', 'pkg_resources'],
)

exe_args = [PYZ(a.pure, a.zipped_data), a.scripts, a.binaries, a.zipfiles, a.datas]
exe_args = [PYZ(a.pure), a.scripts, a.binaries, a.datas]
if _ONEDIR_MODE:
exe_args = [PYZ(a.pure), a.scripts]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ responses = ">=0.23.1,<0.24.0"
pyfakefs = ">=5.7.2,<5.8.0"

[tool.poetry.group.executable.dependencies]
pyinstaller = {version=">=5.13.2,<5.14.0", python=">=3.8,<3.13"}
pyinstaller = {version=">=6.0.0,<7.0.0", python=">=3.9,<3.15"}
dunamai = ">=1.18.0,<1.22.0"

[tool.poetry.group.dev.dependencies]
Expand Down