Releases: jwodder/pypi-simple
Releases · jwodder/pypi-simple
v1.8.0 — Fix provenance support
- Provenance support belatedly updated to match a change to PEP 740:
DistributionPackage.provenance_sha256is now deprecated and is alwaysNoneDistributionPackage.provenance_urlis now determined correctly and isNonewhen no provenance file is declaredPyPISimple.get_provenance()no longer verifies the provenance's digest, and theverifyargument is now deprecated
v1.7.0 — Support PEP 792
- Support Python 3.13
- Bugfix: Fix parsing of PEP 708
alternate-locationsfields in JSON project pages (Previous versions looked for the field in the wrong location) - Support PEP 792
statusandstatus_reasonattributes added toProjectPageandRepositoryPageProjectStatusenum addedSUPPORTED_REPOSITORY_VERSIONincreased to"1.4"
v1.6.1 — Update `SUPPORTED_REPOSITORY_VERSION`
SUPPORTED_REPOSITORY_VERSIONincreased to"1.3"for compatibility with PEP 740
v1.6.0 — Support PEP 740
- Drop support for Python 3.7
- Support PEP 740
provenance_sha256andprovenance_urlfields added toDistributionPackageget_provenance()method added toPyPISimpleNoProvenanceErrorexception type added
- Add
urlfields to theDigestMismatchError,NoDigestsError, andNoMetadataErrorclasses
v1.5.0 — Custom headers and decoding metadata
- Bugfix: Fix parsing of "true"
data-core-metadataattributes and handling of the attribute's absence (contributed by @thatch)DistributionPackage.has_metadatawill now beNoneif this attribute was absent in the HTML returned by PyPI. Previously, it would beFalseunder this circumstance.
- Added
PyPISimple.get_package_metadata_bytes()(contributed by @thatch) PyPISimple.get_package_metadata()now always decodes responses as UTF-8 (contributed by @thatch)- Request methods now take optional
headersarguments (contributed by @thatch)
v1.4.1 — Fix `get_project_page()`
- Migrated from setuptools to hatch
- Bugfix: When no
acceptargument is passed toPyPISimple.get_project_page(), actually fall back to the value supplied on client instantiation, as documented (contributed by @thatch)
v1.4.0 — Support PEP 708
- Support PEP 708
tracksandalternate_locationsattributes added toProjectPagepypi_meta,tracks, andalternate_locationsattributes added toRepositoryPageSUPPORTED_REPOSITORY_VERSIONincreased to"1.2"
v1.3.0 — Fetching metadata
- Support Python 3.12
- Update for PEP 714
- Gave
PyPISimpleaget_package_metadata()method - Added an examples page to the documentation
v1.2.0 — Update pydantic to v2.0
Version 1.2.0
v1.1.0 — Support PEP 700
- Support PEP 700
versionsfield added toProjectPagesizeandupload_timefields added toDistributionPackageSUPPORTED_REPOSITORY_VERSIONincreased to"1.1"