Skip to content

Commit

Permalink
Support Python 3.13 (#2089)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra authored Oct 9, 2024
1 parent e331dd3 commit 2fb52be
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
- name: macOS
os: macos-latest
dist_name: betty-macos
python: '3.12'
python: '3.13'
- name: Windows
os: windows-2019
dist_name: betty-windows
python: '3.12'
python: '3.13'
steps:
- name: Check out the source code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-build-pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: macOS
os: macos-latest
dist_name: betty-macos
python: '3.12'
python: '3.13'
- name: Windows
os: windows-2019
dist_name: betty-windows
python: '3.12'
python: '3.13'
steps:
- name: Check out the source code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-build-setuptools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
strategy:
matrix:
include:
- name: 'Python 3.12'
- name: 'Python 3.13'
os: ubuntu-latest
python: '3.12'
python: '3.13'
steps:
- name: Check out the source code
uses: actions/checkout@v4
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
include:
# The number of builds that submit code coverage configured here MUST be identical
# to the number of `after_n_builds` in /home/bart/code/bartfeenstra/betty/codecov.yml.
- name: 'Python 3.13'
os: ubuntu-latest
python: '3.13'
- name: 'Python 3.12'
os: ubuntu-latest
python: '3.12'
Expand All @@ -26,10 +29,10 @@ jobs:
python: '3.11'
- name: 'macOS'
os: macos-latest
python: '3.12'
python: '3.13'
- name: 'Windows'
os: windows-latest
python: '3.12'
python: '3.13'
timeout-minutes: 60
steps:
- name: Check out the source code
Expand Down
2 changes: 2 additions & 0 deletions betty/tests/coverage/test_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ class TestKnownToBeMissing:
"FetchResponse": {
# This is inherited from @dataclass.
"__eq__": TestKnownToBeMissing,
# This is inherited from @dataclass.
"__replace__": TestKnownToBeMissing,
},
},
"betty/fs.py": {
Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ codecov:
# The number of builds configured here MUST be identical to the number
# of matrix options in /.github/workflows/test.yml that submit code coverage
# reports to Codecov.io.
after_n_builds: 4
after_n_builds: 5
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ classifiers = [
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: JavaScript',
'Programming Language :: Lua',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Lua',
'Programming Language :: JavaScript',
'Programming Language :: Python :: 3.13',
'Programming Language :: Unix Shell',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
Expand Down

0 comments on commit 2fb52be

Please sign in to comment.