Compare commits

...

3 Commits

Author SHA1 Message Date
dependabot[bot] d52b064935
Bump actions/cache from 3.0.8 to 3.0.11
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.8 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.8...v3.0.11)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-10 14:21:26 +00:00
Abhinav Singh 8e25cd7070
Fix broken build (#1301)
* Pin `tox==3.25.1`

* Ignore B027

* Use `ubuntu-20.04` not latest due to https://github.com/actions/setup-python/issues/544\#issuecomment-1320295576

* More `-20.04`

* 3.6.15

* ubuntu-20.04

* Remove hardcoded `-latest`
2022-12-10 19:50:50 +05:30
Abhinav Singh f3827fdc58 Trigger build 2022-12-10 18:48:24 +05:30
2 changed files with 32 additions and 30 deletions

View File

@ -31,6 +31,8 @@ extend-ignore =
I # flake8-isort is drunk + we have isort integrated into pre-commit
B009 # FIXME: `getattr()` called with a constant arg
B024 # FIXME: is an abstract base class, but it has no abstract methods
B027 # Is an empty method in an abstract base class, but has no abstract decorator.
# Consider adding @abstractmethod.
C812 # FIXME: missing trailing comma
C819 # FIXME: inline trailing comma
D101

View File

@ -46,7 +46,7 @@ concurrency:
jobs:
pre-setup:
name: ⚙️ Pre-set global build settings
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
defaults:
run:
shell: python
@ -135,7 +135,7 @@ jobs:
- name: Set up pip cache
if: >-
steps.request-check.outputs.release-requested != 'true'
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
path: ${{ steps.pip-cache-dir.outputs.dir }}
key: >-
@ -216,7 +216,7 @@ jobs:
needs:
- pre-setup # transitive, for accessing settings
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
PY_COLORS: 1
@ -244,7 +244,7 @@ jobs:
run: >-
echo "::set-output name=dir::$(pip cache dir)"
- name: Set up pip cache
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: >-
@ -263,7 +263,7 @@ jobs:
python -m
pip install
--user
tox
tox==3.25.1
- name: Grab the source from Git
uses: actions/checkout@v3
@ -331,7 +331,7 @@ jobs:
- build
- pre-setup # transitive, for accessing settings
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
toxenv:
@ -369,7 +369,7 @@ jobs:
run: >-
echo "::set-output name=dir::$(pip cache dir)"
- name: Set up pip cache
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: >-
@ -388,7 +388,7 @@ jobs:
python -m
pip install
--user
tox
tox==3.25.1
- name: Grab the source from Git
uses: actions/checkout@v3
@ -433,15 +433,15 @@ jobs:
- build
- pre-setup # transitive, for accessing settings
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
# max-parallel: 4
matrix:
os:
- macOS
- Ubuntu
- Windows
- macOS-latest
- Ubuntu-20.04
- Windows-latest
python:
# NOTE: The latest and the lowest supported Pythons are prioritized
# NOTE: to improve the responsiveness. It's nice to see the most
@ -486,7 +486,7 @@ jobs:
run: >-
echo "::set-output name=dir::$(pip cache dir)"
- name: Set up pip cache
uses: actions/cache@v3.0.8
uses: actions/cache@v3.0.11
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: >-
@ -505,7 +505,7 @@ jobs:
python -m
pip install
--user
tox
tox==3.25.1
- name: Grab the source from Git
uses: actions/checkout@v3
@ -543,7 +543,7 @@ jobs:
verbose: true
test-container:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
packages: write
if: success()
@ -603,7 +603,7 @@ jobs:
./tests/integration/test_integration.sh 8899
analyze:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: 🛡️ Analyze
# schedule:
# - cron: '0 14 * * 1'
@ -659,11 +659,11 @@ jobs:
uses: github/codeql-action/analyze@v2
# brew:
# runs-on: ${{ matrix.os }}-latest
# runs-on: ${{ matrix.os }}
# name: 🍺 🐍${{ matrix.python }} @ ${{ matrix.os }}
# strategy:
# matrix:
# os: [macOS]
# os: [macOS-latest]
# python: ['3.10']
# # max-parallel: 1
# fail-fast: false
@ -681,11 +681,11 @@ jobs:
# proxy -h
dashboard:
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
name: 📊 Node ${{ matrix.node }} @ ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu, windows, macOS]
os: [ubuntu-20.04, windows-latest, macOS-latest]
node: ['10.x', '11.x', '12.x']
# max-parallel: 4
fail-fast: false
@ -712,11 +712,11 @@ jobs:
cd ..
developer:
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
name: 🧑‍💻 👩‍💻 👨‍💻 Developer setup ${{ matrix.node }} @ ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu, macOS]
os: [ubuntu-20.04, macOS-latest]
python: ['3.10']
fail-fast: false
steps:
@ -740,7 +740,7 @@ jobs:
python3 -m proxy --version
ghcr-latest:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
packages: write
if: success()
@ -822,7 +822,7 @@ jobs:
-t $LATEST_TAG .
ghcr-openssl:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
packages: write
if: success()
@ -902,7 +902,7 @@ jobs:
-t $LATEST_TAG .
docker-latest:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
packages: write
if: success()
@ -975,7 +975,7 @@ jobs:
- ghcr-openssl
- docker-latest
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Decide whether the needed jobs succeeded or failed
@ -990,7 +990,7 @@ jobs:
- pre-setup # transitive, for accessing settings
if: >-
fromJSON(needs.pre-setup.outputs.release-requested)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
environment:
name: release
@ -1019,7 +1019,7 @@ jobs:
if: >-
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
|| fromJSON(needs.pre-setup.outputs.release-requested)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
environment:
name: release-testpypi
@ -1048,7 +1048,7 @@ jobs:
needs:
- publish-pypi
- pre-setup # transitive, for accessing settings
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Fetch the src snapshot
@ -1081,7 +1081,7 @@ jobs:
needs:
- post-release-repo-update
- pre-setup # transitive, for accessing settings
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: write