changeset 7121:ce1f1740c335 stable

ci: upgrade our sdist job to Python 3.13 and using build module Python 3.13 was chosen simply as the newest possible version that our v2.1 CI images support. We install the build module right before actually building our packages to make sure it's always the latest version.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 19 Feb 2025 15:57:46 +0400
parents 33cda19d48e9
children f9dbac4bbb9d
files .gitlab-ci.yml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -73,7 +73,8 @@
     stage: .post
     image: registry.heptapod.net/mercurial/ci-images/py3-hgext3rd:v2.1
     script:
-        - python3 setup.py sdist
+        - python3.13 -m pip install build
+        - python3.13 -m build
     artifacts:
         paths:
             - dist/*