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

pip-compile cannot compile elyra-python-editor-extension #2974

Closed
samuelvl opened this issue Oct 21, 2022 · 2 comments · May be fixed by #3041
Closed

pip-compile cannot compile elyra-python-editor-extension #2974

samuelvl opened this issue Oct 21, 2022 · 2 comments · May be fixed by #3041
Assignees
Labels
component:build build and build related issues(dependencies and docker) inactive:duplicate This issue or pull request already exists
Milestone

Comments

@samuelvl
Copy link

Describe the issue
Dependencies for elyra-python-editor-extension package cannot be generated with pip-compile.

To Reproduce

Create a requirements.in with the following content:

elyra-python-editor-extension==3.12.0

Run the pip-compile tool:

$ pip-compile --generate-hashes requirements.in 
Could not find a version that matches pycodestyle<2.9.0,>=2.8.0,>=2.9.1 (from autopep8==1.7.0->elyra-server==3.12.0->elyra-python-editor-extension==3.12.0->-r requirements.in (line 1))
Tried: 2.0.0, 2.0.0, 2.1.0, 2.1.0, 2.2.0, 2.2.0, 2.3.0, 2.3.0, 2.3.1, 2.3.1, 2.4.0, 2.4.0, 2.5.0, 2.5.0, 2.6.0, 2.6.0, 2.7.0, 2.7.0, 2.8.0, 2.8.0, 2.9.0, 2.9.0, 2.9.1, 2.9.1
Skipped pre-versions: 1.8.0.dev0, 1.8.0.dev0, 2.0.0a1, 2.0.0a1, 2.6.0a1, 2.6.0a1
There are incompatible versions in the resolved dependencies:
  pycodestyle>=2.9.1 (from autopep8==1.7.0->elyra-server==3.12.0->elyra-python-editor-extension==3.12.0->-r requirements.in (line 1))
  pycodestyle<2.9.0,>=2.8.0 (from python-lsp-server[all]==1.5.0->elyra-server==3.12.0->elyra-python-editor-extension==3.12.0->-r requirements.in (line 1))

Expected behavior
Do not return an error.

Deployment information
Describe what you've deployed and how:

  • Python version 3.8.13
  • pip-compile version 6.8.0
@akchinSTC
Copy link
Member

@samuelvl - we are transitioning to using the pyproject.toml and updating dependencies as needed. I noted several issues when generating the requirements lockfile with pip-compile using this new format including this issue, but they seem to have been resolved. See #3041

@akchinSTC akchinSTC linked a pull request Dec 14, 2022 that will close this issue
@akchinSTC akchinSTC modified the milestones: 3.14.0, 4.x Q1 Dec 14, 2022
@ptitzler ptitzler modified the milestones: 4.x Q1, 4.x Q2 Feb 2, 2023
@lresende lresende added the inactive:duplicate This issue or pull request already exists label Jun 20, 2023
@lresende
Copy link
Member

Duplicate or will be resolved by #3041

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:build build and build related issues(dependencies and docker) inactive:duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants