pdfminer / pdfminer.six

Community maintained fork of pdfminer - we fathom PDF
https://pdfminersix.readthedocs.io
MIT License
5.96k stars 930 forks source link

Allow setuptools-git-versioning 2.x #957

Closed musicinmybrain closed 4 months ago

musicinmybrain commented 7 months ago

Pull request

Allow the current release of setuptools-git-versioning (2.0.0) by raising the version bound from <2 to <3. (I did not file an issue for this.)

Version 2.0.0 has several breaking changes, described in https://setuptools-git-versioning.readthedocs.io/en/stable/changelog.html#change-2.0.0, but none of them appear relevant for this project.

How Has This Been Tested?

$ python3 -m build
$ cd dist
$ ls -1
pdfminer.six-20221105.post23+git.f02a1b80-py3-none-any.whl
pdfminer.six-20221105.post23+git.f02a1b80.tar.gz
$ python3 -m wheel unpack pdfminer.six-20221105.post23+git.f02a1b80-py3-none-any.whl
$ grep -E '^Version:' pdfminer.six-20221105.post23+git.f02a1b80/pdfminer.six-20221105.post23+git.f02a1b80.dist-info/METADATA 
Version: 20221105.post23+git.f02a1b80

https://setuptools-git-versioning.readthedocs.io/en/stable/changelog.html#change-2.0.0

Checklist

pietermarsman commented 4 months ago

Thanks for your contribution!