Skip to content

Commit

Permalink
Update some version pins and minimum versions. Add Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Feb 27, 2025
1 parent a10a1f7 commit 70e77a8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
fail-fast: false
defaults:
run:
Expand Down
10 changes: 5 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ channels:
- conda-forge
dependencies:
# Packages required for setting up the environment
- pip>=21,<25
- python>=3.10,<3.13
- setuptools>=66
- pip>=21,<26
- python>=3.10,<3.14
- setuptools>=75

# Packages specified in setup.py that need or benefit from binary conda packages
# - geopandas>=0.9,<0.11
Expand All @@ -18,8 +18,8 @@ dependencies:
# - numba>=0.55.1,<0.57 # numba speeds up some kinds of math by 100x

# Jupyter packages:
- jupyterlab>=3.2,<4
- nbconvert>=6,<7 # Used to clear notebook outputs in pre-commit hooks
- jupyterlab>=4,<5
- nbconvert>=7,<8 # Used to clear notebook outputs in pre-commit hooks

# These are not normal Python packages available on PyPI
- nodejs # Useful for Jupyter and prettier pre-commit hook
Expand Down
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=66",
"setuptools>=75",
"setuptools_scm[toml]>=3.5.0",
"wheel",
]
Expand All @@ -14,7 +14,7 @@ readme = {file = "README.rst", content-type = "text/x-rst"}
authors = [
{name = "Catalyst Cooperative", email = "[email protected]"}
]
requires-python = ">=3.10,<3.13"
requires-python = ">=3.10,<3.14"
dynamic = ["version"]
license = {file = "LICENSE.txt"}
dependencies = [
Expand All @@ -34,6 +34,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
keywords = [
"template",
Expand Down Expand Up @@ -62,10 +63,10 @@ dev = [
]
docs = [
"doc8>=1,<2", # Ensures clean documentation formatting
"furo>=2022.4.7",
"sphinx>=6,<9", # The default Python documentation engine
"sphinx-autoapi>=2,<4", # Generates documentation from docstrings
"sphinx-issues>=1.2,<6", # Allows references to GitHub issues
"furo>=2024,<2026",
"sphinx>=8,<9", # The default Python documentation engine
"sphinx-autoapi>=3,<4", # Generates documentation from docstrings
"sphinx-issues>=5,<6", # Allows references to GitHub issues

]
tests = [
Expand All @@ -80,7 +81,7 @@ tests = [
"pytest-console-scripts>=1.1,<2", # Allow automatic testing of scripts
"pytest-cov>=4,<7", # Pytest plugin for working with coverage
"pytest>=7,<9", # Our testing framework
"ruff>=0.6", # A very fast python linter & autofixer
"ruff>=0.9", # A very fast python linter & autofixer
"tox>=4,<5", # Python test environment manager
]
types = [
Expand Down

0 comments on commit 70e77a8

Please sign in to comment.