Fix brew unlink error by upgrading to Python 3.13

This commit is contained in:
Dan Yeaw 2024-10-14 20:51:06 -04:00
parent 047293f6d5
commit c1deb673d7
No known key found for this signature in database
GPG Key ID: 86B9FEF88B780F2B
3 changed files with 11 additions and 9 deletions

View File

@ -21,7 +21,7 @@ concurrency:
cancel-in-progress: true
env:
python_version: '3.12'
python_version: '3.13'
mainline_build: ${{ github.ref == 'refs/heads/main' || github.event.label.name == 'translation' || github.event_name == 'release' }}
jobs:
@ -39,9 +39,11 @@ jobs:
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
pypi.org:443
objects.githubusercontent.com
github.com:443
api.github.com:443
objects.githubusercontent.com:443
raw.githubusercontent.com:443
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
ref: ${{ github.event.pull_request.head.sha }}
@ -70,7 +72,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
python_version: ['3.11', '3.12']
python_version: ['3.11', '3.12', '3.13']
outputs:
targz: gaphor-${{ steps.install.outputs.version }}.tar.gz
wheel: gaphor-${{ steps.install.outputs.version }}-py3-none-any.whl
@ -284,13 +286,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ env.python_version }}
python-version: 3.12
cache: pip
- name: Install Dependencies
id: install
uses: ./.github/actions/install
with:
python-command: py -${{ env.python_version }}
python-command: py -3.12
- name: Run Gaphor Tests
run: poetry run pytest --cov
- name: Create Windows Executables

4
poetry.lock generated
View File

@ -2866,5 +2866,5 @@ type = ["pytest-mypy"]
[metadata]
lock-version = "2.0"
python-versions = ">=3.11,<3.13"
content-hash = "e4477dcffc124fc679073aa9794b2a65be0d7d1d0b22c63688cb8961b7e24a3e"
python-versions = ">=3.11,<3.14"
content-hash = "556e8ce993daf6127e3aaf7cf0706bdc58831df271d6bfe9fff396886264b9c0"

View File

@ -38,7 +38,7 @@ include = ["gaphor/locale/*/LC_MESSAGES/*"]
exclude = ["**/tests", "gaphor/conftest.py" ]
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
python = ">=3.11,<3.14"
pycairo = "^1.22.0"
PyGObject = "^3.30"
gaphas = ">=4.0,<5.0"