Title: _codata.py varies between builds · Issue #225 · python-quantities/python-quantities · GitHub
Open Graph Title: _codata.py varies between builds · Issue #225 · python-quantities/python-quantities
X Title: _codata.py varies between builds · Issue #225 · python-quantities/python-quantities
Description: While working on reproducible builds for openSUSE, I found that our python-quantities package always had variations in _codata.py This can be fixed with --- a/setup.py +++ b/setup.py @@ -24,7 +24,6 @@ class data(Command): with open('quan...
Open Graph Description: While working on reproducible builds for openSUSE, I found that our python-quantities package always had variations in _codata.py This can be fixed with --- a/setup.py +++ b/setup.py @@ -24,7 +24,6...
X Description: While working on reproducible builds for openSUSE, I found that our python-quantities package always had variations in _codata.py This can be fixed with --- a/setup.py +++ b/setup.py @@ -24,7 +24,6...
Opengraph URL: https://github.com/python-quantities/python-quantities/issues/225
X: @github
Domain: www.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_codata.py varies between builds","articleBody":"While working on reproducible builds for openSUSE, I found that\r\nour `python-quantities` package always had variations in `_codata.py`\r\n\r\nThis can be fixed with\r\n```diff\r\n--- a/setup.py\r\n+++ b/setup.py\r\n@@ -24,7 +24,6 @@ class data(Command):\r\n with open('quantities/constants/_codata.py', 'w') as f:\r\n f.write('# THIS FILE IS AUTOMATICALLY GENERATED\\n')\r\n f.write('# ANY CHANGES MADE HERE WILL BE LOST\\n')\r\n- f.write(f'# LAST GENERATED: {datetime.now()}\\n\\n')\r\n f.write('physical_constants = {}\\n\\n')\r\n for line in data:\r\n name = line[:55].rstrip().replace('mag.','magnetic')\r\n```\r\n\r\nor with a more complex patch to allow to override the build date https://reproducible-builds.org/docs/source-date-epoch/#python","author":{"url":"https://github.com/bmwiedemann","@type":"Person","name":"bmwiedemann"},"datePublished":"2023-07-28T02:34:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/225/python-quantities/issues/225"}
| 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:52f54724-c7fb-e433-4002-bb6cb6718532 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD88:CD10D:799A61:9C9104:696AEDF0 |
| html-safe-nonce | 8b66bc7a032804f7d8df7653b87f8d2ff4c06e085a582a0cf2e320c644d8e4f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDg4OkNEMTBEOjc5OUE2MTo5QzkxMDQ6Njk2QUVERjAiLCJ2aXNpdG9yX2lkIjoiNTAyMDk1ODE5MTE4MDc3MDgwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd6ccac47342407e503d6f5727599fe9b86b5fced1d4b9e8a36c4a32d2ff801b |
| hovercard-subject-tag | issue:1825591200 |
| 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-quantities/python-quantities/225/issue_layout |
| twitter:image | https://opengraph.githubassets.com/917740af7ec5e9b03c56cb950942a5fa5706a65f34440b18b4c53f16bf95dc2d/python-quantities/python-quantities/issues/225 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/917740af7ec5e9b03c56cb950942a5fa5706a65f34440b18b4c53f16bf95dc2d/python-quantities/python-quantities/issues/225 |
| og:image:alt | While working on reproducible builds for openSUSE, I found that our python-quantities package always had variations in _codata.py This can be fixed with --- a/setup.py +++ b/setup.py @@ -24,7 +24,6... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bmwiedemann |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python-quantities/python-quantities git https://github.com/python-quantities/python-quantities.git |
| octolytics-dimension-user_id | 222003 |
| octolytics-dimension-user_login | python-quantities |
| octolytics-dimension-repository_id | 560911 |
| octolytics-dimension-repository_nwo | python-quantities/python-quantities |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 560911 |
| octolytics-dimension-repository_network_root_nwo | python-quantities/python-quantities |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width