From 54206ef340b2aaa9e77af3ab4ffd00976221c29e Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Wed, 16 Mar 2022 13:58:17 +0000 Subject: [PATCH 1/2] Fix the publication jobs The build instructions still required the 'setup.py' script in the publication jobs. This commit replaces those instructions with the 'build' package. --- .github/workflows/test_and_publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index dcac979..330a0b5 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -79,14 +79,14 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install --upgrade setuptools wheel twine build - name: Build and publish env: TWINE_USERNAME: '__token__' TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | - python setup.py sdist bdist_wheel + python -m build twine upload --repository testpypi dist/* publish-to-pypi: @@ -108,12 +108,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install --upgrade setuptools wheel twine build - name: Build and publish env: TWINE_USERNAME: '__token__' TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | - python setup.py sdist bdist_wheel + python -m build twine upload dist/* From 673fa8a65b1a4cc307d353fe41e7e11614927ed9 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Wed, 16 Mar 2022 14:08:10 +0000 Subject: [PATCH 2/2] Bump version number to 0.4.1 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index fc3fa30..ebf11e6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = faker_wifi_essid -version = 0.4.0 +version = 0.4.1 description = Faker provider for Wi-Fi ESSIDs. long_description = file: README.rst keywords = faker, faker-library, faker-provider, faker-generator, wifi, essid