Repository navigation
Commit 4e3a91e
committed
fix: Remove '<4' from python_requires in packaging guide
As discussed in https://discuss.python.org/t/use-of-less-than-next-major-version-e-g-4-in-python-requires-setup-py/1066
and other places there can be some side effects of adding `<4` to a
library's python_requires. This PR removes it, as requested in the
discuss.python question.
The section above the lines discussed in the topic that uses compatible
release syntax is also removed given that `~=3.3` also enforces `<4`.
Additional references of problems known to Matthew for posterity:
* Twitter threads:
- https://twitter.com/HEPfeickert/status/1362170933658738701
- https://twitter.com/nicholdav/status/1366978826790666240
* GitHub Issues:
- python-poetry/poetry#37471 parent c247d46 commit 4e3a91e
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | 400 | | |
406 | 401 | | |
407 | 402 | | |
408 | | - | |
| 403 | + | |
409 | 404 | | |
410 | 405 | | |
411 | 406 | | |
| |||
0 commit comments