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

Package docutils (0.21.post1) not found. #1082

Closed
1 task done
black-snow opened this issue Apr 10, 2024 · 4 comments
Closed
1 task done

Package docutils (0.21.post1) not found. #1082

black-snow opened this issue Apr 10, 2024 · 4 comments
Labels

Comments

@black-snow
Copy link

Is there an existing issue for this?

  • I have searched the existing issues (open and closed), and could not find an existing issue

What keywords did you use to search existing issues?

docutils

What operating system are you using?

Linux, macOS

If you selected 'Other', describe your Operating System here

No response

What version of Python are you running?

Python 3.12.2

How did you install twine? Did you use your operating system's package manager or pip or something else?

poetry add twine

What version of twine do you have installed (include the complete output)

Using version ^5.0.0 for twine

Which package repository are you using?

pypi

Please describe the issue that you are experiencing

Not quite sure if this is an issue with twine itself or where docutils is even referenced.

When I try to add twine via poetry it fails with:

Package docutils (0.21.post1) not found.

I tried it in a live project and in an empty dummy project. It seems to work with pip, though - so it might (?) be an issue with poetry? I haven't yet identified who needs docutils and why.

Please list the steps required to reproduce this behaviour

  • init an empty poetry project
  • poetry add twine

Anything else you'd like to mention?

No response

@black-snow
Copy link
Author

I added 0.21 to dev dependencies explicitly to get it working again. I cannot spot what pkg hast the nonexisting post1 listed.

@sigmavirus24
Copy link
Member

I would guess readme-renderer has a docutils dependency but that's not twine's bug or responsibility to solve so I'm closing this

@sigmavirus24 sigmavirus24 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2024
@sigmavirus24
Copy link
Member

https://github.com/pypa/readme_renderer/blob/main/pyproject.toml#L10

That's the latest dependency on docutils. I suspect this is a poetry problem resolving dependencies but I don't use poetry

@black-snow
Copy link
Author

Yes, thanks for looking into it @sigmavirus24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants