diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e96a793..079730d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,12 +7,13 @@ jobs: strategy: fail-fast: false matrix: - # Tested versions based on dates in https://devguide.python.org/versions/#versions - python-version: ['3.8', '3.9', '3.10', '3.11'] + # Defined in an org level variable, based on dates in + # https://devguide.python.org/versions/#versions + python-version: ${{fromJson(vars.PYTHON_VERSIONS_ACTIVE)}} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} architecture: x64 @@ -37,11 +38,11 @@ jobs: setup-py: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: ${{ vars.PYTHON_VERSION_CURRENT }} architecture: x64 - name: CI setup.py run: | diff --git a/.github/workflows/modules.yml b/.github/workflows/modules.yml index e084a7b..940abc1 100644 --- a/.github/workflows/modules.yml +++ b/.github/workflows/modules.yml @@ -42,15 +42,11 @@ jobs: # some point in the future and either re-enable or delete it. #- sukiyaki/octodns-netbox steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: - # This should generally be the latest stable release of python, but - # dyn and ovh don't currently support changes made in 3.10 so we'll - # leave it 3.9 for now. Once 3.11 lands though we'll bump to it and - # if they haven't updated they'll be removed from the matrix - python-version: '3.9' + python-version: ${{ vars.PYTHON_VERSION_CURRENT }} architecture: x64 - name: Test Module run: | diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0bea4de..d595205 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,7 +6,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v4 + - uses: actions/stale@v8 with: stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.' days-before-stale: 90 diff --git a/requirements-dev.txt b/requirements-dev.txt index 40f2926..c0c68ce 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,16 +1,14 @@ # DO NOT EDIT THIS FILE DIRECTLY - use ./script/update-requirements to update Pygments==2.16.1 -black==23.7.0 -bleach==6.0.0 -build==0.10.0 +black==23.9.1 +build==1.0.3 certifi==2023.7.22 -cffi==1.15.1 -charset-normalizer==3.2.0 -click==8.1.6 +cffi==1.16.0 +charset-normalizer==3.3.0 +click==8.1.7 cmarkgfm==2022.10.27 -coverage==7.3.0 +coverage==7.3.2 docutils==0.20.1 -exceptiongroup==1.1.3 importlib-metadata==6.8.0 iniconfig==2.0.0 isort==5.12.0 @@ -20,11 +18,12 @@ markdown-it-py==3.0.0 mdurl==0.1.2 more-itertools==10.1.0 mypy-extensions==1.0.0 -packaging==23.1 +nh3==0.2.14 +packaging==23.2 pathspec==0.11.2 pkginfo==1.9.6 -platformdirs==3.10.0 -pluggy==1.2.0 +platformdirs==3.11.0 +pluggy==1.3.0 pprintpp==0.4.0 pycountry-convert==0.7.2 pycountry==22.3.5 @@ -34,15 +33,13 @@ pyproject_hooks==1.0.0 pytest-cov==4.1.0 pytest-mock==3.11.1 pytest-network==0.0.1 -pytest==7.4.0 -readme-renderer==40.0 +pytest==7.4.2 +readme-renderer==42.0 repoze.lru==0.7 requests-toolbelt==1.0.0 requests==2.31.0 rfc3986==2.0.0 -rich==13.5.2 -tomli==2.0.1 +rich==13.6.0 twine==4.0.2 -urllib3==2.0.4 -webencodings==0.5.1 -zipp==3.16.2 +urllib3==2.0.6 +zipp==3.17.0