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

docutils contraint prevents plonecli build #84

Open
lmuller1962 opened this issue Jul 18, 2024 · 3 comments
Open

docutils contraint prevents plonecli build #84

lmuller1962 opened this issue Jul 18, 2024 · 3 comments

Comments

@lmuller1962
Copy link

  • Plone CLI version: 2.5
  • Python version: 3.10.12
  • Operating System: ubunutu 22.04 LTS

Description

I tried to create a new addon. A version constraint problem occured since a few days,

What I Did

I created an addon:
plonecli create addon my.addon

and tried to build it:
plonecli build

The following problem occured during build:


(...)
Version and requirements information containing docutils:
  [versions] constraint on docutils: 0.18.1
  Requirement of readme-renderer[md]>=40: docutils>=0.21.2
  Requirement of readme-renderer>=35.0: docutils>=0.21.2
While:
  Installing releaser.
Error: The requirement ('docutils>=0.21.2') is not allowed by your [versions] constraint (0.18.1)

@rohnsha0
Copy link

was able to reproduce the same

@jensens
Copy link
Member

jensens commented Jul 24, 2024

I think in the generated code there exists a base.cfg ini-style file with a [versions] section.
Does it help if you add in this section a line to upgrade the pinned version of docutils like so?

# ... keep lines above
[versions]
# ... keep existing and append:
docutils = 0.21.2

@lmuller1962
Copy link
Author

Yes, this works, many thanks! 👍

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

No branches or pull requests

3 participants