Title: Required Python versions not declared in package · Issue #171 · formencode/formencode · GitHub
Open Graph Title: Required Python versions not declared in package · Issue #171 · formencode/formencode
X Title: Required Python versions not declared in package · Issue #171 · formencode/formencode
Description: While the package defines the trove classifiers for the supported Python versions, these classifiers are not used by pip, and the "python_requires" attribute that would be used by pip is not present in the package. That causes pip to att...
Open Graph Description: While the package defines the trove classifiers for the supported Python versions, these classifiers are not used by pip, and the "python_requires" attribute that would be used by pip is not presen...
X Description: While the package defines the trove classifiers for the supported Python versions, these classifiers are not used by pip, and the "python_requires" attribute that would be used by pip is ...
Opengraph URL: https://github.com/formencode/formencode/issues/171
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Required Python versions not declared in package","articleBody":"While the package defines the trove classifiers for the supported Python versions, these classifiers are not used by pip, and the \"python_requires\" attribute that would be used by pip is not present in the package.\r\n\r\nThat causes pip to attempt to install FormEncode on Python versions that are not supported by FormEncode and then to fail in the Python version check in setup.py.\r\n\r\nIn addition, the version check in 1.3.1 is based on string comparison so it refuses to install on Python 3.10. This lead to this error in our own project where we have a defined minimum version for each package and test with that: https://github.com/pywbem/pywbem/runs/4392558860?check_suite_focus=true#step:11:234. The string based version checking has been fixed meanwhile, and I am just mentioning it because that is what triggered me to find the missing python_requires.\r\n\r\nThe `setup()` argument to be added to match the Python versions stated in the classifiers of the current master branch, would be:\r\n```\r\npython_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',\r\n```","author":{"url":"https://github.com/andy-maier","@type":"Person","name":"andy-maier"},"datePublished":"2021-12-02T08:52:42Z","url":"https://github.com/formencode/formencode/issues/171"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f00a24a2-6ca0-9783-be95-50301013d1eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96E6:1697DC:67077D:8AD4C6:6B04A0CA |
| html-safe-nonce | ac39a2575ec4bb8a484a328a3f80736fb0847a7fb844d985dac3cab3de7f145a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkU2OjE2OTdEQzo2NzA3N0Q6OEFENEM2OjZCMDRBMENBIiwidmlzaXRvcl9pZCI6IjYwODAzNjYzNzc5MDEwMDcwNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8bf549191d7121e2b84084d489768566bfd15347459918d8215f7c008076b0e0 |
| hovercard-subject-tag | issue:1069286074 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/formencode/formencode/171/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58bda5394b2f36a38578d931440f9dca7ec122493c4e3ad7cba76fe33994abf3/formencode/formencode/issues/171 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58bda5394b2f36a38578d931440f9dca7ec122493c4e3ad7cba76fe33994abf3/formencode/formencode/issues/171 |
| og:image:alt | While the package defines the trove classifiers for the supported Python versions, these classifiers are not used by pip, and the "python_requires" attribute that would be used by pip is not presen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andy-maier |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| turbo-cache-control | no-preview |
| go-import | github.com/formencode/formencode git https://github.com/formencode/formencode.git |
| octolytics-dimension-user_id | 1541742 |
| octolytics-dimension-user_login | formencode |
| octolytics-dimension-repository_id | 3733133 |
| octolytics-dimension-repository_nwo | formencode/formencode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3733133 |
| octolytics-dimension-repository_network_root_nwo | formencode/formencode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width