Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/urllib3-2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carlkidcrypto authored Feb 1, 2024
2 parents c221c1a + 5b8de67 commit dc78d15
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 6 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/build_and_publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,12 +45,33 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Set up dependencies
uses: carlkidcrypto/[email protected]
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
with:
pattern: cibw-wheels-*
merge-multiple: false
merge-multiple: true
path: dist/

- name: Publish distribution 📦 to Test PyPI
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/build_and_publish_to_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,12 +45,33 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Set up dependencies
uses: carlkidcrypto/[email protected]
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
with:
pattern: cibw-wheels-*
merge-multiple: false
merge-multiple: true
path: dist/

- name: Publish distribution 📦 to Test PyPI
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit dc78d15

Please sign in to comment.