Skip to content

Commit

Permalink
extract packaging requirements into own file
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Dec 29, 2024
1 parent 0d74fe3 commit 0647ba9
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Build and check package
run: |
python -m pip install --user hatch twine validate-pyproject[all]
python -m pip install --user -r ./environments/requirements/requirements-packaging.txt
python -m validate_pyproject ./pyproject.toml
python -m hatch build --clean
python -m twine check --strict ./dist/*
Expand Down
1 change: 0 additions & 1 deletion environments/requirements/requirements-all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# /environments/requirements/ and the requirements in pyproject.toml.
bottleneck
cartopy
conda-smithy
folium
furo
geopandas>=1.0
Expand Down
1 change: 0 additions & 1 deletion environments/requirements/requirements-extras.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
bottleneck
cartopy
conda-smithy
folium
jupyterlab
nbdime
Expand Down
3 changes: 3 additions & 0 deletions environments/requirements/requirements-packaging.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hatch
twine
validate-pyproject
3 changes: 0 additions & 3 deletions environments/requirements/requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
hatch
lxml
pip
pre-commit
pytest
pytest-cov
twine
typeguard
validate-pyproject
3 changes: 0 additions & 3 deletions environments/tests/env-test-minimum-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ channels:
- conda-forge
dependencies:
- geopandas==1.0.*
- hatch
- lxml
- matplotlib==3.5.*
- networkx==2.5.*
Expand All @@ -23,6 +22,4 @@ dependencies:
- scikit-learn==0.23.*
- scipy==1.5.*
- shapely==2.0.*
- twine
- typeguard
- validate-pyproject
3 changes: 0 additions & 3 deletions environments/tests/requirements-test-latest-deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# /environments/make-env-files.py using the environment definition files in
# /environments/requirements/ and the requirements in pyproject.toml.
geopandas>=1.0
hatch
lxml
matplotlib>=3.5
networkx>=2.5
Expand All @@ -18,6 +17,4 @@ rio-vrt>=0.3
scikit-learn>=0.23
scipy>=1.5
shapely>=2.0
twine
typeguard
validate-pyproject

0 comments on commit 0647ba9

Please sign in to comment.