Skip to content

Releases: jwodder/pypi-simple

v1.8.0 — Fix provenance support

03 Sep 14:46
v1.8.0
Compare
Choose a tag to compare
  • Provenance support belatedly updated to match a change to PEP 740:
    • DistributionPackage.provenance_sha256 is now deprecated and is always None
    • DistributionPackage.provenance_url is now determined correctly and is None when no provenance file is declared
    • PyPISimple.get_provenance() no longer verifies the provenance's digest, and the verify argument is now deprecated

v1.7.0 — Support PEP 792

28 Jul 15:49
v1.7.0
Compare
Choose a tag to compare
  • Support Python 3.13
  • Bugfix: Fix parsing of PEP 708 alternate-locations fields in JSON project pages (Previous versions looked for the field in the wrong location)
  • Support PEP 792
    • status and status_reason attributes added to ProjectPage and RepositoryPage
    • ProjectStatus enum added
    • SUPPORTED_REPOSITORY_VERSION increased to "1.4"

v1.6.1 — Update `SUPPORTED_REPOSITORY_VERSION`

23 Oct 16:20
v1.6.1
Compare
Choose a tag to compare
  • SUPPORTED_REPOSITORY_VERSION increased to "1.3" for compatibility with PEP 740

v1.6.0 — Support PEP 740

18 Jul 16:10
v1.6.0
Compare
Choose a tag to compare
  • Drop support for Python 3.7
  • Support PEP 740
    • provenance_sha256 and provenance_url fields added to DistributionPackage
    • get_provenance() method added to PyPISimple
    • NoProvenanceError exception type added
  • Add url fields to the DigestMismatchError, NoDigestsError, and NoMetadataError classes

v1.5.0 — Custom headers and decoding metadata

24 Feb 21:08
v1.5.0
Compare
Choose a tag to compare
  • Bugfix: Fix parsing of "true" data-core-metadata attributes and handling of the attribute's absence (contributed by @thatch)
    • DistributionPackage.has_metadata will now be None if this attribute was absent in the HTML returned by PyPI. Previously, it would be False under 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 headers arguments (contributed by @thatch)

v1.4.1 — Fix `get_project_page()`

30 Jan 22:32
v1.4.1
Compare
Choose a tag to compare
  • Migrated from setuptools to hatch
  • Bugfix: When no accept argument is passed to PyPISimple.get_project_page(), actually fall back to the value supplied on client instantiation, as documented (contributed by @thatch)

v1.4.0 — Support PEP 708

01 Nov 14:32
v1.4.0
Compare
Choose a tag to compare
  • Support PEP 708
    • tracks and alternate_locations attributes added to ProjectPage
    • pypi_meta, tracks, and alternate_locations attributes added to RepositoryPage
    • SUPPORTED_REPOSITORY_VERSION increased to "1.2"

v1.3.0 — Fetching metadata

01 Nov 13:15
v1.3.0
Compare
Choose a tag to compare
  • Support Python 3.12
  • Update for PEP 714
  • Gave PyPISimple a get_package_metadata() method
  • Added an examples page to the documentation

v1.2.0 — Update pydantic to v2.0

23 Sep 18:57
v1.2.0
Compare
Choose a tag to compare

v1.1.0 — Support PEP 700

19 Feb 19:38
v1.1.0
Compare
Choose a tag to compare
  • Support PEP 700
    • versions field added to ProjectPage
    • size and upload_time fields added to DistributionPackage
    • SUPPORTED_REPOSITORY_VERSION increased to "1.1"