Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAKING] Upgrade required Python version to 3.11, upgrade packages GDAL to 3.6 and autopep8 to 2.0 #166

Merged
merged 4 commits into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.9", "3.10"]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions conda_env/gdal-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: gdal-dev
channels:
- conda-forge
dependencies:
- python=3.7
- gdal=3.4.*
- python=3.11
- gdal=3.6.*
- requests=2.28.*
- pylint=2.15.*
- geojson=2.5.*
- shapely=1.8.*
- autopep8=1.7.*
- autopep8=2.0.*
- mock
- twine
- pip
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.7
- python=3.11
- geojson=2.5.*
- gdal=3.4.*
- gdal=3.6.*
- 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 @@ -86,7 +86,7 @@ mkdir -p .openstreetmap/osmosis/plugins
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.7 geojson=2.5 gdal=3.4 pip --channel conda-forge --override-channels
conda create -n gdal-user python=3.11 geojson=2.5 gdal=3.6 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.7
python_requires = >=3.11
install_requires =
requests==2.28.*
shapely==1.8.*
Expand Down