aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/google_benchmark/version.py
diff options
context:
space:
mode:
authorNicholas Junge <nicholas.junge@web.de>2024-09-04 18:42:07 +0200
committerGitHub <noreply@github.com>2024-09-04 17:42:07 +0100
commit986423a62dd174e75282e432e9fbaf921c9c7ccc (patch)
tree1b76e6bb615d702368686e30c86596aa4314652b /bindings/python/google_benchmark/version.py
parentc19cfee61e136effb05a7fc8a037b0db3b13bd4c (diff)
downloadgoogle-benchmark-main.tar.gz
google-benchmark-main.zip
Bump oldest supported Python to 3.10, eliminate setuptools-scm (#1842)HEADmain
* Supply MacOS deployment target to delocate, use build+uv frontend This shaves off multiple minutes from the wheel builds alone. Also revert to trusted publishing for wheel uploads as it is now set up. * Bump oldest supported Python to 3.10, eliminate setuptools-scm The version is now a string again, under the same attribute as it was before. This is a pragmatic decision in order to be able to upload wheels again, possibly directly from main. We could in the future also set the Python version to a development version if we want to avoid accidental uploads of `main`. * Add a note on supported Python versions in the docs Also fixes the setuptools failure observed in the latest CI by pinning to the last version before v73 until the problem is identified and resolved.
Diffstat (limited to 'bindings/python/google_benchmark/version.py')
-rw-r--r--bindings/python/google_benchmark/version.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/bindings/python/google_benchmark/version.py b/bindings/python/google_benchmark/version.py
deleted file mode 100644
index a324693..0000000
--- a/bindings/python/google_benchmark/version.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from importlib.metadata import PackageNotFoundError, version
-
-try:
- __version__ = version("google-benchmark")
-except PackageNotFoundError:
- # package is not installed
- pass