Skip to content

Commit

Permalink
Drop Python 3.6, add 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
earwig committed Sep 4, 2023
1 parent d3b8469 commit 8c8d446
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 27 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build wheels

on: push

jobs:
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/tests.yml → .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: Tests
name: Run tests
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
- "3.10"
with-extension: ["0", "1"]

runs-on: ubuntu-18.04

- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
with-extension: ['0', '1']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -35,4 +33,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls
coveralls --service=github
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 21.8b0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/doublify/pre-commit-clang-format
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
v0.7 (unreleased):
v0.6.5 (unreleased):

- Dropped support for end-of-life Python 3.6.
- Added support for Python 3.11.
- Fixed parsing of leading zeros in named HTML entities. (#288)
- Fixed memory leak parsing tags. (#303)

Expand Down
8 changes: 0 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ environment:
secure: w9ql7j0y9fatBSCgsUn1MDFsDvc0WXY88K8hNBHZzq6uBPxWMd7ZblMZSJv4Nywr6ViudQCn4qM/Emm7R8UgKGnHeSX+B8V41ywKgbszEh9wKtuMWI5htsfjaD3Yib/dz/ynGDKEf3nkE6rP2j9bfVLMUARHmvztL+G2rUrjj2GQTqs0ddJ16OudDo2aA/ClsW1Zexc5GPgkun5+JFneUeVV59/bwORGfSjgEtoMyIQ8mdFs/My4sImC+jXFfSHD6s08anIuNX5KO6SSg5mwcxZq+1PweceHivJ87VvCI7w=

matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "32"
Expand Down
6 changes: 4 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
Changelog
=========

v0.7
----
v0.6.5
------

Unreleased
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.6.4...main>`__):

- Dropped support for end-of-life Python 3.6.
- Added support for Python 3.11.
- Fixed parsing of leading zeros in named HTML entities.
(`#288 <https://github.com/earwig/mwparserfromhell/issues/288>`_)
- Fixed memory leak parsing tags.
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /usr/bin/env python
#
# Copyright (C) 2012-2021 Ben Kurtovic <[email protected]>
# Copyright (C) 2012-2023 Ben Kurtovic <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -87,7 +87,7 @@ def build_ext_patched(self):
else [],
tests_require=["pytest"],
version=__version__,
python_requires=">= 3.6",
python_requires=">= 3.7",
author="Ben Kurtovic",
author_email="[email protected]",
url="https://github.com/earwig/mwparserfromhell",
Expand All @@ -105,11 +105,11 @@ def build_ext_patched(self):
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Text Processing :: Markup",
],
)

0 comments on commit 8c8d446

Please sign in to comment.