File tree Expand file tree Collapse file tree 4 files changed +33
-5
lines changed Expand file tree Collapse file tree 4 files changed +33
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,11 @@ jobs:
12
12
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- - name : Set up Python
16
- uses : actions/setup-python@v5
17
- with :
18
- python-version : " 3.x"
19
15
- name : Build a binary wheel and a source tarball
20
- run : pipx run build
16
+ run : |
17
+ python3 -m venv build-env
18
+ build-env/bin/python -m pip install --no-deps --require-hashes -r build-requirements.txt
19
+ build-env/bin/python -m build --no-isolation
21
20
- name : Store the distribution packages
22
21
uses : actions/upload-artifact@v4
23
22
with :
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ include README.rst
5
5
include SECURITY.md
6
6
include pyproject.toml
7
7
8
+ include build-requirements.in
9
+ include build-requirements.txt
10
+
8
11
include src/pip/_vendor/README.rst
9
12
include src/pip/_vendor/vendor.txt
10
13
recursive-include src/pip/_vendor *LICENSE*
Original file line number Diff line number Diff line change
1
+ build
2
+ setuptools
Original file line number Diff line number Diff line change
1
+ #
2
+ # This file is autogenerated by pip-compile with Python 3.12
3
+ # by the following command:
4
+ #
5
+ # pip-compile --allow-unsafe --generate-hashes build-requirements.in
6
+ #
7
+ build==1.2.2.post1 \
8
+ --hash=sha256:1d61c0887fa860c01971625baae8bdd338e517b836a2f70dd1f7aa3a6b2fc5b5 \
9
+ --hash=sha256:b36993e92ca9375a219c99e606a122ff365a760a2d4bba0caa09bd5278b608b7
10
+ # via -r build-requirements.in
11
+ packaging==24.2 \
12
+ --hash=sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759 \
13
+ --hash=sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f
14
+ # via build
15
+ pyproject-hooks==1.2.0 \
16
+ --hash=sha256:1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8 \
17
+ --hash=sha256:9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913
18
+ # via build
19
+
20
+ # The following packages are considered to be unsafe in a requirements file:
21
+ setuptools==75.8.0 \
22
+ --hash=sha256:c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6 \
23
+ --hash=sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3
24
+ # via -r build-requirements.in
You can’t perform that action at this time.
0 commit comments