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

Dependabot puts internal warnings to requirements.txt file #6090

Closed
1 task done
glensc opened this issue Nov 9, 2022 · 2 comments · Fixed by #6103
Closed
1 task done

Dependabot puts internal warnings to requirements.txt file #6090

glensc opened this issue Nov 9, 2022 · 2 comments · Fixed by #6103
Labels
L: python:pip Python packages via pip T: bug 🐞 Something isn't working

Comments

@glensc
Copy link

glensc commented Nov 9, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

pip

Package manager version

No response

Language version

Python

Manifest location and content before the Dependabot update

dependabot.yml content

https://github.com/Taxel/PlexTraktSync/blob/ff6e108b0110abc3a55828265233cb13f656b020/.github/dependabot.yml

Updated dependency

No response

What you expected to see, versus what you actually saw

In these two pull requests:

dependabot committed garbage to requirements.txt file:

/usr/local/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pipenv/vendor/attr/_make.py:876: RuntimeWarning: Running interpreter doesn't sufficiently support code object introspection.  Some features like bare super() or accessing __class__ will not work with slotted classes.
  set_closure_cell(cell, cls)

ref:

this resulted in suprious error:

ERROR: Invalid requirement: "/usr/local/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pipenv/vendor/attr/_make.py:876: RuntimeWarning: Running interpreter doesn't sufficiently support code object introspection.  Some features like bare super() or accessing __class__ will not work with slotted classes." (from line 1 of requirements.txt)
Hint: It looks like a path. File '/usr/local/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pipenv/vendor/attr/_make.py:876: RuntimeWarning: Running interpreter doesn't sufficiently support code object introspection.  Some features like bare super() or accessing __class__ will not work with slotted classes.' does not exist.

which made me believe it's problem setup python actions:

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

@glensc glensc added the T: bug 🐞 Something isn't working label Nov 9, 2022
@glensc glensc changed the title Depedabot puts internal warnings to requirements.txt file Dependabot puts internal warnings to requirements.txt file Nov 9, 2022
@deivid-rodriguez
Copy link
Contributor

Oh wow. Thanks for this report, I will look at it as soon as possible!

@deivid-rodriguez
Copy link
Contributor

I deployed a fix for this, commenting @dependabot recreate on Taxel/PlexTraktSync#1175, so fix your PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: python:pip Python packages via pip T: bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants