Skip to content

Commit bae37a7

Browse files
authored
Merge pull request #201 from SnowEx/chore/python-version-and-deps-update
Chore/python version and deps update
2 parents 3b5bc68 + af27fb8 commit bae37a7

File tree

5 files changed

+31
-39
lines changed

5 files changed

+31
-39
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
strategy:
7575
fail-fast: false
7676
matrix:
77-
python-version: ["3.8", "3.9", "3.10"]
77+
python-version: ["3.10", "3.11", "3.12", "3.13"]
7878
runs-on: [ubuntu-latest, macos-14]
7979
steps:
8080
- name: Check pypi packages

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
24+
python-version: ['3.10', 3.11, 3.12, 3.13]
2525

2626
services:
2727

docs/community/how_to_contribute.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ Local Development Setup
4343

4444
.. code-block:: bash
4545
46-
$ pip install -r requirements_dev.txt
47-
$ pip install -r docs/requirements.txt
46+
$ pip install -e ".[docs]"
4847
4948
#. Create a branch for local development
5049

docs/requirements.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

pyproject.toml

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,46 @@ license = {text = "GNU"}
99
description = "SQL Database software for SnowEx data"
1010
keywords = ["snowex", "sql", "database", "snow"]
1111
readme = "README.rst"
12-
requires-python = ">=3.8"
12+
requires-python = ">=3.10"
1313
classifiers = [
1414
'Development Status :: 2 - Pre-Alpha',
1515
'Intended Audience :: Developers',
1616
'Natural Language :: English',
17-
'Programming Language :: Python :: 3.8',
18-
'Programming Language :: Python :: 3.9',
19-
'Programming Language :: Python :: 3.10'
17+
'Programming Language :: Python :: 3.10',
18+
'Programming Language :: Python :: 3.11',
19+
'Programming Language :: Python :: 3.12',
20+
'Programming Language :: Python :: 3.13'
2021
]
22+
2123
dependencies = [
22-
"utm>=0.5.0,<1.0",
23-
"geoalchemy2>=0.6,<1.0",
24-
"geopandas>=0.7,<2.0",
25-
"psycopg2-binary>=2.9.0,<2.10.0",
26-
"rasterio>=1.1.5",
27-
"SQLAlchemy >= 2.0.0",
24+
"utm <0.9",
25+
"geoalchemy2 <1.0",
26+
"geopandas <2.0",
27+
"psycopg2-binary <3.0",
28+
"rasterio <2.0",
29+
"SQLAlchemy <3.0",
2830
]
2931

32+
3033
[project.optional-dependencies]
3134
dev = [
32-
"factory_boy<4",
33-
"pytest-factoryboy<3",
34-
"pytest<8.4",
35-
"pytest-cov",
36-
"sphinx-autobuild<=2024.5",
35+
"factory_boy <4.0",
36+
"pytest-factoryboy <3.0",
37+
"pytest <9.0",
38+
"pytest-cov <8.0",
39+
"sphinx-autobuild <2025.0",
3740
]
3841
docs = [
39-
"ipython>7.0,<9.0",
40-
"nbconvert>=6.4.3,<6.5.0",
41-
"nbsphinx==0.9.4",
42-
"pandoc==1.0.2",
43-
"plotly==5.22.0",
44-
"sphinx-gallery==0.9.0",
45-
"sphinx>=7.1,<7.4",
46-
"sphinxcontrib-apidoc==0.3.0",
47-
"jupyter-book>=1.0.2,<1.1",
48-
"pyyaml<6.1"
42+
"ipython <9.0",
43+
"nbconvert <8.0",
44+
"nbsphinx <1.0",
45+
"pandoc <3.0",
46+
"plotly <7.0",
47+
"sphinx-gallery <1.0",
48+
"sphinx <8.0",
49+
"sphinxcontrib-apidoc <1.0",
50+
"jupyter-book <2.0",
51+
"pyyaml <7.0"
4952
]
5053
all = ["snowexsql[dev,docs]"]
5154

0 commit comments

Comments
 (0)