Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for Python 3.9 and 3.10 and 3.11#542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ambv merged 4 commits intohtml5lib:masterfromhugovk:add-3.9-3.10
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion.appveyor.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
# To activate, change the Appveyor settings to use `.appveyor.yml`.
image: Visual Studio 2019
environment:
global:
PATH: "C:\\Python27\\Scripts\\;%PATH%"
Expand All@@ -13,6 +13,10 @@ environment:
- TOXENV: py37-optional
- TOXENV: py38-base
- TOXENV: py38-optional
- TOXENV: py39-base
- TOXENV: py39-optional
- TOXENV: py310-base
- TOXENV: py310-optional

install:
- git submodule update --init --recursive
Expand Down
9 changes: 6 additions & 3 deletions.github/workflows/python-tox.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,15 +6,18 @@ jobs:
if: github.event.push || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: [2.7,3.5,3.6,3.7,3.8,pypy-2.7, pypy3]
python: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-2.7", "pypy-3.8"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: "requirements*.txt"
- run: pip install tox
- run: tox -e py
- if: ${{ always() }}
Expand Down
3 changes: 2 additions & 1 deletion.travis.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,12 +2,13 @@ language: python
python:
- "pypy3"
- "pypy"
- "3.10"
- "3.9"
- "3.8"
- "3.7"
- "3.6"
- "3.5"
- "2.7"
- "3.9-dev"

cache: pip

Expand Down
2 changes: 1 addition & 1 deletionCHANGES.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,7 +95,7 @@ Released on July 14, 2016
tested, doesn't entirely work, and as far as I can tell is
completely unused by anyone.**

* Move testsuite to ``py.test``.
* Move testsuite to ``pytest``.

* **Fix #124: move to webencodings for decoding the input byte stream;
this makes html5lib compliant with the Encoding Standard, and
Expand Down
2 changes: 1 addition & 1 deletionREADME.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -128,7 +128,7 @@ Tests
-----

Unit tests require the ``pytest`` and ``mock`` libraries and can be
run using the ``py.test`` command in the root directory.
run using the ``pytest`` command in the root directory.

Test data are contained in a separate `html5lib-tests
<https://github.com/html5lib/html5lib-tests>`_ repository and included
Expand Down
3 changes: 3 additions & 0 deletionssetup.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -70,6 +70,9 @@ def default_environment():
'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',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
Expand Down
4 changes: 2 additions & 2 deletionstox.ini
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27,35,36,37,38,py,py3}-{base,six19,optional}
envlist = py{27,35,36,37,38,39,310,311,py,py3}-{base,six19,optional}

[testenv]
deps =
Expand All@@ -12,7 +12,7 @@ passenv =
COVERAGE_RUN_OPTIONS
commands =
six19: pip install six==1.9
{env:PYTEST_COMMAND:{envbindir}/py.test} {posargs}
{env:PYTEST_COMMAND:{envbindir}/pytest} {posargs}
flake8 {toxinidir}

[testenv:doc]
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp