Skip to content

Commit

Permalink
Require pytest >= 7.2.0
Browse files Browse the repository at this point in the history
pytest 7.2.0 fixes a ReDoS vulnerability in one of their dependencies.
  • Loading branch information
svenklemm committed Jan 3, 2023
1 parent c0347de commit 9f59ad9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
steps:

- name: Setup python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install tox
run: python -m pip install tox
Expand All @@ -25,7 +25,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: python -m pip install -r requirements-dev.txt
- run: black --check --diff .

Expand All @@ -35,7 +35,7 @@ jobs:
steps:

- name: Setup python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/timescaledb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:

- name: Setup python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ install_requires =
pglast==4.1

tests_require =
pytest
pytest>=7.2.0
pytest-snapshot

[options.packages.find]
Expand Down

0 comments on commit 9f59ad9

Please sign in to comment.