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

Poetry doesn't resolve on MacOs Mojave #1047

Closed
3 tasks done
wilfredinni opened this issue Apr 23, 2019 · 8 comments
Closed
3 tasks done

Poetry doesn't resolve on MacOs Mojave #1047

wilfredinni opened this issue Apr 23, 2019 · 8 comments

Comments

@wilfredinni
Copy link

wilfredinni commented Apr 23, 2019

Issue

poetry update command doesn't work on my Mac. Just stay in resolving dependencies. My machine with Manjaro Linux, a 7 years old laptop, resolves in 8 seconds the same pyproject.tom.

@tuchandra
Copy link

Tried this out because I'm also running Mojave on my Mac, but I wasn't able to repro. I got the following output:

Package operations: 24 installs, 0 updates, 0 removals

Writing lock file

  - Installing pytz (2019.1)
  - Installing sqlparse (0.3.0)
  - Installing appdirs (1.4.3)
  - Installing atomicwrites (1.3.0)
  - Installing attrs (19.1.0)
  - Installing click (7.0)
  - Installing django (2.2)
  - Installing entrypoints (0.3)
  - Installing mccabe (0.6.1)
  - Installing more-itertools (7.0.0)
  - Installing pluggy (0.9.0)
  - Installing py (1.8.0)
  - Installing pycodestyle (2.5.0)
  - Installing pyflakes (2.1.1)
  - Installing six (1.12.0)
  - Installing toml (0.10.0)
  - Installing black (19.3b0)
  - Installing coverage (4.5.3)
  - Installing django-debug-toolbar (1.11)
  - Installing flake8 (3.7.7)
  - Installing mistune (0.8.4)
  - Installing psycopg2-binary (2.8.2)
  - Installing pytest (4.4.1)
  - Installing python-decouple (3.1)

I am on Poetry 0.12.11, though; what happens if you downgrade? Perhaps a bug was introduced in the newest release.

@wilfredinni
Copy link
Author

wilfredinni commented Apr 23, 2019

@tuchandra the first time I install the dependencies I have no problems either. Can you try to use poetry update and see what happens now? Thank you.

@tuchandra
Copy link

Running it again works fine:

Updating dependencies
Resolving dependencies... (0.3s)

Nothing to install or update

:/

@wilfredinni
Copy link
Author

Removed Poetry, all the virtualenvs and cleaned the cache folder, then reinstalled it. All is good now.

@floer32
Copy link

floer32 commented May 5, 2019

@wilfredinni sounds about right

Here is a related issue, which may offer a bit of explanation (TLDR has to do with cachecontrol/filelock libs)

#832 (comment)

@floer32
Copy link

floer32 commented May 5, 2019

@wilfredinni Since this seemingly is not about OS, and since there are known resolutions, could you edit the ticket title and/or close the ticket?

@wilfredinni
Copy link
Author

@wilfredinni Since this seemingly is not about OS, and since there are known resolutions, could you edit the ticket title and/or close the ticket?

Sure.

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants