Create wheels with the build package
MODIFY
.github/workflows/release.yml
.github/workflows/release.yml
@@ -34,14 +34,15 @@ jobs:
with:
python-version: "3.9"
- - name: Install dependencies
+ - name: install build requirements
run: |
- pip install -r dev-requirements.txt
+ pip install build
pip freeze
- - name: Build distribution archives
+ - name: build release
run: |
- python setup.py sdist bdist_wheel
+ python -m build --sdist --wheel .
+ ls -l dist
# This step is only run when a new tag is pushed
# all previous steps always run in order to exercise them

MODIFY
.github/workflows/test.yml
.github/workflows/test.yml
@@ -116,7 +116,7 @@ jobs:
- name: Install repo2docker
run: |
- python setup.py bdist_wheel
+ python -m build --wheel .
pip install dist/*.whl
# add for mercurial tests

MODIFY
dev-requirements.txt
dev-requirements.txt
+build
codecov
conda-lock
pre-commit
@@ -5,4 +6,3 @@ pytest-cov
pytest>=4.6
pyyaml
requests_mock
-wheel

Create wheels with the build package