Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.6 and 3.7 #147

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
42 changes: 9 additions & 33 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ jobs:
# Xcookie generates an explicit list of environments that will be used
# for testing instead of using the more concise matrix notation.
include:
- python-version: '3.6'
- python-version: '3.8'
install-extras: tests-strict,runtime-strict
os: ubuntu-20.04
arch: auto
- python-version: '3.6'
- python-version: '3.8'
install-extras: tests-strict,runtime-strict
os: macOS-latest
arch: auto
- python-version: '3.6'
- python-version: '3.8'
install-extras: tests-strict,runtime-strict
os: windows-latest
arch: auto
Expand All @@ -184,14 +184,6 @@ jobs:
install-extras: tests
os: windows-latest
arch: auto
- python-version: '3.6'
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: '3.7'
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: '3.8'
install-extras: tests,optional
os: windows-latest
Expand All @@ -208,15 +200,7 @@ jobs:
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: pypy-3.7
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: '3.6'
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: '3.7'
- python-version: pypy-3.10
install-extras: tests,optional
os: windows-latest
arch: auto
Expand All @@ -236,15 +220,7 @@ jobs:
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: pypy-3.7
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: '3.6'
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: '3.7'
- python-version: pypy-3.10
install-extras: tests,optional
os: windows-latest
arch: auto
Expand All @@ -264,19 +240,19 @@ jobs:
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: pypy-3.7
- python-version: pypy-3.10
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: pypy-3.7
- python-version: pypy-3.10
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: pypy-3.7
- python-version: pypy-3.10
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: pypy-3.7
- python-version: pypy-3.10
install-extras: tests,optional
os: windows-latest
arch: auto
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@

# Required
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
sphinx:
configuration: docs/source/conf.py
formats: all
python:
version: 3.7
install:
- requirements: requirements/docs.txt
- method: pip
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ We are currently working on porting this changelog to the specifications in
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## Version 1.1.2 - Unreleased
## Version 1.2.0 - Unreleased

### Removed
* Dropped 3.6 and 3.7 support. Now supporting 3.8+. Use xdoctest<=1.1.1 for 3.6
or 3.7 support.

### Changed
* Removed dependency on six and got rid of old Python 2 logic
Expand Down
22 changes: 17 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,28 @@ environment:
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.

- PYTHON: "C:/Python37-x64"
- PYTHON: "C:/Python38-x64"
ARCH_BITS: "64"

- PYTHON: "C:/Python36-x64"
- PYTHON: "C:/Python39-x64"
ARCH_BITS: "64"

- PYTHON: "C:\\Python36"

- PYTHON: "C:/Python310-x64"
ARCH_BITS: "64"

- PYTHON: "C:/Python311-x64"
ARCH_BITS: "64"

- PYTHON: "C:\\Python38"
ARCH_BITS: "32"

- PYTHON: "C:\\Python39"
ARCH_BITS: "32"

- PYTHON: "C:\\Python310"
ARCH_BITS: "32"

- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python311"
ARCH_BITS: "32"

install:
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
]
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def gen_packages_items():
setupkw["long_description_content_type"] = "text/x-rst"
setupkw["license"] = "Apache 2"
setupkw["packages"] = find_packages("./src")
setupkw["python_requires"] = ">=3.6"
setupkw["python_requires"] = ">=3.8"
setupkw["classifiers"] = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -243,8 +243,6 @@ def gen_packages_items():
"Framework :: Pytest",
"License :: OSI Approved :: Apache Software License",
"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",
Expand Down