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

Conversation

treee111
Copy link
Owner

@treee111 treee111 commented Nov 5, 2022

This PR…

  • makes changes in all relevant files to require Python version 3.11
  • updates GDAL to 3.6, 3.4 wil not work with Python 3.11
  • updated dev dependency autopep8 to 2.0

Considerations and implementations

The former Python version 3.7 reaches end of live on the 27.06.2023 (https://devguide.python.org/versions/).

Upgrade existing Anaconda environment

Remove existing environment:
conda env remove -n gdal-user
Create new environment and install wahoomc:

conda create -n gdal-user python=3.11 geojson=2.5 gdal=3.6 pip --channel conda-forge --override-channels
conda activate gdal-user
pip install wahoomc

After release v4.0.0 has been merged, this will also be taken over to the docs:

How to test

  1. create new dev or user environment
  2. create your country / tile as always and check content

Pull Request Checklist

@treee111 treee111 added the infrastructure Infrastructure label Nov 5, 2022
@treee111 treee111 added this to the v4.0.0 milestone Nov 7, 2022
@treee111 treee111 force-pushed the python-3.10 branch 2 times, most recently from 71c6301 to 96b173b Compare November 12, 2022 15:10
@treee111 treee111 force-pushed the develop branch 2 times, most recently from b6266a1 to 9075b43 Compare November 12, 2022 20:25
@treee111 treee111 force-pushed the python-3.10 branch 2 times, most recently from 49b8d1d to 936edeb Compare November 17, 2022 21:33
@treee111 treee111 changed the base branch from develop to release-v4.0.0 January 31, 2023 16:28
@treee111 treee111 force-pushed the python-3.10 branch 2 times, most recently from 90f8872 to 46d365e Compare February 1, 2023 19:45
@treee111 treee111 marked this pull request as ready for review February 2, 2023 04:59
@treee111 treee111 closed this Feb 2, 2023
@treee111 treee111 reopened this Feb 2, 2023
@treee111 treee111 changed the title [BREAKING] Upgrade required Python version to 3.10 [BREAKING] Upgrade required Python version to 3.11 and packages GDAL to 3.6 and autopep8 to 2.0 Feb 2, 2023
@treee111 treee111 changed the title [BREAKING] Upgrade required Python version to 3.11 and packages GDAL to 3.6 and autopep8 to 2.0 [BREAKING] Upgrade required Python version to 3.11, packages GDAL to 3.6 and autopep8 to 2.0 Feb 2, 2023
@treee111 treee111 changed the title [BREAKING] Upgrade required Python version to 3.11, packages GDAL to 3.6 and autopep8 to 2.0 [BREAKING] Upgrade required Python version to 3.11, upgrade packages GDAL to 3.6 and autopep8 to 2.0 Feb 2, 2023
@treee111 treee111 merged commit afb3d1e into release-v4.0.0 Feb 3, 2023
@treee111 treee111 deleted the python-3.10 branch February 3, 2023 13:47
treee111 added a commit that referenced this pull request May 5, 2023
…GDAL to 3.6 and autopep8 to 2.0 (#166)

* replace python 3.7 by python 3.11 in all relevant files

* pylint checks only for Python 3.11

* replace gdal 3.4 by gdal 3.6 in all relevant files

* update dev deps to latest minor version

it's only autopep8...

BREAKING CHANGE:
You need to create a new Anaconda environment with Python v3.11 for this versino. These are the steps: 
1. Remove existing environment:
`conda env remove -n gdal-user`
2. Create new environment and install wahoomc:
```
conda create -n gdal-user python=3.11 geojson=2.5 gdal=3.6 pip --channel conda-forge --override-channels
conda activate gdal-user
pip install wahoomc
```
alfh pushed a commit to alfh/wahooMapsCreator that referenced this pull request Nov 4, 2023
…GDAL to 3.6 and autopep8 to 2.0 (treee111#166)

* replace python 3.7 by python 3.11 in all relevant files

* pylint checks only for Python 3.11

* replace gdal 3.4 by gdal 3.6 in all relevant files

* update dev deps to latest minor version

it's only autopep8...

BREAKING CHANGE:
You need to create a new Anaconda environment with Python v3.11 for this versino. These are the steps: 
1. Remove existing environment:
`conda env remove -n gdal-user`
2. Create new environment and install wahoomc:
```
conda create -n gdal-user python=3.11 geojson=2.5 gdal=3.6 pip --channel conda-forge --override-channels
conda activate gdal-user
pip install wahoomc
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant