Title: Declare `wheel` dependency in `pyproject.toml` according to PEP 518 · Issue #341 · google/python-fire · GitHub
Open Graph Title: Declare `wheel` dependency in `pyproject.toml` according to PEP 518 · Issue #341 · google/python-fire
X Title: Declare `wheel` dependency in `pyproject.toml` according to PEP 518 · Issue #341 · google/python-fire
Description: Trying to install fire on a fresh environment ends produces this error: Building wheels for collected packages: fire Building wheel for fire (setup.py) ... error ERROR: Command errored out with exit status 1: command: /tmp/ie-titanic-uti...
Open Graph Description: Trying to install fire on a fresh environment ends produces this error: Building wheels for collected packages: fire Building wheel for fire (setup.py) ... error ERROR: Command errored out with exi...
X Description: Trying to install fire on a fresh environment ends produces this error: Building wheels for collected packages: fire Building wheel for fire (setup.py) ... error ERROR: Command errored out with exi...
Opengraph URL: https://github.com/google/python-fire/issues/341
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Declare `wheel` dependency in `pyproject.toml` according to PEP 518","articleBody":"Trying to install fire on a fresh environment ends produces this error:\r\n\r\n```\r\nBuilding wheels for collected packages: fire\r\n Building wheel for fire (setup.py) ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: /tmp/ie-titanic-utils/.venv/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-6ftqurwi/fire/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-6ftqurwi/fire/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' bdist_wheel -d /tmp/pip-wheel-08a6120v\r\n cwd: /tmp/pip-install-6ftqurwi/fire/\r\n Complete output (6 lines):\r\n usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\r\n or: setup.py --help [cmd1 cmd2 ...]\r\n or: setup.py --help-commands\r\n or: setup.py cmd --help\r\n \r\n error: invalid command 'bdist_wheel'\r\n ----------------------------------------\r\n ERROR: Failed building wheel for fire\r\n Running setup.py clean for fire\r\n```\r\n\r\nAfter that, fire gets installed anyway.\r\n\r\nThis error doesn't appear if the `wheel` package is preinstalled in the environment. However, the proper modern way of specifying a build-time dependency is to include a `pyproject.toml`. Given that fire uses setuptools, as the user guide says here https://setuptools.readthedocs.io/en/latest/userguide/quickstart.html#basic-use, it should contain this:\r\n\r\n```\r\n[build-system]\r\nrequires = [\"setuptools\", \"wheel\"]\r\nbuild-backend = \"setuptools.build_meta\"\r\n```","author":{"url":"https://github.com/astrojuanlu","@type":"Person","name":"astrojuanlu"},"datePublished":"2021-06-11T16:10:31Z","url":"https://github.com/google/python-fire/issues/341"}
| 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:2a8061ab-c261-067d-dcf2-3b0247351241 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 820A:26206F:2C89DA4:3A9F604:6B0019AD |
| html-safe-nonce | 80c0bb65a1b9fcae4f03864b336d086fb858e1b11dc0a6c7cfa8a5ac45f41dec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjBBOjI2MjA2RjoyQzg5REE0OjNBOUY2MDQ6NkIwMDE5QUQiLCJ2aXNpdG9yX2lkIjoiNzgzODU1MTE2NjUzNDI5MzkzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 05b17573f7ffcaaf96ad003b1b20da11182a9889f4c96c257451d5cc982e86ba |
| hovercard-subject-tag | issue:918940080 |
| 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/google/python-fire/341/issue_layout |
| twitter:image | https://opengraph.githubassets.com/28131f545aa9e6571b0b32bca3348fe8c861f8cdb4b6c4d6cc6eabc8f490b35d/google/python-fire/issues/341 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/28131f545aa9e6571b0b32bca3348fe8c861f8cdb4b6c4d6cc6eabc8f490b35d/google/python-fire/issues/341 |
| og:image:alt | Trying to install fire on a fresh environment ends produces this error: Building wheels for collected packages: fire Building wheel for fire (setup.py) ... error ERROR: Command errored out with exi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | astrojuanlu |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/google/python-fire git https://github.com/google/python-fire.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 82729529 |
| octolytics-dimension-repository_nwo | google/python-fire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82729529 |
| octolytics-dimension-repository_network_root_nwo | google/python-fire |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width