Skip to content

Commit 7c9e5cf

Browse files
committed
v0.10.0 — PEP 691 and downloading packages
- Support Python 3.10 - Support PEP 691 - Send "Accept" headers in requests (except for `stream_project_names()`) listing both the new JSON format and the old HTML format - `parse_repo_project_response()` and `parse_repo_index_response()` now support both the JSON and HTML formats - Add `parse_repo_index_json()` and `parse_repo_project_json()` functions - Gave `DistributionPackage` a `from_pep691_details()` classmethod - `DistributionPackage.has_metadata` will now be `None` if not specified by a JSON response - `DistributionPackage.metadata_url` is now always non-`None` - Gave `DistributionPackage` a `digests` attribute - The `get_digests()` method of `DistributionPackage` is now deprecated; use `digests` instead - Digest fragments are now removed from `DistributionPackage.url` when parsing HTML responses - Warn on encountering a repository version with a greater minor version than expected - Gave `PyPISimple` a `download_package()` method
1 parent 6928b20 commit 7c9e5cf

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
v0.10.0 (in development)
2-
------------------------
1+
v0.10.0 (2022-06-30)
2+
--------------------
33
- Support Python 3.10
44
- Support PEP 691
55
- Send "Accept" headers in requests (except for `stream_project_names()`)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2018-2021 John Thorvald Wodder II
3+
Copyright (c) 2018-2022 John Thorvald Wodder II
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

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-
v0.10.0 (in development)
7-
------------------------
6+
v0.10.0 (2022-06-30)
7+
--------------------
88
- Support Python 3.10
99
- Support :pep:`691`
1010

docs/conf.py

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

33
project = "pypi-simple"
44
author = "John T. Wodder II"
5-
copyright = "2018-2021 John T. Wodder II"
5+
copyright = "2018-2022 John T. Wodder II"
66

77
extensions = [
88
"sphinx.ext.autodoc",

src/pypi_simple/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
for more information.
1515
"""
1616

17-
__version__ = "0.10.0.dev1"
17+
__version__ = "0.10.0"
1818
__author__ = "John Thorvald Wodder II"
1919
__author_email__ = "[email protected]"
2020
__license__ = "MIT"

0 commit comments

Comments
 (0)