Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata-Version is not 1.2 when Project-URL fields are present #1756

wrobell opened this issue May 1, 2019 · 3 comments


Copy link

commented May 1, 2019

I am uploaded the following project using twine 1.13.0 (see at

This projects was uploaded with python upload in first place, but for last few releases twine was used.

Despite using the tool, the project_urls is ignored.

EDIT: btzen does not contain project_urls, so dropped from the description.


This comment has been minimized.

Copy link

commented May 1, 2019

The Project-URL metadata field was introduced in version 1.2, but your source distributions are indicating that their metadata version is 1.1 (even though they contain Project-URL fields):

$ tar xfO atimer-0.3.2.tar.gz atimer-0.3.2/PKG-INFO
Metadata-Version: 1.1
Name: atimer
Version: 0.3.2
Summary: atimer - timer library for asyncio
Author: Artur Wroblewski
License: GPLv3+
Project-URL: Documentation,
Project-URL: Code,
Project-URL: Issue tracker,
Description: The `atimer` library implements asynchronous timer Python coroutine
        based on POSIX timers. The coroutine can be used with Python `asyncio
        <>`_ module API.

        The main features are

        - expires at regular intervals
        - tracks number of expirations if a long running task causes overrun
        - starts synchronized with system clock at the edge of an interval
        - measures time while system is suspended

        The `atimer` library is licensed under terms of GPL license, version 3, see
        `COPYING <>`_ file for details.

Platform: UNKNOWN
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta

How are you building these distributions?


This comment has been minimized.

Copy link

commented May 1, 2019

I am using python sdist.

For the completness

$ twine3 --version
twine version 1.13.0 (pkginfo:, requests: 2.21.0, setuptools: 41.0.1,
requests-toolbelt: 0.9.1, tqdm: 4.28.1)

This comment has been minimized.

Copy link

commented May 1, 2019

Looks like this is a bug in setuptools, it's not forcing the 1.2 version when project URLs are present.

I'm going to transfer this issue to that repo. In the meantime, you can add the Maintainer or Maintainer-Email fields to force the 1.2 version.

@di di changed the title project_urls is being ignored on PyPI despite project uploaded with twine Metadata-Version is not 1.2 when Project-URL fields are present May 1, 2019

@di di transferred this issue from pypa/warehouse May 1, 2019

venthur added a commit to venthur/setuptools that referenced this issue May 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.