From b73f1aaae31d48a2a8da21258b6da3c61d999b75 Mon Sep 17 00:00:00 2001 From: Carlos <27721404+carlkidcrypto@users.noreply.github.com> Date: Wed, 31 Jan 2024 07:27:17 -0800 Subject: [PATCH 1/5] PyPi Aagain - trying to get the build to work for pypi. --- .../workflows/build_and_publish_to_pypi.yml | 21 +++++++++++++++++++ .../build_and_publish_to_test_pypi.yml | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/.github/workflows/build_and_publish_to_pypi.yml b/.github/workflows/build_and_publish_to_pypi.yml index 251def2e..c148fd13 100644 --- a/.github/workflows/build_and_publish_to_pypi.yml +++ b/.github/workflows/build_and_publish_to_pypi.yml @@ -45,6 +45,27 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.10" + + - name: Set up dependencies + uses: carlkidcrypto/os-specific-runner@v2.0.0 + with: + linux: sudo apt-get update; + sudo apt-get install -y libsnmp-dev libperl-dev; + + - name: Install pypa/build + run: >- + python -m + pip install + build + --user + + - name: Build a source tarball + run: >- + python -m + build + --sdist + --outdir dist/ + . - name: Download Wheels uses: actions/download-artifact@v4 diff --git a/.github/workflows/build_and_publish_to_test_pypi.yml b/.github/workflows/build_and_publish_to_test_pypi.yml index 1070c903..d22764cf 100644 --- a/.github/workflows/build_and_publish_to_test_pypi.yml +++ b/.github/workflows/build_and_publish_to_test_pypi.yml @@ -45,6 +45,27 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.10" + + - name: Set up dependencies + uses: carlkidcrypto/os-specific-runner@v2.0.0 + with: + linux: sudo apt-get update; + sudo apt-get install -y libsnmp-dev libperl-dev; + + - name: Install pypa/build + run: >- + python -m + pip install + build + --user + + - name: Build a source tarball + run: >- + python -m + build + --sdist + --outdir dist/ + . - name: Download Wheels uses: actions/download-artifact@v4 From e6882e897752e093668421309e4a2f7e85b78bb6 Mon Sep 17 00:00:00 2001 From: Carlos <27721404+carlkidcrypto@users.noreply.github.com> Date: Wed, 31 Jan 2024 20:34:08 -0800 Subject: [PATCH 2/5] PyPi 5000 - okay worky now please. --- .github/workflows/build_and_publish_to_pypi.yml | 4 ++-- .github/workflows/build_and_publish_to_test_pypi.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_publish_to_pypi.yml b/.github/workflows/build_and_publish_to_pypi.yml index c148fd13..302a7921 100644 --- a/.github/workflows/build_and_publish_to_pypi.yml +++ b/.github/workflows/build_and_publish_to_pypi.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} - path: ./wheelhouse/*.whl + path: wheelhouse/*.whl build-n-publish-pypi: name: Build and Publish To PyPi @@ -71,7 +71,7 @@ jobs: uses: actions/download-artifact@v4 with: pattern: cibw-wheels-* - merge-multiple: false + merge-multiple: true path: dist/ - name: Publish distribution 📦 to Test PyPI diff --git a/.github/workflows/build_and_publish_to_test_pypi.yml b/.github/workflows/build_and_publish_to_test_pypi.yml index d22764cf..cae85caf 100644 --- a/.github/workflows/build_and_publish_to_test_pypi.yml +++ b/.github/workflows/build_and_publish_to_test_pypi.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} - path: ./wheelhouse/*.whl + path: wheelhouse/*.whl build-n-publish-test-pypi: name: Build and Publish To Test PyPi @@ -71,7 +71,7 @@ jobs: uses: actions/download-artifact@v4 with: pattern: cibw-wheels-* - merge-multiple: false + merge-multiple: true path: dist/ - name: Publish distribution 📦 to Test PyPI From e2d4e6ba4e33440615237832d9a074f6abd6bf60 Mon Sep 17 00:00:00 2001 From: Carlos <27721404+carlkidcrypto@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:58:54 -0800 Subject: [PATCH 3/5] PyPi Test Worflow - okay worky now please. PyPI Workflows - attempt to fix the pypi workflow. PyPi Workflows Again - don't need a sdist for now. PyPi Aagain - trying to get the build to work for pypi. --- .github/workflows/build_and_publish_to_pypi.yml | 17 +++++++++++++---- .../build_and_publish_to_test_pypi.yml | 17 +++++++++++++---- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_and_publish_to_pypi.yml b/.github/workflows/build_and_publish_to_pypi.yml index fa7074b2..302a7921 100644 --- a/.github/workflows/build_and_publish_to_pypi.yml +++ b/.github/workflows/build_and_publish_to_pypi.yml @@ -20,8 +20,11 @@ jobs: - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + run: | + python -m pip install --upgrade pip + pip install cibuildwheel + + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -29,7 +32,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} - path: ./wheelhouse/*.whl + path: wheelhouse/*.whl build-n-publish-pypi: name: Build and Publish To PyPi @@ -42,6 +45,12 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.10" + + - name: Set up dependencies + uses: carlkidcrypto/os-specific-runner@v2.0.0 + with: + linux: sudo apt-get update; + sudo apt-get install -y libsnmp-dev libperl-dev; - name: Install pypa/build run: >- @@ -62,7 +71,7 @@ jobs: uses: actions/download-artifact@v4 with: pattern: cibw-wheels-* - merge-multiple: false + merge-multiple: true path: dist/ - name: Publish distribution 📦 to Test PyPI diff --git a/.github/workflows/build_and_publish_to_test_pypi.yml b/.github/workflows/build_and_publish_to_test_pypi.yml index f33a1348..cae85caf 100644 --- a/.github/workflows/build_and_publish_to_test_pypi.yml +++ b/.github/workflows/build_and_publish_to_test_pypi.yml @@ -20,8 +20,11 @@ jobs: - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + run: | + python -m pip install --upgrade pip + pip install cibuildwheel + + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -29,7 +32,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} - path: ./wheelhouse/*.whl + path: wheelhouse/*.whl build-n-publish-test-pypi: name: Build and Publish To Test PyPi @@ -42,6 +45,12 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.10" + + - name: Set up dependencies + uses: carlkidcrypto/os-specific-runner@v2.0.0 + with: + linux: sudo apt-get update; + sudo apt-get install -y libsnmp-dev libperl-dev; - name: Install pypa/build run: >- @@ -62,7 +71,7 @@ jobs: uses: actions/download-artifact@v4 with: pattern: cibw-wheels-* - merge-multiple: false + merge-multiple: true path: dist/ - name: Publish distribution 📦 to Test PyPI From d86eccc35499543d165150b6e2e9e7b3f089c101 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Jan 2024 21:04:57 -0800 Subject: [PATCH 4/5] Bump pluggy from 1.0.0 to 1.4.0 (#25) Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.0.0 to 1.4.0. - [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pluggy/compare/1.0.0...1.4.0) --- updated-dependencies: - dependency-name: pluggy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5c4043ba..cdb31e49 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ mypy-extensions==1.0.0 packaging==23.2 pathspec==0.12.1 platformdirs==2.5.2 -pluggy==1.0.0 +pluggy==1.4.0 py==1.11.0 pycodestyle==2.11.1 pyflakes==3.2.0 From 5b8de67dc65318c14476700c395f91d04e3c4c37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Jan 2024 21:07:39 -0800 Subject: [PATCH 5/5] Bump black from 24.1.0 to 24.1.1 (#24) Bumps [black](https://github.com/psf/black) from 24.1.0 to 24.1.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.1.0...24.1.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cdb31e49..d61aec58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ atomicwrites==1.4.1 attrs==23.2.0 -black==24.1.0 +black==24.1.1 click== 8.1.7 colorama==0.4.6 coverage==7.4.1