Skip to content

Use inline table syntax for license key#58

Merged
hauntsaninja merged 1 commit intopython:mainfrom
srittau:old-pip
Jul 15, 2022
Merged

Use inline table syntax for license key#58
hauntsaninja merged 1 commit intopython:mainfrom
srittau:old-pip

Conversation

@srittau
Copy link
Copy Markdown
Collaborator

@srittau srittau commented Jul 15, 2022

This fixes a problem with old pip version that use an outdated TOML
parser.

Closes: #57

This fixes a problem with old pip version that use an outdated TOML
parser.

Closes: python#57
Copy link
Copy Markdown
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think this is worth a hotfix release?

@srittau
Copy link
Copy Markdown
Collaborator Author

srittau commented Jul 15, 2022

I think this only relevant when pip installing the .tar.gz or from source, not when installing the wheel or from pypi, so I'm not sure how relevant this is. Also, I'm not sure if I'm right. :)

Copy link
Copy Markdown
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for figuring this one out! Pretty sure you're right, pip used to use pytoml, which only supports TOML 0.4. Dotted keys were a feature of 0.5

@hauntsaninja hauntsaninja merged commit 917aad0 into python:main Jul 15, 2022
@srittau srittau deleted the old-pip branch July 15, 2022 20:11
@mweinelt
Copy link
Copy Markdown

mweinelt commented Jul 16, 2022

sorry, unrelated

@hgoldfish
Copy link
Copy Markdown

the default python pip of debian 10 is took down by this minor issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when installing typing package with pyproject.toml

5 participants