question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing vendored dependencies on python 3.8-dev/nightly

See original GitHub issue
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: ubuntu xenial
  • Poetry version: 0.12.7
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

Just a heads up that the installer does not seem to be working for fresh installs on python 3.8-dev / nightly on travis. not really a high priority considering stable release is scheduled for 2019-10-20 but thought it would be worth noting.

Seems to be because the build script only vendors for 2.7/3.4-3.7

$ curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
$HOME/.poetry/bin
This path will then be added to your `PATH` environment variable by
modifying the profile files located at:
$HOME/.profile
$HOME/.bash_profile
You can uninstall at any time with `poetry self:uninstall`,
or by executing this script with the --uninstall option,
and these changes will be reverted.
Installing version: 0.12.7
  - Downloading poetry-0.12.7-linux.tar.gz (8.35MB)
Poetry (0.12.7) is installed now. Great!
To get started you need Poetry's bin directory ($HOME/.poetry/bin) in your `PATH`
environment variable. Next time you log in this will be done
automatically.
To configure your current shell run `source $HOME/.poetry/env`

$ source $HOME/.poetry/env

$ poetry install
Traceback (most recent call last):
  File "/home/travis/.poetry/bin/poetry", line 11, in <module>
    from poetry.console import main
  File "/home/travis/.poetry/lib/poetry/console/__init__.py", line 1, in <module>
    from .application import Application
  File "/home/travis/.poetry/lib/poetry/console/application.py", line 6, in <module>
    from cleo import Application as BaseApplication
ModuleNotFoundError: No module named 'cleo'

travis config

{
  "os": "linux",
  "dist": "xenial",
  "sudo": "required",
  "cache": {
    "pip": true,
    "directories": [
      "$HOME/.cache/pypoetry"
    ]
  },
  "group": "stable",
  "python": "3.8-dev",
  "script": [
    "make ci"
  ],
  "install": [
    "poetry install"
  ],
  "language": "python",
  "global_env": "PYPI_USER=[secure] PYPI_PASS=[secure] HYPOTHESIS_PROFILE=slow",
  "after_success": [
    "coveralls"
  ],
  "before_deploy": [
    "poetry config http-basic.pypi $PYPI_USER $PYPI_PASS",
    "poetry build -f sdist",
    "poetry build -f wheel"
  ],
  "before_install": [
    "curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python",
    "source $HOME/.poetry/env"
  ]
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
kkozmiccommented, Nov 1, 2019

What’s the current state of this issue? I installed final python 3.8.0 and after it I installed latest Poetry (0.12.17) (via curl) and I’m getting the same error.

Is the recommendation to still use pip? Or is there a fix coming?

1reaction
nylocxcommented, Nov 20, 2019

This is a bit frustrating as Arch Linux switched to python 3.8 by now. There is a package build for 3.8 in the repos, but that one does not vendor the older dependencies so I can not use pyenv to develop against older Python versions. Any release plan for poetry with 3.8 vendoring. I read some hacks about copying the 3.7 dir to 3.8 but I’m not sure this won’t break.

– Edit I have just seen that you released the beta 6 of 1.0.0 with python 3.8 vendoring. I will give it a try. Thanks a lot for this amazing tool.

Read more comments on GitHub >

github_iconTop Results From Across the Web

https://packages.debian.org/changelog:llvm-toolcha...
[ John Paul Adrian Glaubitz ] * Add patch to fix missing include and library ... circular dependency by Suggesting the python binding...
Read more >
llvm-toolchain-10 1:10.0.1-5~build1 source package in Ubuntu
[ Sylvestre Ledru ] * Add libz3-dev as dependencies on llvm-X.Y-dev (Closes: ... urgency=medium * python-clang-9: missing dependency on ...
Read more >
ftp.vim.org/pub/os/illumos/dyson/apt/pool/main/l/l...
[ Gianfranco Costamagna ] * Make python-lldb-3.8 depend on lldb-3.8-dev, to pick all the required dependencies * Unbreak circular dependency by Suggesting ...
Read more >
NumPy User Guide
between NumPy arrays and the standard Python sequences: ... In particular, genfromtxt is able to take missing data into account, ...
Read more >
python38-numpy-1.21.6-1.2.riscv64 RPM
Size: 20617031, Source RPM: python-numpy-1.21.6-1.2.src.rpm ... to occasionally time out, increase the limit * BUG: Fix missing signed_char dependency.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found