From d650f827b38936b8594f45f291eeadc07f86a435 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 7 Sep 2020 16:01:54 -0400 Subject: [PATCH] Drop EOL Python 3.4 support --- .github/workflows/build-linux-wheels.yml | 2 +- .github/workflows/build-macos-wheels.yml | 5 +---- .travis.yml | 2 +- CHANGELOG | 1 + README.rst | 2 +- appveyor.yml | 8 -------- docs/changelog.rst | 1 + docs/index.rst | 2 +- setup.py | 3 +-- 9 files changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-linux-wheels.yml b/.github/workflows/build-linux-wheels.yml index 2056c8c..2148c6e 100644 --- a/.github/workflows/build-linux-wheels.yml +++ b/.github/workflows/build-linux-wheels.yml @@ -10,7 +10,7 @@ jobs: - name: Build manylinux1 Python wheels uses: RalfG/python-wheels-manylinux-build@0c24cb31441c7a1e6ea90d6a6408d406b2fee279 with: - python-versions: 'cp34-cp34m cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38' + python-versions: 'cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38' - name: Move to dist/ run: | mkdir -p dist diff --git a/.github/workflows/build-macos-wheels.yml b/.github/workflows/build-macos-wheels.yml index f2ab16e..83cb9f1 100644 --- a/.github/workflows/build-macos-wheels.yml +++ b/.github/workflows/build-macos-wheels.yml @@ -1,16 +1,13 @@ name: Build macOS wheels -on: [push] +on: push jobs: build: - runs-on: macos-latest strategy: matrix: - # macOS apparently doesn't support 3.4 python-version: [3.5, 3.6, 3.7, 3.8] - steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.travis.yml b/.travis.yml index bee8152..23866e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ dist: xenial language: python python: - - 3.4 - 3.5 - 3.6 - 3.7 - 3.8 + - 3.9-dev install: - pip install coveralls - python setup.py develop diff --git a/CHANGELOG b/CHANGELOG index 53b3548..3f9ca3a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ v0.6 (unreleased): - Added support for Python 3.8. +- Dropped support for end-of-life Python 3.4. - Updated Wikicode.matches() to recognize underscores as being equivalent to spaces. (#216) - Fixed a rare parsing bug involving deeply nested style tags. (#224) diff --git a/README.rst b/README.rst index 98af7a4..bbac7e6 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ mwparserfromhell **mwparserfromhell** (the *MediaWiki Parser from Hell*) is a Python package that provides an easy-to-use and outrageously powerful parser for MediaWiki_ -wikicode. It supports Python 3.4+. +wikicode. It supports Python 3.5+. Developed by Earwig_ with contributions from `Σ`_, Legoktm_, and others. Full documentation is available on ReadTheDocs_. Development occurs on GitHub_. diff --git a/appveyor.yml b/appveyor.yml index 2a4de47..ccbaf59 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,14 +22,6 @@ environment: secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+ matrix: - - PYTHON: "C:\\Python34" - PYTHON_VERSION: "3.4" - PYTHON_ARCH: "32" - - - PYTHON: "C:\\Python34-x64" - PYTHON_VERSION: "3.4" - PYTHON_ARCH: "64" - - PYTHON: "C:\\Python35" PYTHON_VERSION: "3.5" PYTHON_ARCH: "32" diff --git a/docs/changelog.rst b/docs/changelog.rst index 1ca7411..cf3ec8d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -8,6 +8,7 @@ Unreleased (`changes `__): - Added support for Python 3.8. +- Dropped support for end-of-life Python 3.4. - Updated Wikicode.matches() to recognize underscores as being equivalent to spaces. (`#216 `_) - Fixed a rare parsing bug involving deeply nested style tags. diff --git a/docs/index.rst b/docs/index.rst index 1ca69f6..6d9fcf9 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,7 +3,7 @@ MWParserFromHell v\ |version| Documentation :mod:`mwparserfromhell` (the *MediaWiki Parser from Hell*) is a Python package that provides an easy-to-use and outrageously powerful parser for MediaWiki_ -wikicode. It supports Python 3.4+. +wikicode. It supports Python 3.5+. Developed by Earwig_ with contributions from `Σ`_, Legoktm_, and others. Development occurs on GitHub_. diff --git a/setup.py b/setup.py index f339665..d404ead 100644 --- a/setup.py +++ b/setup.py @@ -77,7 +77,7 @@ setup( ext_modules = [tokenizer] if use_extension else [], test_suite = "tests", version = __version__, - python_requires = ">= 3.4", + python_requires = ">= 3.5", author = "Ben Kurtovic", author_email = "ben.kurtovic@gmail.com", url = "https://github.com/earwig/mwparserfromhell", @@ -93,7 +93,6 @@ setup( "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7",