-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reqa - splitting up reqs into test and dev - removing things that don't appear to be needed. * Update pyproject.toml - bump mac ports versions. * Setup.py - doing some clean up work - adding more info prints that come in handy - attempting to make this more robust. I suspect that on GA runners homebrew is also installed, but we aren't using it to install packages on MacOS builds. This can clear out the includes/libs/etc. This needs to be fixed, I have an idea 👍 . More coming soon. * Update setup.py - making vars global - moved things down a bit. * Update setup.py - using temp vars for brew before final assignment at the end. * Update setup.py - added back the try catch * Update setup.py - convert to string before strip * MacOS - working to compile on macos without homebrew * Update setup.py - dynamic inlcudes for netsnmp * Setup.py - fixing a setup.py oops - moving the sleep for test_snmpwalk and increasing it for macos. * Update test_netsnmp.py - black * Update setup.py - Another attempt for Linux * MacOS - MacOS fix attempt * Workflows - add concurrency to more flows - made them depend on black before they run. * Workflows - making the tests workflows run again. * Workflow - optimizing workflows - bumping the sleep time for that walk( test that timeouts on MacOS. * Removing Black Dep - turns out I can't have multiple triggers. Removed the black one. Keepign black in its own yml. * Enable GA TestPyPi - starting the test py pi * try again for pypi try again for pypi * Update pyproject.toml - maybe this will work for macos * saving WIP - turns out we need more functions to extract macports info. * Mac Ports Builds - getting mac port builds to work. Almost there. * Update pyproject.toml - try setting my env vars for macos * Update pyproject.toml - build from source... perhaps. * Update setup.py - remove RelinkLibraries, don't think it is needed anymore... ???>?>? * Mac OS Workflow - okay 1000 time is the charm... work now. * Update pyproject.toml - one more time * Update pyproject.toml - no zlib * workflows - revert and update both ppypi workflows * Update build_and_publish_to_test_pypi.yml - last minute revert from testing.
- Loading branch information
1 parent
fa31cfc
commit 100d008
Showing
12 changed files
with
193 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Integration Tests | ||
|
||
concurrency: integration_tests | ||
on: | ||
push: | ||
branches: [ main ] | ||
|
@@ -105,7 +105,6 @@ jobs: | |
uses: carlkidcrypto/[email protected] | ||
with: | ||
linux: | | ||
export LD_LIBRARY_PATH=$(net-snmp-config --libdir | sed 's/-L//'):$LD_LIBRARY_PATH; | ||
cd /home/runner/work/ezsnmp/ezsnmp/integration_tests; | ||
./run_integration_tests.sh | grep "Total execution time:" > total_execution_time_${{matrix.os}}_${{matrix.python-version}}.log; | ||
echo "artifactPath1=/home/runner/work/ezsnmp/ezsnmp/integration_tests/total_execution_time_${{matrix.os}}_${{matrix.python-version}}.log" >> $GITHUB_ENV; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Tests With Homebrew Package Manager | ||
|
||
concurrency: tests | ||
on: | ||
push: | ||
branches: [ main ] | ||
|
@@ -28,17 +28,10 @@ jobs: | |
tests/*.conf | ||
setup.py | ||
setup.cfg | ||
lint-black-formatting: | ||
runs-on: ubuntu-latest | ||
needs: check-source-changes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: psf/[email protected] | ||
build-and-test: | ||
runs-on: ${{ matrix.os }} | ||
needs: lint-black-formatting | ||
needs: check-source-changes | ||
if: needs.check-source-changes.outputs.run_job == 'true' | ||
strategy: | ||
fail-fast: false | ||
|
@@ -86,7 +79,7 @@ jobs: | |
|
||
- name: Install pip dependencies | ||
run: | | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi | ||
- name: Build And Install EzSnmp | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Tests With Native Package Manager | ||
|
||
concurrency: tests | ||
on: | ||
push: | ||
branches: [ main ] | ||
|
@@ -28,17 +28,10 @@ jobs: | |
tests/*.conf | ||
setup.py | ||
setup.cfg | ||
lint-black-formatting: | ||
runs-on: ubuntu-latest | ||
needs: check-source-changes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: psf/[email protected] | ||
build-and-test: | ||
runs-on: ${{ matrix.os }} | ||
needs: lint-black-formatting | ||
needs: check-source-changes | ||
if: needs.check-source-changes.outputs.run_job == 'true' | ||
strategy: | ||
fail-fast: false | ||
|
@@ -71,11 +64,10 @@ jobs: | |
|
||
- name: Install pip dependencies | ||
run: | | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi | ||
- name: Build And Install EzSnmp | ||
run: | | ||
export LD_LIBRARY_PATH=$(net-snmp-config --libdir | sed 's/-L//'):$LD_LIBRARY_PATH; | ||
pip install . --verbose | ||
- name: Start SNMP daemon | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[metadata] | ||
name = ezsnmp | ||
version = 2.0.0a3 | ||
description = A blazingly fast and Pythonic SNMP library based on the official Net-SNMP bindings. | ||
We use SWIG to generate the wrapper code for us. | ||
description = A blazingly fast and Pythonic SNMP library based on the official Net-SNMP bindings. We use SWIG to generate the wrapper code for us. | ||
author = Carlos Santos | ||
author_email = [email protected] | ||
url = https://github.com/carlkidcrypto/ezsnmp | ||
|
Oops, something went wrong.