From bfc4d0a2bcf2dd1dfc4a98c0490cebe3f0d01f13 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Tue, 7 May 2024 07:09:11 -0600 Subject: [PATCH] Update build environment --- .github/workflows/build.yml | 18 ++++++++---------- .github/workflows/deploy.yml | 4 ++-- pyproject.toml | 4 ++-- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83dc4da..a72f883 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,11 @@ jobs: tox-env: py311 - python-version: '3.12' tox-env: py312 + # - python-version: '3.13' + # tox-env: py313 # exclude: # - platform: windows-latest - # python-version: '3.12-dev' + # python-version: '3.13' env: TOXENV: ${{ matrix.tox-env }} @@ -39,18 +41,13 @@ jobs: runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} if: "!endsWith(matrix.python-version, '-dev')" uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} allow-prereleases: true - - name: Set up development Python ${{ matrix.python-version }} - if: endsWith(matrix.python-version, '-dev') - uses: deadsnakes/action@v2.1.1 - with: - python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip setuptools tox coverage codecov @@ -59,11 +56,12 @@ jobs: python -m tox - name: Upload Results if: success() - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests name: ${{ matrix.platform }}-${{ matrix.tox-env }} + token: ${{ secrets.CODECOV_TOKEN }} # required fail_ci_if_error: false lint: @@ -78,7 +76,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -102,7 +100,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b7233cc..44c1392 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.${{ matrix.python-3-version }} diff --git a/pyproject.toml b/pyproject.toml index 8c4e873..5989214 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,7 +94,7 @@ extend-exclude = [ "backrefs/uniprops/unidata/*" ] -select = [ +lint.select = [ "A", # flake8-builtins "B", # flake8-bugbear "D", # pydocstyle @@ -110,7 +110,7 @@ select = [ "PERF" # Perflint ] -ignore = [ +lint.ignore = [ "B034", "E741", "D202",