Skip to content

Commit 3938b6c

Browse files
committed
v1.0.0 — Add PyPy information
- Support Python 3.10 - Drop support for Python 3.6 - Support for fetching information on PyPy versions has been added. With it come the following changes: - The schema used by the database (and thus the URL for the default database) has been modified - `PyVersionInfo` has been renamed to `CPythonVersionInfo` - A new `PyPyVersionInfo` class has been added - A new `VersionDatabase` class has been added, containing a `CPythonVersionInfo` instance and a `PyPyVersionInfo` instance - `get_pyversion_info()` is now `VersionDatabase.fetch()` - The command-line interface now takes a `--pypy` option for showing details about PyPy versions - The `unreleased` argument to `major_versions()`, `minor_versions()`, `micro_versions()`, and `subversions()` has been removed; the methods now return all known versions, released & unreleased - `release_date()` now returns `None` for any known version whose release date is unknown, whether it's been released yet or not. Use `is_released()` to determine whether such a version has been released. - `eol_date()` now returns `None` for any known version whose EOL date is unknown, whether it's EOL yet or not. Use `is_eol()` to determine whether such a version has reached end-of-life. - Moved documentation from README file to a Read the Docs site
1 parent 17c0c36 commit 3938b6c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
v1.0.0 (in development)
2-
-----------------------
1+
v1.0.0 (2021-11-04)
2+
-------------------
33
- Support Python 3.10
44
- Drop support for Python 3.6
55
- Support for fetching information on PyPy versions has been added. With it

docs/changelog.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Changelog
44
=========
55

6-
v1.0.0 (in development)
7-
-----------------------
6+
v1.0.0 (2021-11-04)
7+
-------------------
88
- Support Python 3.10
99
- Drop support for Python 3.6
1010
- Support for fetching information on PyPy versions has been added. With it

src/pyversion_info/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from __future__ import annotations
2121

22-
__version__ = "1.0.0.dev1"
22+
__version__ = "1.0.0"
2323
__author__ = "John Thorvald Wodder II"
2424
__author_email__ = "pyversion-info@varonathe.org"
2525
__license__ = "MIT"

0 commit comments

Comments
 (0)