Skip to content

Commit 6d7c6ad

Browse files
committed
Merge branch 'issue653-add-py313'
2 parents c84d3a2 + fdfc1fa commit 6d7c6ad

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/unittests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- "3.10"
2727
- "3.11"
2828
- "3.12"
29+
- "3.13"
2930
# Additional special cases (see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-adding-configurations)
3031
include:
3132
- os: "windows-latest"

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
- Start running unit tests in GitHub Actions against Python 3.13 too ([#653](https://github.com/Open-EO/openeo-python-client/issues/653))
13+
1214
### Changed
1315

1416
### Removed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
"Programming Language :: Python :: 3.10",
103103
"Programming Language :: Python :: 3.11",
104104
"Programming Language :: Python :: 3.12",
105+
"Programming Language :: Python :: 3.13",
105106
"License :: OSI Approved :: Apache Software License",
106107
"Development Status :: 5 - Production/Stable",
107108
"Operating System :: OS Independent",

tests/internal/test_warnings.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,10 @@ def add(cls, x, y):
101101
assert Foo().add(2, 3) == 5
102102
assert len(recwarn) == 0
103103

104-
expected_warning = re.escape(
105-
# Workaround for bug in classmethod detection before Python 3.9 (see https://wrapt.readthedocs.io/en/latest/decorators.html#decorating-class-methods
106-
f"Call to deprecated {'class method' if sys.version_info >= (3, 9) else 'function (or staticmethod)'} do_plus."
107-
" (Usage of this legacy class method is deprecated. Use `.add` instead.)"
108-
" -- Deprecated since version v1.2."
104+
expected_warning = (
105+
r"Call to deprecated .*(method|function).* do_plus\."
106+
" \(Usage of this legacy .*(method|function).* is deprecated\. Use `\.add` instead\.\)"
107+
" -- Deprecated since version v1\.2\."
109108
)
110109

111110
with pytest.warns(UserDeprecationWarning, match=expected_warning):

0 commit comments

Comments
 (0)