Title: Unable to Lint or Render the PEPs Using Older Python Versions · Issue #2402 · python/peps · GitHub
Open Graph Title: Unable to Lint or Render the PEPs Using Older Python Versions · Issue #2402 · python/peps
X Title: Unable to Lint or Render the PEPs Using Older Python Versions · Issue #2402 · python/peps
Description: Context: my /usr/bin/python3 is 3.6. I've also tried with 3.7 and 3.8. I've tried it with venvs and without. There are a number of problems here: Makefile hard-codes $(PYTHON) to /usr/bin/python3 there is no way to specify which python e...
Open Graph Description: Context: my /usr/bin/python3 is 3.6. I've also tried with 3.7 and 3.8. I've tried it with venvs and without. There are a number of problems here: Makefile hard-codes $(PYTHON) to /usr/bin/python3 t...
X Description: Context: my /usr/bin/python3 is 3.6. I've also tried with 3.7 and 3.8. I've tried it with venvs and without. There are a number of problems here: Makefile hard-codes $(PYTHON) to /usr/bin/p...
Opengraph URL: https://github.com/python/peps/issues/2402
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to Lint or Render the PEPs Using Older Python Versions","articleBody":"Context: my /usr/bin/python3 is 3.6. I've also tried with 3.7 and 3.8. I've tried it with venvs and without.\r\n\r\nThere are a number of problems here:\r\n\r\n* Makefile hard-codes `$(PYTHON)` to /usr/bin/python3\r\n* there is no way to specify which python executable I want to use (e.g. passing the \"PYTHON\" variable to make)\r\n* `make lint` fails (assignment expressions)\r\n* `make sphinx` fails (no \"`from future import __annotations__`\", missing \"from future\" statements, no str.removeprefix, no `__class_getitem__`)\r\n* we are running `pre-commit` rather than `$(PYTHON) -m pre_commit\r\n* CI hides these problems\r\n\r\nI would expect to be able to do all of the above using older Python versions. 3.8+ would be good, but 3.6+ would be better.","author":{"url":"https://github.com/ericsnowcurrently","@type":"Person","name":"ericsnowcurrently"},"datePublished":"2022-03-09T23:42:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/2402/peps/issues/2402"}
| 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:2754b068-d3e6-f757-7e5a-ada8aec58e61 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECC2:35550B:4E0FB7:6A93C2:6A6278AE |
| html-safe-nonce | 43917d9d061c7ec138c9e85d73b4799c94f9a22bd1237902997b784253613398 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0MyOjM1NTUwQjo0RTBGQjc6NkE5M0MyOjZBNjI3OEFFIiwidmlzaXRvcl9pZCI6IjU5OTE2MzgwMjI5MTE4NTA2NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9e67bf2fd0b4cc868ee96aa822a8a1cabcd3322013f3ed77c16796bd04f6cbb |
| hovercard-subject-tag | issue:1164568653 |
| 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/python/peps/2402/issue_layout |
| twitter:image | https://opengraph.githubassets.com/752f30f62593ec0e75c7a74d6417d4d17bcaf675fd631f15f850e4601d8fdcf8/python/peps/issues/2402 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/752f30f62593ec0e75c7a74d6417d4d17bcaf675fd631f15f850e4601d8fdcf8/python/peps/issues/2402 |
| og:image:alt | Context: my /usr/bin/python3 is 3.6. I've also tried with 3.7 and 3.8. I've tried it with venvs and without. There are a number of problems here: Makefile hard-codes $(PYTHON) to /usr/bin/python3 t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| hostname | github.com |
| expected-hostname | github.com |
| None | 838e87bd0e4f5415707a930bc14e89e382dc2ea046e50ff575252eb2f2cb06a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/peps git https://github.com/python/peps.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 13414105 |
| octolytics-dimension-repository_nwo | python/peps |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13414105 |
| octolytics-dimension-repository_network_root_nwo | python/peps |
| 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 | f0081192f88523d2bf4cfdf22bb3e138affc4cd1 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width