You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to create environment jinjatest for some testing poetry failed with attempt to add very first package pyyaml.
$ poetry new jinjatest
Created package jinjatest in jinjatest
$ cd jinjatest
$ poetry add pyyaml
Creating virtualenv jinjatest in /home/javl/devel/tis/gitlab/tis/deploy/jinjatest/.venv
Using version ^5.3.1 for PyYAML
Updating dependencies
Resolving dependencies... (0.5s)
Writing lock file
Package operations: 12 installs, 0 updates, 0 removals
• Installing zipp (3.3.0): Failed
AttributeError
'Table' object has no attribute 'decode'
at ~/.pyenv/versions/3.7.4/lib/python3.7/urllib/parse.py:107 in<genexpr>
103│ return obj.encode(encoding, errors)
104│
105│ def _decode_args(args, encoding=_implicit_encoding,
106│ errors=_implicit_errors):
→ 107│ return tuple(x.decode(encoding, errors) if x else''forxin args)
108│
109│ def _coerce_args(*args):
110│ # Invokes decode if necessary to create str args
111│ # and returns the coerced inputs along with
Failed to add packages, reverting the pyproject.toml file to its original content.
Trying the last step being more verbose:
$ poetry add -vvv pyyaml
Using virtualenv: /home/javl/devel/tis/gitlab/tis/deploy/jinjatest/.venv
PyPI: No release information found for pyyaml-3.01, skipping
PyPI: No release information found for pyyaml-3.02, skipping
PyPI: No release information found for pyyaml-3.03, skipping
PyPI: No release information found for pyyaml-3.04, skipping
PyPI: No release information found for pyyaml-3.05, skipping
PyPI: No release information found for pyyaml-3.06, skipping
PyPI: No release information found for pyyaml-3.07, skipping
PyPI: No release information found for pyyaml-3.08, skipping
PyPI: No release information found for pyyaml-3.09, skipping
PyPI: 10 packages found for pyyaml *
Using version ^5.3.1 for PyYAML
Updating dependencies
Resolving dependencies...
1: fact: jinjatest is 0.1.0
1: derived: jinjatest
1: fact: jinjatest depends on PyYAML (^5.3.1)
1: fact: jinjatest depends on pytest (^5.2)
1: fact: jinjatest depends on pytest (^5.2)
1: selecting jinjatest (0.1.0)
1: derived: pytest (^5.2)
1: derived: PyYAML (^5.3.1)
1: fact: pytest (5.4.3) depends on py (>=1.5.0)
1: fact: pytest (5.4.3) depends on packaging (*)
1: fact: pytest (5.4.3) depends on attrs (>=17.4.0)
1: fact: pytest (5.4.3) depends on more-itertools (>=4.0.0)
1: fact: pytest (5.4.3) depends on pluggy (>=0.12,<1.0)
1: fact: pytest (5.4.3) depends on wcwidth (*)
1: fact: pytest (5.4.3) depends on importlib-metadata (>=0.12)
1: fact: pytest (5.4.3) depends on atomicwrites (>=1.0)
1: fact: pytest (5.4.3) depends on colorama (*)
1: selecting pytest (5.4.3)
1: derived: colorama (*)
1: derived: atomicwrites (>=1.0)
1: derived: importlib-metadata (>=0.12)
1: derived: wcwidth (*)
1: derived: pluggy (>=0.12,<1.0)
1: derived: more-itertools (>=4.0.0)
1: derived: attrs (>=17.4.0)
1: derived: packaging (*)
1: derived: py (>=1.5.0)
PyPI: No release information found for pyyaml-3.01, skipping
PyPI: No release information found for pyyaml-3.02, skipping
PyPI: No release information found for pyyaml-3.03, skipping
PyPI: No release information found for pyyaml-3.04, skipping
PyPI: No release information found for pyyaml-3.05, skipping
PyPI: No release information found for pyyaml-3.06, skipping
PyPI: No release information found for pyyaml-3.07, skipping
PyPI: No release information found for pyyaml-3.08, skipping
PyPI: No release information found for pyyaml-3.09, skipping
PyPI: 1 packages found for pyyaml >=5.3.1,<6.0.0
1: selecting pyyaml (5.3.1)
1: selecting colorama (0.4.3)
1: selecting atomicwrites (1.4.0)
1: fact: importlib-metadata (2.0.0) depends on zipp (>=0.5)
1: selecting importlib-metadata (2.0.0)
1: derived: zipp (>=0.5)
1: selecting wcwidth (0.2.5)
1: fact: pluggy (0.13.1) depends on importlib-metadata (>=0.12)
1: selecting pluggy (0.13.1)
1: selecting more-itertools (8.5.0)
1: selecting attrs (20.2.0)
1: fact: packaging (20.4) depends on pyparsing (>=2.0.2)
1: fact: packaging (20.4) depends on six (*)
1: selecting packaging (20.4)
1: derived: six (*)
1: derived: pyparsing (>=2.0.2)
1: selecting py (1.9.0)
1: selecting zipp (3.3.0)
1: selecting six (1.15.0)
1: selecting pyparsing (2.4.7)
1: Version solving took 0.075 seconds.
1: Tried 1 solutions.
Finding the necessary packages for the current system
Package operations: 12 installs, 0 updates, 0 removals, 2 skipped
• Removing atomicwrites (1.4.0): Pending...
• Removing atomicwrites (1.4.0): Skipped for the following reason: Not currently installed
• Removing colorama (0.4.3): Pending...
• Removing colorama (0.4.3): Skipped for the following reason: Not currently installed
• Installing zipp (3.3.0): Pending...
• Installing zipp (3.3.0): Failed
AttributeError
'Table' object has no attribute 'decode'
at ~/.pyenv/versions/3.7.4/lib/python3.7/urllib/parse.py:107 in<genexpr>
103│ return obj.encode(encoding, errors)
104│
105│ def _decode_args(args, encoding=_implicit_encoding,
106│ errors=_implicit_errors):
→ 107│ return tuple(x.decode(encoding, errors) if x else''forxin args)
108│
109│ def _coerce_args(*args):
110│ # Invokes decode if necessary to create str args
111│ # and returns the coerced inputs along with
Failed to add packages, reverting the pyproject.toml file to its original content.
The text was updated successfully, but these errors were encountered:
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: Debian buster
Poetry version: 1.1.2
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/vlcinsky/066894ca04022322bc1ee0dea95b5cac
Issue
Trying to create environment
jinjatest
for some testingpoetry
failed with attempt to add very first packagepyyaml
.Trying the last step being more verbose:
The text was updated successfully, but these errors were encountered: