~jugmac00/lp-source-dependencies:add-pkginfo-1.6.1

Last commit made on 2022-06-08
Get this branch:
git clone -b add-pkginfo-1.6.1 https://git.launchpad.net/~jugmac00/lp-source-dependencies
Only Jürgen Gmach can upload to this branch. If you are Jürgen Gmach please log in for upload directions.

Branch merges

Branch information

Name:
add-pkginfo-1.6.1
Repository:
lp:~jugmac00/lp-source-dependencies

Recent commits

fc0e00b... by Jürgen Gmach

Add pkginfo 1.6.1

With 5da4f87344aaa0fe37ac8e919c67d833c0e59da4 pkginfo 1.8.2 was added,
although the package dropped Python 3.5 support in 1.7.0.

This "worked" as the package lacks the `python_requires` field.

While 1.8.2 may work on Pyton 3.5, let's stay on the safe side and use
1.6.1 until we are able to upgrade our Python version.

I also added a bug report for pkginfo to add the missing field:
https://bugs.launchpad.net/pkginfo/+bug/1977981

b0817b3... by Colin Watson

Add pkginfo 1.8.2 and wheel-filename 1.1.0

Merged from https://code.launchpad.net/~cjwatson/lp-source-dependencies/+git/lp-source-dependencies/+merge/423187

5da4f87... by Colin Watson

Add pkginfo 1.8.2 and wheel-filename 1.1.0

These will be used to help extract metadata from wheels produced by CI
builds in order to publish them in PPAs linked to Artifactory.

I considered several options. `wheel-inspect` was a possibility, but it
has a number of additional dependencies, and it's not very clear which
versions of the metadata standards it supports. `distlib` looks
promising, but it seems to be a separate implementation of the packaging
standards that hasn't seen much adoption by other tools. I also
considered using the standard library's `importlib.metadata` or the
equivalent backport, but that only implements the actual `METADATA` file
format and leaves the problem of extracting it, so I was concerned that
there might be edge cases in how to do that which I was unaware of, or
that more might come up in the future.

`pkginfo` is used by the `twine` client to extract metadata before
uploading to PyPI, which seems like a strong recommendation in and of
itself, and it seems simple and well-maintained. It doesn't quite solve
the whole problem on its own: we also need to extract platform tags from
the wheel filename in order to work out whether a package is
architecture-independent. I could have implemented that with a regex,
but `wheel-filename` seems like a simple library encapsulating that sort
of thing so that we don't have to maintain it.

5e0b68a... by Colin Watson

Add psycopg2 2.8.6

Merged from https://code.launchpad.net/~cjwatson/lp-source-dependencies/+git/lp-source-dependencies/+merge/418935

7257a35... by Colin Watson

Add psycopg2 2.8.6

This fixes building on Python 3.8.

8d98af7... by Colin Watson

Add Twisted 20.3.0+lp8

Merged from https://code.launchpad.net/~cjwatson/lp-source-dependencies/+git/lp-source-dependencies/+merge/417057

44ce75a... by Colin Watson

Add Twisted 20.3.0+lp8

This applies the change from
https://code.launchpad.net/~cjwatson/twisted/+git/twisted/+merge/416823.

80d8335... by Colin Watson

Add dohq-artifactory and dependencies

Merged from https://code.launchpad.net/~cjwatson/lp-source-dependencies/+git/lp-source-dependencies/+merge/416381

9c82eb2... by Colin Watson

Add dohq-artifactory and dependencies

This will be used for a new alternative publishing method for archives
that publishes via a JFrog Artifactory instance.

0e3365e... by Colin Watson

Add Twisted 20.3.0+lp7

Merged from https://code.launchpad.net/~cjwatson/lp-source-dependencies/+git/lp-source-dependencies/+merge/416382