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

Can't install v2.4.0 with Poetry #495

Open
diogobaeder opened this issue Sep 16, 2023 · 2 comments
Open

Can't install v2.4.0 with Poetry #495

diogobaeder opened this issue Sep 16, 2023 · 2 comments
Labels
defect Suspected defect such as a bug or regression

Comments

@diogobaeder
Copy link

What version were you using?

Client: v2.4.0

What environment was the server running in?

Arch Linux x64

Is this defect reproducible?

Yes: $ poetry add nats-py

Given the capability you are leveraging, describe your expectation?

I should be able to install client v2.4.0, like I do with v2.3.1:

 $ poetry install
Installing dependencies from lock file

Package operations: 1 install, 0 updates, 0 removals

  • Installing nats-py (2.3.1)

Given the expectation, what is the defect you are observing?

I can't install client v2.4.0:

 $ poetry install
Installing dependencies from lock file

Package operations: 1 install, 0 updates, 0 removals

  • Installing nats-py (2.4.0): Failed

  TypeError

  Can't instantiate abstract class IsolatedEnv with abstract methods make_extra_environ, python_executable

  at /usr/lib/python3.11/site-packages/poetry/installation/chef.py:109 in _prepare
      105│     ) -> Path:
      106│         from subprocess import CalledProcessError
      107│ 
      108│         with ephemeral_environment(self._env.python) as venv:
    → 109│             env = IsolatedEnv(venv, self._pool)
      110│             builder = ProjectBuilder(
      111│                 directory,
      112│                 python_executable=env.executable,
      113│                 scripts_dir=env.scripts_dir,
@diogobaeder diogobaeder added the defect Suspected defect such as a bug or regression label Sep 16, 2023
@wallyqs
Copy link
Member

wallyqs commented Sep 20, 2023

@diogobaeder which python version are you using?

@diogobaeder
Copy link
Author

@wallyqs Python 3.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

No branches or pull requests

2 participants