Skip to content

poetry install fail with Python 3.9.7 #4

Closed
inpefess opened this issue Sep 3, 2021 · 7 comments
Closed

poetry install fail with Python 3.9.7 #4

inpefess opened this issue Sep 3, 2021 · 7 comments
Assignees
Projects

Comments

@inpefess
Copy link

inpefess commented Sep 3, 2021

Works well for Python 3.7.11, but for 3.9.7 hangs on pandas

@Darel13712
Copy link
Contributor

Darel13712 commented Nov 10, 2021

Tried building it and now it installed succesfully. Here's the run. Can you reproduce this now?

@inpefess
Copy link
Author

Now I see the following:

% poetry install
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.

  SolverProblemError

  Because replay-rec depends on docutils (=0.16) which doesn't match any versions, version solving failed.

@Darel13712
Copy link
Contributor

This is strange, because Github was able to install it. Can you try running pip install docutils==0.16 before installation?

Anyway, this requirement was added to fix incorrect bullet list rendering in documentation, you can safely remove this line from your pyproject.toml if you're not planning on building docs.

@AleXXL1986
Copy link
Collaborator

Now I see the following:

% poetry install
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.

  SolverProblemError

  Because replay-rec depends on docutils (=0.16) which doesn't match any versions, version solving failed.

You can try to clear cache in poetry before update and install poetry cache clear pypi --all

@inpefess
Copy link
Author

In the commit d04a39a docutils where added with no changes commited to poetry.lock. Probably someone edited pyproject.toml manually, without using poetry add.

Even when I add docutils, I see the following:

RuntimeError

  Unable to find installation candidates for torch (1.7.0)

@Darel13712
Copy link
Contributor

I tried installing on a Mac and it installed successfully. It installed torch 1.10.0 though.

Here is my lock file (remove .txt), can you try it?
poetry.lock.txt

@Darel13712 Darel13712 self-assigned this Nov 15, 2021
@Darel13712 Darel13712 moved this from Backlog to To Do in Kanban Nov 15, 2021
@inpefess
Copy link
Author

In branch test_397 I had no problems with installing with poetry install in Python 3.9.7. Thanks!

Kanban automation moved this from To Do to Done Nov 15, 2021
@Darel13712 Darel13712 removed the in_progress wip label Nov 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

3 participants