Kaynağa Gözat

Drop Python 3.6, add 3.11

tags/v0.6.5
Ben Kurtovic 8 ay önce
ebeveyn
işleme
8c8d4463ac
7 değiştirilmiş dosya ile 20 ekleme ve 26 silme
  1. +0
    -1
      .github/workflows/build-wheels.yml
  2. +9
    -11
      .github/workflows/run-tests.yml
  3. +1
    -1
      .pre-commit-config.yaml
  4. +3
    -1
      CHANGELOG
  5. +0
    -8
      appveyor.yml
  6. +4
    -1
      docs/changelog.rst
  7. +3
    -3
      setup.py

+ 0
- 1
.github/workflows/build-wheels.yml Dosyayı Görüntüle

@@ -1,5 +1,4 @@
name: Build wheels name: Build wheels

on: push on: push


jobs: jobs:


.github/workflows/tests.yml → .github/workflows/run-tests.yml Dosyayı Görüntüle

@@ -1,20 +1,18 @@
name: Tests
name: Run tests
on: [push, pull_request] on: [push, pull_request]


jobs: jobs:
test: test:
runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
@@ -35,4 +33,4 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
coveralls
coveralls --service=github

+ 1
- 1
.pre-commit-config.yaml Dosyayı Görüntüle

@@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.8b0
rev: 23.7.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/doublify/pre-commit-clang-format - repo: https://github.com/doublify/pre-commit-clang-format


+ 3
- 1
CHANGELOG Dosyayı Görüntüle

@@ -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 parsing of leading zeros in named HTML entities. (#288)
- Fixed memory leak parsing tags. (#303) - Fixed memory leak parsing tags. (#303)




+ 0
- 8
appveyor.yml Dosyayı Görüntüle

@@ -21,14 +21,6 @@ environment:
secure: w9ql7j0y9fatBSCgsUn1MDFsDvc0WXY88K8hNBHZzq6uBPxWMd7ZblMZSJv4Nywr6ViudQCn4qM/Emm7R8UgKGnHeSX+B8V41ywKgbszEh9wKtuMWI5htsfjaD3Yib/dz/ynGDKEf3nkE6rP2j9bfVLMUARHmvztL+G2rUrjj2GQTqs0ddJ16OudDo2aA/ClsW1Zexc5GPgkun5+JFneUeVV59/bwORGfSjgEtoMyIQ8mdFs/My4sImC+jXFfSHD6s08anIuNX5KO6SSg5mwcxZq+1PweceHivJ87VvCI7w= secure: w9ql7j0y9fatBSCgsUn1MDFsDvc0WXY88K8hNBHZzq6uBPxWMd7ZblMZSJv4Nywr6ViudQCn4qM/Emm7R8UgKGnHeSX+B8V41ywKgbszEh9wKtuMWI5htsfjaD3Yib/dz/ynGDKEf3nkE6rP2j9bfVLMUARHmvztL+G2rUrjj2GQTqs0ddJ16OudDo2aA/ClsW1Zexc5GPgkun5+JFneUeVV59/bwORGfSjgEtoMyIQ8mdFs/My4sImC+jXFfSHD6s08anIuNX5KO6SSg5mwcxZq+1PweceHivJ87VvCI7w=


matrix: 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: "C:\\Python37"
PYTHON_VERSION: "3.7" PYTHON_VERSION: "3.7"
PYTHON_ARCH: "32" PYTHON_ARCH: "32"


+ 4
- 1
docs/changelog.rst Dosyayı Görüntüle

@@ -1,12 +1,14 @@
Changelog Changelog
========= =========


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


Unreleased Unreleased
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.6.4...main>`__): (`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. - Fixed parsing of leading zeros in named HTML entities.
(`#288 <https://github.com/earwig/mwparserfromhell/issues/288>`_) (`#288 <https://github.com/earwig/mwparserfromhell/issues/288>`_)
- Fixed memory leak parsing tags. - Fixed memory leak parsing tags.


+ 3
- 3
setup.py Dosyayı Görüntüle

@@ -1,6 +1,6 @@
#! /usr/bin/env python #! /usr/bin/env python
# #
# Copyright (C) 2012-2021 Ben Kurtovic <ben.kurtovic@gmail.com>
# Copyright (C) 2012-2023 Ben Kurtovic <ben.kurtovic@gmail.com>
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal # of this software and associated documentation files (the "Software"), to deal
@@ -87,7 +87,7 @@ setup(
else [], else [],
tests_require=["pytest"], tests_require=["pytest"],
version=__version__, version=__version__,
python_requires=">= 3.6",
python_requires=">= 3.7",
author="Ben Kurtovic", author="Ben Kurtovic",
author_email="ben.kurtovic@gmail.com", author_email="ben.kurtovic@gmail.com",
url="https://github.com/earwig/mwparserfromhell", url="https://github.com/earwig/mwparserfromhell",
@@ -105,11 +105,11 @@ setup(
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup",
], ],
) )

Yükleniyor…
İptal
Kaydet