Package scrapli_asyncssh
"""scrapli asyncssh transport plugin"""
-__version__ = "2020.06.06.post2"
+__version__ = "2020.10.10"
diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index fd845fd..c94a178 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -1,6 +1,6 @@ name: Commit -on: [push] +on: [push, pull_request] jobs: darglint: @@ -9,7 +9,7 @@ jobs: max-parallel: 1 matrix: os: [ubuntu-latest] - version: [3.8] + version: [3.9] steps: - uses: actions/checkout@v2 - name: set up python ${{ matrix.version }} @@ -27,16 +27,26 @@ jobs: build_posix: runs-on: ${{ matrix.os }} strategy: - max-parallel: 6 + max-parallel: 9 matrix: os: [ubuntu-latest, macos-latest] - version: [3.6, 3.7, 3.8] + version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: set up python ${{ matrix.version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.version }} + - name: get friendly (for nox) python version + # not super friendly looking, but easy way to get major.minor version so we can easily exec only the specific + # version we are targeting with nox, while still having versions like 3.9.0a4 + run: | + echo "FRIENDLY_PYTHON_VERSION=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")" >> $GITHUB_ENV + - name: install libxml2 and libxslt seems to only be needed for 3.9 image for some reason + if: matrix.os == 'ubuntu-latest' && matrix.version == '3.9' + run: | + sudo apt install libxml2-dev + sudo apt install libxslt-dev - name: setup test env run: | python -m pip install --upgrade pip @@ -46,4 +56,4 @@ jobs: env: # needed to make the terminal a tty (i think? without this system ssh is super broken) TERM: xterm - run: python -m nox -p ${{ matrix.version }} -k "not darglint" + run: python -m nox -p $FRIENDLY_PYTHON_VERSION -k "not darglint" diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7ae00b8..e083476 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: set up python 3.8 + - name: set up python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - name: setup publish env run: | python -m pip install --upgrade pip diff --git a/.github/workflows/weekly.yaml b/.github/workflows/weekly.yaml index e312427..23412b9 100644 --- a/.github/workflows/weekly.yaml +++ b/.github/workflows/weekly.yaml @@ -14,7 +14,7 @@ jobs: max-parallel: 1 matrix: os: [ubuntu-latest] - version: [3.8] + version: [3.9] steps: - uses: actions/checkout@v2 - name: set up python ${{ matrix.version }} @@ -29,26 +29,5 @@ jobs: - name: run nox darglint run: python -m nox -s darglint - build_posix: - runs-on: ${{ matrix.os }} - strategy: - max-parallel: 6 - matrix: os: [ubuntu-latest, macos-latest] - version: [3.6, 3.7, 3.8] - steps: - - uses: actions/checkout@v2 - - name: set up python ${{ matrix.version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.version }} - - name: setup test env - run: | - python -m pip install --upgrade pip - python -m pip install setuptools - python -m pip install nox - - name: run nox - env: - # needed to make the terminal a tty (i think? without this system ssh is super broken) - TERM: xterm - run: python -m nox -p ${{ matrix.version }} -k "not darglint" + diff --git a/CHANGELOG.md b/CHANGELOG.md index c2de991..a2c9869 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,20 @@ CHANGELOG ======= -# 2020.XX.XX +# 2020.10.10 - Minor internal updates to appease updated pylint/isort +- Add 3.9 to actions, update pins, try to behave like an adult :D +- Set preferred auth options at each authentication method to only try that explicit auth method +- Remove keepalive stuff for now (in line w/ scrapli core) +- Remove transport session locks + # 2020.07.04 - Disable ssh agent for now -- this will probably get supported/added in the future, but can cause hard to troubleshoot delays for now! - Made transport timeout actually be used :) + # 2020.06.06 - First "real" release of scrapli_asyncssh -- still very early, but this has been working great in testing! Give it a shot! diff --git a/docs/scrapli_asyncssh/index.html b/docs/scrapli_asyncssh/index.html index 2e230ee..3a7e480 100644 --- a/docs/scrapli_asyncssh/index.html +++ b/docs/scrapli_asyncssh/index.html @@ -3,15 +3,17 @@
- +scrapli_asyncssh
"""scrapli asyncssh transport plugin"""
-__version__ = "2020.06.06.post2"
+__version__ = "2020.10.10"