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

Incompatible default for pydoc-markdown and tomli #117

Closed
scottanderson42 opened this issue Jun 7, 2023 · 2 comments · Fixed by #123
Closed

Incompatible default for pydoc-markdown and tomli #117

scottanderson42 opened this issue Jun 7, 2023 · 2 comments · Fixed by #123
Assignees
Labels
bug Something isn't working released

Comments

@scottanderson42
Copy link

Current Behavior

With the default tomli created by the generator:
tomli = "1.2.2"

Installing pydoc-markdown is unable to solve for versions:

Because no versions of pydoc-markdown match >4.8.0,<5.0.0
 and pydoc-markdown (4.8.0) depends on tomli (>=2.0.0,<3.0.0), pydoc-markdown (>=4.8.0,<5.0.0) requires tomli (>=2.0.0,<3.0.0).

Expected Behavior

The out-of-the-box package version defaults should work together.

Steps to Reproduce

  1. Create a new library project
  2. npx nx run new-project:install --name pydoc-markdown

Nx Report

Node : 16.14.2
   OS   : darwin arm64
   npm  : 8.5.0

   nx : 15.6.2
   @nrwl/angular : Not Found
   @nrwl/cypress : 15.6.2
   @nrwl/detox : Not Found
   @nrwl/devkit : 15.6.2
   @nrwl/esbuild : Not Found
   @nrwl/eslint-plugin-nx : Not Found
   @nrwl/expo : Not Found
   @nrwl/express : Not Found
   @nrwl/jest : 15.6.3
   @nrwl/js : 15.9.2
   @nrwl/linter : Not Found
   @nrwl/nest : Not Found
   @nrwl/next : Not Found
   @nrwl/node : Not Found
   @nrwl/nx-cloud : 15.0.2
   @nrwl/nx-plugin : Not Found
   @nrwl/react : 15.9.2
   @nrwl/react-native : Not Found
   @nrwl/rollup : 15.6.2
   @nrwl/schematics : Not Found
   @nrwl/storybook : 15.9.2
   @nrwl/web : 15.6.2
   @nrwl/webpack : 15.9.2
   @nrwl/workspace : 15.6.2
   @nrwl/vite : Not Found
   typescript : 5.0.4
   ---------------------------------------
   Local workspace plugins:
   ---------------------------------------
   Community plugins:
   	 @nxlv/python: 15.9.1

Failure Logs

No response

Additional Information

tomli = ">=1.2.2" works, or pydoc-markdown could be set along with the other default dev dependencies to something that works.

@lucasvieirasilva
Copy link
Owner

Hey @scottanderson42, got it, I think that's one more issue related to the way the projects are being generated, I'm in job transition this week, so, things are a little bit in a hurry for me, I'm planning action on those issues in end of the week, or earlier next week.

@lucasvieirasilva lucasvieirasilva added bug Something isn't working in-progress We are working on this Issue labels Jun 12, 2023
@lucasvieirasilva lucasvieirasilva self-assigned this Jun 12, 2023
@lucasvieirasilva lucasvieirasilva linked a pull request Jun 18, 2023 that will close this issue
github-actions bot pushed a commit that referenced this issue Jun 18, 2023
# [15.11.0](nx-python-v15.10.0...nx-python-v15.11.0) (2023-06-18)

### Features

* **nx-python:** add a new version of the poetry project generator ([#123](#123)) ([c793b0d](c793b0d)), closes [#111](#111) [#117](#117)
@github-actions
Copy link

🎉 This issue has been resolved in version 15.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lucasvieirasilva lucasvieirasilva removed the in-progress We are working on this Issue label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants