jazzband / geojson

Python bindings and utilities for GeoJSON
https://pypi.python.org/pypi/geojson/
BSD 3-Clause "New" or "Revised" License
898 stars 120 forks source link

Test Python 3.12-dev #211

Closed hugovk closed 1 year ago

hugovk commented 1 year ago

Python 3.12 will be in beta in May, which is when third-party projects should start testing it in advance of the October release.

The reason for this is three-fold:

codecov[bot] commented 1 year ago

Codecov Report

Merging #211 (9c927d3) into main (61a686e) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #211   +/-   ##
=======================================
  Coverage   94.88%   94.88%           
=======================================
  Files          10       10           
  Lines         352      352           
  Branches       76       76           
=======================================
  Hits          334      334           
  Misses         11       11           
  Partials        7        7           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

NoharaMasato commented 1 year ago

Probably you can also update https://github.com/jazzband/geojson/blob/main/tox.ini to support 3.12. But, I'm not sure where it's used.

hugovk commented 1 year ago

Thanks, updated! It's used for when you run tox without specifying the env (e.g. so not tox -e py39), and it'll run on all those listed.


~Or I've pushed https://github.com/hugovk/geojson/commit/9c927d39ce96fd689e8f8fa72891d3ee17493668 to the branch https://github.com/hugovk/geojson/commits/test-3.12-dev/ but it's not showing up here https://github.com/jazzband/geojson/pull/211/commits yet...~

Edit: it's fine now.

hugovk commented 1 year ago

Let's merge, the beta is now out: https://discuss.python.org/t/python-3-12-beta-1-and-feature-freeze-is-here/26982?u=hugovk