Commit 3938b6c
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 site1 parent 17c0c36 commit 3938b6c
3 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments