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

Issue 5486 null markers #5529

Merged
merged 2 commits into from
Dec 9, 2022
Merged

Issue 5486 null markers #5529

merged 2 commits into from
Dec 9, 2022

Conversation

matteius
Copy link
Member

@matteius matteius commented Dec 9, 2022

Thank you for contributing to Pipenv!

The issue

Fixes #5486

The fix

This checks if the marker has a value before adding it to the lock file.

The checklist

  • Associated issue
  • A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

@matteius matteius requested a review from oz123 December 9, 2022 07:58
@oz123 oz123 merged commit 6ecb486 into main Dec 9, 2022
@oz123 oz123 deleted the issue-5486-null-markers branch December 9, 2022 09:09
vilmibm pushed a commit to internetarchive/fatcat-scholar that referenced this pull request Feb 16, 2024
with pipenv 2022.11.30, `null` marker could be generated, which would
fail other tools; this issue has been tracked under
pypa/pipenv#5529 and merged; current lockfile
generated with 2023.2.18

```
...
  File
"/builds/webgroup/fatcat-scholar/.venv/lib/python3.8/site-packages/packaging/_tokenizer.py",
line 163, in raise_syntax_error
    raise ParserSyntaxError(
pip._vendor.packaging._tokenizer.ParserSyntaxError: Expected a marker
variable or quoted string
    None
...
```
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.

Should pipenv lock be generating a marker of null when extras used?
2 participants