Title: bpo-29708: support SOURCE_DATE_EPOCH for build info by commodo · Pull Request #5313 · python/cpython · GitHub
Open Graph Title: bpo-29708: support SOURCE_DATE_EPOCH for build info by commodo · Pull Request #5313 · python/cpython
X Title: bpo-29708: support SOURCE_DATE_EPOCH for build info by commodo · Pull Request #5313 · python/cpython
Description: The Modules/getbuildinfo.c file allows the use of DATE and TIME macros to be defined via CFLAGS. These vars, control the build date & time when the interpreter is opened, and can be read via the platform._sys_version() function. So, a conversion from SOURCE_DATE_EPOCH to DATE & TIME is required at build-time. This is especially needed for platform._sys_version() to work. The installation of pip seems to rely on this. The logic has been adapted from: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Makefile Signed-off-by: Alexandru Ardelean ardeleanalex@gmail.com https://bugs.python.org/issue29708
Open Graph Description: The Modules/getbuildinfo.c file allows the use of DATE and TIME macros to be defined via CFLAGS. These vars, control the build date & time when the interpreter is opened, and can be read via th...
X Description: The Modules/getbuildinfo.c file allows the use of DATE and TIME macros to be defined via CFLAGS. These vars, control the build date & time when the interpreter is opened, and can be read vi...
Opengraph URL: https://github.com/python/cpython/pull/5313
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:96ad4cc4-86b9-20fc-7f8b-fb5ff6779ca6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B0C4:15DFF5:1E20DA6:2964EC9:696ABDF6 |
| html-safe-nonce | e543fbf2bc90a225e5c78de4e7eef56ca64b4aa070e1e4e724ee3d9adb1da0ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEM0OjE1REZGNToxRTIwREE2OjI5NjRFQzk6Njk2QUJERjYiLCJ2aXNpdG9yX2lkIjoiNjc1ODIzNTcwMTc4NzY3MjA1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cacd5d643c8dbe3395710988815058ad24780c0577301c4997890d0841dfdb81 |
| hovercard-subject-tag | pull_request:165050919 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/5313/files |
| twitter:image | https://avatars.githubusercontent.com/u/2766732?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2766732?s=400&v=4 |
| og:image:alt | The Modules/getbuildinfo.c file allows the use of DATE and TIME macros to be defined via CFLAGS. These vars, control the build date & time when the interpreter is opened, and can be read via th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width