Skip to content

Migrate tools to Python 3.14 - #475

Open
MendryX4 wants to merge 1 commit into
openmaptiles:masterfrom
MendryX4:migration-python-314
Open

Migrate tools to Python 3.14#475
MendryX4 wants to merge 1 commit into
openmaptiles:masterfrom
MendryX4:migration-python-314

Conversation

@MendryX4

Copy link
Copy Markdown

This PR migrates the openmaptiles-tools codebase and Docker environment from Python 3.9 to Python 3.14. The tool versions have been bumped accordingly.

To ensure the migration didn't break the pipeline, the following local tests were successfully executed:

  • Passed all unit and integration tests via make test using the rebuilt Docker image.
  • Ran an end-to-end tile generation using quickstart.sh. The data was successfully downloaded, imported into PostGIS, processed by the SQL scripts, and a valid tiles.mbtiles file was generated without any errors or warnings.

@TomPohys TomPohys left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks a lot. It looks good!

Comment thread openmaptiles/__init__.py
@@ -1 +1 @@
__version__ = '0.0.0'
__version__ = '8.0.0'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
__version__ = '8.0.0'
__version__ = '0.0.0'

Please keep just a 0.0.0 so we do not have dependency before release. There is automatic replacement based on tag:

sed -i -e 's/^__version__ = '"'"'[0-9]\+[.][0-9]\+[.][0-9]\+'"'"'/__version__ = '"'${BASH_REMATCH[1]}.${BASH_REMATCH[2]}.${BASH_REMATCH[3]}'"'/g' openmaptiles/__init__.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants