Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit support for python 3.13 #73

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4856e70
ci: add support for Python 3.13 in CI workflow and update dependencie…
kmnhan Dec 5, 2024
b4d9f77
test: update error message matching
kmnhan Dec 5, 2024
0936f78
ci(github): run mypy with python 3.13
kmnhan Dec 5, 2024
3aa5c3d
test: fix tests
kmnhan Dec 5, 2024
1293067
ci: add support for Python 3.13 in CI workflow and update dependencie…
kmnhan Dec 5, 2024
523fa9a
test: update error message matching
kmnhan Dec 5, 2024
d953344
ci(github): run mypy with python 3.13
kmnhan Dec 5, 2024
a6e1e9c
test: fix tests
kmnhan Dec 5, 2024
4a85981
Merge branch 'py313' of https://github.com/kmnhan/erlabpy into py313
kmnhan Dec 10, 2024
ae0529c
ci: add support for Python 3.13 in CI workflow and update dependencie…
kmnhan Dec 5, 2024
574c6da
test: update error message matching
kmnhan Dec 5, 2024
007de0b
ci(github): run mypy with python 3.13
kmnhan Dec 5, 2024
044850e
test: fix tests
kmnhan Dec 5, 2024
d770a65
test: update error message matching
kmnhan Dec 5, 2024
5a1e267
test: fix tests
kmnhan Dec 5, 2024
46d0c2c
Merge branch 'py313' of https://github.com/kmnhan/erlabpy into py313
kmnhan Dec 14, 2024
6144259
ci: add support for Python 3.13 in CI workflow and update dependencie…
kmnhan Dec 5, 2024
339c941
test: update error message matching
kmnhan Dec 5, 2024
1f24428
ci(github): run mypy with python 3.13
kmnhan Dec 5, 2024
2b2aae3
test: fix tests
kmnhan Dec 5, 2024
cbbbe33
test: update error message matching
kmnhan Dec 5, 2024
d414de6
test: fix tests
kmnhan Dec 5, 2024
86d2a72
test: update error message matching
kmnhan Dec 5, 2024
7921834
test: fix tests
kmnhan Dec 5, 2024
ed37618
test: update error message matching
kmnhan Dec 5, 2024
765cb78
test: fix tests
kmnhan Dec 5, 2024
4c1ce1a
Merge branch 'py313' of https://github.com/kmnhan/erlabpy into py313
kmnhan Dec 14, 2024
4facb7e
Merge branch 'main' into py313
kmnhan Dec 14, 2024
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
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
qt-api: ["pyqt6", "pyside6"]
steps:
- uses: actions/checkout@v4
Expand All @@ -39,9 +39,17 @@ jobs:
run: |
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX

- name: Install pytest and dependencies
- name: Install pip
run: |
python -m pip install --upgrade pip

- name: Install numba rc (for Python 3.13)
if: matrix.python-version == '3.13'
run: |
python -m pip install --pre numba

- name: Install pytest and dependencies
run: |
python -m pip install -v .[viz,io,perf,misc,dev] ${{ matrix.qt-api }}
python -m pip list
export QT_API=${{ matrix.qt-api }}
Expand Down Expand Up @@ -105,11 +113,12 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --pre numba
python -m pip install commitizen cz-changeup

- name: Generate changelog
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
]
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion tests/io/test_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def files_for_summary(self, data_dir):
errno.ENOENT, os.strerror(errno.ENOENT), "some_nonexistent_dir"
)
)
),
).replace("some_nonexistent_dir", ".*some_nonexistent_dir"),
):
erlab.io.loaders.set_data_dir("some_nonexistent_dir")

Expand Down
Loading