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

setup.py: Allow Python 3.11 patch versions #198

Merged
merged 1 commit into from
Feb 4, 2023

Conversation

oxzi
Copy link
Contributor

@oxzi oxzi commented Feb 4, 2023

The upper bound in python_requires "<=3.11" excludes patch versions of Python 3.11, as, e.g., Python 3.11.1.

ERROR: Package 'geojson' requires a different Python: 3.11.1 not in '<=3.11,>=3.7'

By switching from an inclusive to an exclusive upper bound of 3.12, geojson can now be used with all Python 3.11 versions.

The upper bound in python_requires "<=3.11" excludes patch versions of
Python 3.11, as, e.g., Python 3.11.1.

> ERROR: Package 'geojson' requires a different Python: 3.11.1 not in '<=3.11,>=3.7'

By switching from an inclusive to an exclusive upper bound of 3.12,
geojson can now be used with all Python 3.11 versions.
@codecov
Copy link

codecov bot commented Feb 4, 2023

Codecov Report

Merging #198 (3b1698a) into main (c8a489a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #198   +/-   ##
=======================================
  Coverage   94.90%   94.90%           
=======================================
  Files          10       10           
  Lines         353      353           
  Branches       76       76           
=======================================
  Hits          335      335           
  Misses         11       11           
  Partials        7        7           

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

@rayrrr rayrrr merged commit 0632639 into jazzband:main Feb 4, 2023
@oxzi oxzi deleted the python-3.11-patch-versions branch February 5, 2023 10:40
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Sep 2, 2023
3.0.1 (2023-02-15)
------------------

- Add Support for Python 3.11.x minor revisions

  - jazzband/geojson#198


3.0.0 (2023-01-26)
------------------

- Support for Python versions 3.7-3.11 (Python 2 no longer supported)

- Primary development branch renamed from `master` to `main`

- Handle all real numbers as coordinates

  - jazzband/geojson#188

- Default precision improvements

  - jazzband/geojson#177

- CI improvements

  - jazzband/geojson#172
  - jazzband/geojson#155

- utf-8 support added to `geojson.dumps()`

  - jazzband/geojson#165

- Polygons now constrained to bounding box

  - jazzband/geojson#147

- Better GeometryCollection handling in `util.coords()`

  - jazzband/geojson#146

- Improved point validation

  - jazzband/geojson#144
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.

None yet

2 participants