Skip to content

Commit

Permalink
[BREAKING] Downgrade required Python version to 3.10 (treee111#187)
Browse files Browse the repository at this point in the history
replace python 3.11 by python 3.10 in all relevant files
  • Loading branch information
treee111 authored and alfh committed Nov 4, 2023
1 parent 8daad5a commit 85d3b0f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions conda_env/gdal-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: gdal-dev
channels:
- conda-forge
dependencies:
- python=3.11
- gdal=3.6.*
- python=3.10
- gdal=3.4.*
- requests=2.28.*
- pylint=2.15.*
- geojson=2.5.*
Expand Down
4 changes: 2 additions & 2 deletions conda_env/gdal-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: gdal-user
channels:
- conda-forge
dependencies:
- python=3.11
- python=3.10
- geojson=2.5.*
- gdal=3.6.*
- gdal=3.4.*
- pip
- pip:
- wahoomc==3.2.0
2 changes: 1 addition & 1 deletion docs/QUICKSTART_ANACONDA.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ brew install osmosis
1. Open terminal (macOS/Linux) or **Anaconda Prompt** (Windows, via Startmenu)
2. Create a new Anaconda environment with needed packages
```
conda create -n gdal-user python=3.11 geojson=2.5 gdal=3.6 pip --channel conda-forge --override-channels
conda create -n gdal-user python=3.10 geojson=2.5 gdal=3.4 pip --channel conda-forge --override-channels
```
3. activate Anaconda environment with the command printed out (this needs to be done each time you want to use wahooMapsCreator maps)
```
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ classifiers =

[options]
packages = wahoomc, wahoomc.init
python_requires = >=3.11
python_requires = >=3.10
install_requires =
requests==2.28.*
shapely==1.8.*
Expand Down

0 comments on commit 85d3b0f

Please sign in to comment.