Skip to content

Fix parsed requirement equality. - #3341

Open
jsirois wants to merge 7 commits into
pex-tool:mainfrom
jsirois:issues/3333
Open

jsirois wants to merge 7 commits into
pex-tool:mainfrom
jsirois:issues/3333

Conversation

@jsirois

@jsirois jsirois commented Nov 30, 2026

Copy link
Copy Markdown
Member

Fixes #3333

for req in UPDATED_REQUIREMENTS:
print(req, file=after_fp)

assert_sync(tmpdir, ["-r", before_fp.name], ["-r", after_fp.name])

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

N.B.: test_sync_via_positional_requirements passed before the fix, but test_sync_via_requirements_files failed here similar to the OP issue with:

E       AssertionError: integration test failed: return_code=1, output=, error=Encountered 1 error updating /tmp/pytest-of-jsirois/pytest-2/popen-gw0/test_sync_via_requiremen-0cdb00/lock.json:
E       1.) cp311-cp311-manylinux_2_44_x86_64: Pin(project_name=ProjectName(raw='six', validated=False, normalized='six'), version=Version(raw='1.17.0', normalized='1.17'))

This branch has not been deployed

No deployments
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.

pex3 lock sync fails on a split universal lock with platform-specific wheels: KeyError: Pin(...) in DownloadCacheManager.create

1 participant