Skip to content

Commit

Permalink
Merge pull request #222 from willkg/220-py37
Browse files Browse the repository at this point in the history
Update for 3.3.0 development; drop Python 3.7 (#220)
  • Loading branch information
willkg committed Sep 18, 2023
2 parents 4b28648 + 6bdf946 commit deff88f
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

name: Python ${{ matrix.python-version}}
steps:
Expand Down
12 changes: 12 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
History
=======

3.3.0 (in development)
----------------------

Backwards incompatible changes:

* Dropped support for Python 3.7. (#220)

Fixes and features:

None


3.2.0 (March 21st, 2023)
------------------------

Expand Down
18 changes: 12 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ docstring-quotes = "double"

[tool.black]
line-length = 88
target-version = ["py37"]
target-version = ["py38"]

[tool.mypy]
python_version = "3.8"
Expand Down Expand Up @@ -45,11 +45,17 @@ filterwarnings = [
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37,py38,py39,py310,py311,py37-doctest,py37-lint,py38-typecheck
envlist =
py38
py39
py310
py311
py38-doctest
py38-lint
py38-typecheck
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
Expand All @@ -59,12 +65,12 @@ python =
deps = -rrequirements-dev.txt
commands = pytest {posargs} tests/
[testenv:py37-doctest]
[testenv:py38-doctest]
deps = -rrequirements-dev.txt
commands = pytest --doctest-modules src/
[testenv:py37-lint]
basepython = python3.7
[testenv:py38-lint]
basepython = python3.8
changedir = {toxinidir}
commands =
black --check src setup.py tests docs examples
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def get_file(fn):
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
python_requires=">=3.8",
license="MPLv2",
zip_safe=False,
keywords="conf config configuration component",
Expand All @@ -51,7 +52,6 @@ def get_file(fn):
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
4 changes: 2 additions & 2 deletions src/everett/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
__email__ = "willkg@mozilla.com"

# yyyymmdd
__releasedate__ = "20230321"
__releasedate__ = ""
# x.y.z or x.y.z.dev0
__version__ = "3.2.0"
__version__ = "3.3.0.dev0"


__all__ = [
Expand Down

0 comments on commit deff88f

Please sign in to comment.