Skip to content

Commit f6709d9

Browse files
peter-doggartPeter Doggart
and
Peter Doggart
authored
Fix actions tidy up tox (#507)
* Update test.yml to set version of pypy for github actions. * Try updating action versions. * Fix version numbers. Co-authored-by: Peter Doggart <[email protected]>
1 parent 4c748d0 commit f6709d9

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed

.github/workflows/black.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v3
1010
- uses: psf/black@stable

.github/workflows/test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3"]
17+
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.8"]
1818
steps:
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v1
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Checkout code
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
@@ -38,16 +38,16 @@ jobs:
3838
if: github.event_name == 'pull_request'
3939
steps:
4040
- name: Set up Python 3.8
41-
uses: actions/setup-python@v1
41+
uses: actions/setup-python@v4
4242
with:
4343
python-version: "3.8"
4444
- name: Checkout ${{ github.base_ref }}
45-
uses: actions/checkout@v2
45+
uses: actions/checkout@v3
4646
with:
4747
ref: ${{ github.base_ref}}
4848
path: base
4949
- name: Checkout ${{ github.ref }}
50-
uses: actions/checkout@v2
50+
uses: actions/checkout@v3
5151
with:
5252
ref: ${{ github.ref}}
5353
path: ref

CHANGELOG.rst

+12
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ Releases prior to 0.3.0 were “best effort” filled out, but are missing
2525
some info. If you see your contribution missing info, please open a PR
2626
on the Changelog!
2727

28+
.. _section-1.0.4:
29+
1.0.4
30+
-----
31+
32+
.. _bug_fixes-1.0.4
33+
Bug Fixes
34+
~~~~~~~~~
35+
36+
::
37+
38+
* Fix failing pypy python setup in github actions
39+
2840
.. _section-1.0.2:
2941
1.0.2
3042
-----

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ and expose its documentation properly using `Swagger`_.
3838
Compatibility
3939
=============
4040

41-
Flask-RESTX requires Python 3.5+.
41+
Flask-RESTX requires Python 3.7+.
4242

4343
On Flask Compatibility
4444
======================

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{37, 38, 39, 310}, pypy3, doc
7+
envlist = py{37, 38, 39, 310}, pypy3.8, doc
88

99
[testenv]
1010
commands = {posargs:inv test qa}

0 commit comments

Comments
 (0)