Skip to content

Commit

Permalink
[DEV] install: Update python packages to latest minor release and del…
Browse files Browse the repository at this point in the history
…ete unused environment files (#148)

* update dev-packages to latest minor release and patch level

update existing environment via: conda env update --file conda_env/gdal-dev.yml

* Pin used python package versiosn in Github Actions

to the ones in conda_env/gdal-dev.yml

* delete unused files

- environment-... .yml was used as export of all installed python packages in the environment per OS
- requirements.txt was used to install packages via pip (legacy)

* update package to latest minor release and patch level (PyPI installation)
  • Loading branch information
treee111 authored Sep 26, 2022
1 parent 3cdb75d commit 47e0fb7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 242 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install pylint==2.15.*
pip install mock
pip install requests
pip install requests==2.28.*
- name: Analysing the code with pylint
run: |
pylint -j 0 ./wahoomc ./tests
Expand Down
124 changes: 0 additions & 124 deletions conda_env/environment-mac.yml

This file was deleted.

112 changes: 0 additions & 112 deletions conda_env/environment-win.yml

This file was deleted.

6 changes: 3 additions & 3 deletions conda_env/gdal-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ channels:
dependencies:
- python=3.7
- gdal=3.4.*
- requests=2.27.*
- pylint=2.12.*
- requests=2.28.*
- pylint=2.15.*
- geojson=2.5.*
- shapely=1.8.*
- autopep8=1.6.*
- autopep8=1.7.*
- mock
- twine
- pip
Expand Down
Binary file removed conda_env/requirements.txt
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ classifiers =
packages = wahoomc
python_requires = >=3.7
install_requires =
requests==2.27.*
requests==2.28.*
shapely==1.8.*

[options.package_data]
Expand Down

0 comments on commit 47e0fb7

Please sign in to comment.