Title: FIX: fake out setuptools scm in tox on ci by tacaswell · Pull Request #29014 · matplotlib/matplotlib · GitHub
Open Graph Title: FIX: fake out setuptools scm in tox on ci by tacaswell · Pull Request #29014 · matplotlib/matplotlib
X Title: FIX: fake out setuptools scm in tox on ci by tacaswell · Pull Request #29014 · matplotlib/matplotlib
Description: The repository in GHA is a shallow checkout (so to tags) so we are going to get the version wrong no matter what. However, a recent change to our build dependencies (we think meson-python at 0.17) causes setumtools scm to fail to extract any version when installing from a generated sdist. By setting a pretend version setuptools_scm will never try to look at git. It is not yet clear if this fixes the sdist itself or just continues to use the pretend version when installing. Debugged this on a call with @QuLogic and @ksunden To generate a checkout in a state that will fail use (in a container): /usr/bin/git init /home/runner/work/matplotlib/matplotlib cd /home/runner/work/matplotlib/matplotlib/ /usr/bin/git remote add origin https://github.com/matplotlib/matplotlib /usr/bin/git config --local gc.auto 0 /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +0a6dec17eec446fd28a51bae476a12fd09e73492:refs/remotes/pull/28658/merge /usr/bin/git checkout --progress --force refs/remotes/pull/28658/merge
Open Graph Description: The repository in GHA is a shallow checkout (so to tags) so we are going to get the version wrong no matter what. However, a recent change to our build dependencies (we think meson-python at 0.17)...
X Description: The repository in GHA is a shallow checkout (so to tags) so we are going to get the version wrong no matter what. However, a recent change to our build dependencies (we think meson-python at 0.17)...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/29014
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eabf77e1-d5ae-1c91-dd90-3b4725be5137 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9344:113CA7:147C854:1B563F1:6A534CBA |
| html-safe-nonce | 02cbb95dacf57544189cd4d87487c94d91eb4bacbeb86e21b6b72a5f4fed42ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzQ0OjExM0NBNzoxNDdDODU0OjFCNTYzRjE6NkE1MzRDQkEiLCJ2aXNpdG9yX2lkIjoiOTEwNzk4MzQwNDMxNDYxMDg3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4adf12fe571a8edcda67d2fd83664e4476ee7afc4cc0ef10e939b02a3263926d |
| hovercard-subject-tag | pull_request:2142083826 |
| 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/matplotlib/matplotlib/pull/29014/files |
| twitter:image | https://avatars.githubusercontent.com/u/199813?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/199813?s=400&v=4 |
| og:image:alt | The repository in GHA is a shallow checkout (so to tags) so we are going to get the version wrong no matter what. However, a recent change to our build dependencies (we think meson-python at 0.17)... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width