Skip to content

Commit d55cc43

Browse files
authored
Fix pip tests since Python 3.13 release (#618)
1 parent 3287594 commit d55cc43

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
- [ ] Resolves #xxx,
44
- [ ] Tests added, otherwise issue #xxx opened,
55
- [ ] Fully documented, including `api/*.md` for new API,
6-
- [ ] New optional dependencies added to both `dev-environment.yml` and `setup.cfg`,
6+
- [ ] New optional dependencies or Python version support added to both `dev-environment.yml` and `setup.cfg`,
77
- [ ] If contributor workflow (test, doc, linting) or Python version support changed, update `CONTRIBUTING.md`.

.github/workflows/pip-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
use-mamba: true
3737
channel-priority: strict
3838
activate-environment: xdem-pip
39-
python-version:
39+
python-version: ${{ matrix.python-version }}
4040

4141
# Use pip install
4242
- name: Install project

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ download_url = https://pypi.org/project/xdem/
3333
packages = find:
3434
zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html
3535
include_package_data = True
36-
python_requires = >=3.9
36+
python_requires = >=3.9,<3.13
3737
# Avoid pinning dependencies in requirements.txt (which we don't do anyways, and we rely mostly on Conda)
3838
# (https://caremad.io/posts/2013/07/setup-vs-requirement/, https://github.com/pypa/setuptools/issues/1951)
3939
install_requires = file: requirements.txt

0 commit comments

Comments
 (0)