Skip to content

Commit

Permalink
Dropped support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Feb 5, 2024
1 parent cfe8280 commit dcce440
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
from importlib.metadata import version
import importlib.metadata

from packaging.version import parse

Expand All @@ -16,14 +16,15 @@
author = "Alex Grönholm"
copyright = "2015, " + author

v = parse(version(project))
v = parse(importlib.metadata.version("asphalt"))
version = v.base_version
release = v.public

language = "en"

exclude_patterns = ["_build"]
pygments_style = "sphinx"
autodoc_default_options = {"members": True, "show-inheritance": True}
highlight_language = "python3"
todo_include_todos = False

Expand Down
4 changes: 4 additions & 0 deletions docs/versionhistory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Version history

This library adheres to `Semantic Versioning 2.0 <http://semver.org/>`_.

**UNRELEASED**

- Dropped support for Python 3.7

**6.0.0** (2022-06-04)

- **BACKWARD INCOMPATIBLE** Bumped minimum Asphalt version to 4.8
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.7"
dependencies = [
Expand All @@ -38,7 +39,8 @@ cbor = ["cbor2 ~= 5.0"]
yaml = ["ruamel.yaml >= 0.15"]
test = [
"asphalt-serialization[msgpack,cbor,yaml]",
"pytest",
"coverage >= 7",
"pytest >= 7",
"pytest-cov",
"pytest-asyncio",
]
Expand Down Expand Up @@ -84,10 +86,8 @@ asyncio_mode = "strict"
testpaths = ["tests"]

[tool.mypy]
python_version = "3.7"
python_version = "3.8"
strict = true
show_error_codes = true
ignore_missing_imports = true

[tool.coverage.run]
source = ["asphalt.serialization"]
Expand All @@ -100,7 +100,7 @@ show_missing = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37, py38, py39, py310, py311, pypy3
envlist = py38, py39, py310, py311, py312, pypy3
skip_missing_interpreters = true
minversion = 4.4.3
Expand Down

0 comments on commit dcce440

Please sign in to comment.