diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e99d769..168ed583 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,10 +7,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Checkout code uses: actions/checkout@v2 - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 51c02f20..fedc0ca0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.8", "3.12"] + python-version: ["3.9", "3.10", "3.11", "pypy3.9", "3.12"] flask: ["<3.0.0", ">=3.0.0"] steps: - name: Set up Python ${{ matrix.python-version }} @@ -41,10 +41,10 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'pull_request' steps: - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.9" - name: Checkout ${{ github.base_ref }} uses: actions/checkout@v3 with: diff --git a/README.rst b/README.rst index f9421460..39bbac5f 100644 --- a/README.rst +++ b/README.rst @@ -38,7 +38,7 @@ and expose its documentation properly using `Swagger`_. Compatibility ============= -Flask-RESTX requires Python 3.8+. +Flask-RESTX requires Python 3.9+. On Flask Compatibility ====================== diff --git a/doc/index.rst b/doc/index.rst index f0316aa4..cacdb53b 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -33,7 +33,7 @@ development and to support our users. Compatibility ============= -Flask-RESTX requires Python 3.8+. +Flask-RESTX requires Python 3.9+. Installation diff --git a/doc/installation.rst b/doc/installation.rst index 62d0ae42..c4c34604 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -20,5 +20,5 @@ The development version can be downloaded from pip install -e .[dev,test] -Flask-RESTX requires Python version 3.8+. +Flask-RESTX requires Python version 3.9+. It's also working with PyPy and PyPy3. diff --git a/setup.py b/setup.py index 11c17070..eed17d83 100644 --- a/setup.py +++ b/setup.py @@ -102,7 +102,6 @@ def pip(filename): "Topic :: System :: Software Distribution", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -111,5 +110,5 @@ def pip(filename): "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: BSD License", ], - python_requires=">=3.8", + python_requires=">=3.9", ) diff --git a/tests/conftest.py b/tests/conftest.py index 66b7eaec..0e340c54 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,7 +44,7 @@ def get_specs(self, prefix="", status=200, **kwargs): @pytest.fixture def app(): - app = Flask(__name__) + app = Flask(__name__, subdomain_matching=True) app.test_client_class = TestClient yield app diff --git a/tox.ini b/tox.ini index ac1e6400..3ac33e79 100644 --- a/tox.ini +++ b/tox.ini @@ -5,9 +5,9 @@ [tox] envlist = - py{38, 39, 310, 311}-flask2, + py{39, 310, 311}-flask2, py{311, 312}-flask3 - pypy3.8 + pypy3.9 doc [testenv]