Skip to content

Fix crashes on Python libraries using multiple manifests#5965

Merged
deivid-rodriguez merged 1 commit intomainfrom
deivid-rodriguez/more-python-crashing
Oct 25, 2022
Merged

Fix crashes on Python libraries using multiple manifests#5965
deivid-rodriguez merged 1 commit intomainfrom
deivid-rodriguez/more-python-crashing

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

If a library keeps a requirement duplicated in
pyproject.toml/poetry.lock and a requirements.txt file, Dependabot updates will crash because we will try to widen requirements in the requirements file, which is not supported.

Honestly, I don't know what users of this kind of setup expect so I opted for fixing the crash without changing the current behavior, namely, no updates.

@deivid-rodriguez deivid-rodriguez marked this pull request as ready for review October 24, 2022 22:06
@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner October 24, 2022 22:06
If a library keeps a requirement duplicated in
pyproject.toml/poetry.lock and a requirements.txt file, Dependabot
updates will crash because we will try to widen requirements in the
requirements file, which is not supported.

Honestly, I don't know what users of this kind of setup expect so I
opted for fixing the crash without changing the current behavior,
namely, no updates.
@deivid-rodriguez deivid-rodriguez force-pushed the deivid-rodriguez/more-python-crashing branch from 982631d to 132c4c2 Compare October 25, 2022 07:28
@deivid-rodriguez deivid-rodriguez merged commit c7a7f91 into main Oct 25, 2022
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/more-python-crashing branch October 25, 2022 08:50
@pavera pavera mentioned this pull request Oct 31, 2022
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.

3 participants