-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/tomlkit
#82Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected
Description
- 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 (
-vvvoption).
- OS version and name: ArchLinux
- Poetry version: 1.0.4
- Link of a Gist with the contents of your pyproject.toml file:
all you need to reproduce is to add this section
[[tool.poetry.source]]
name = "xxxxxx"
url = "https://xxxxxx.invalid"
Issue
I just updated to poetry 1.0.4 and source repositories specified in pyproject.toml doesn't work anymore. It seems related to that issue: python-poetry/tomlkit#80
Reverting to 1.0.3 is working just fine.
here is the exception:
- Installing blahblah (0.7.13)
[ValueError]
Repository "xxxxxx" does not exist.
Traceback (most recent call last):
File "/home/mbelanger/.poetry/lib/poetry/_vendor/py3.7/clikit/console_application.py", line 131, in run
status_code = command.handle(parsed_args, io)
File "/home/mbelanger/.poetry/lib/poetry/_vendor/py3.7/clikit/api/command/command.py", line 120, in handle
status_code = self._do_handle(args, io)
File "/home/mbelanger/.poetry/lib/poetry/_vendor/py3.7/clikit/api/command/command.py", line 171, in _do_handle
return getattr(handler, handler_method)(args, io, self)
File "/home/mbelanger/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/command.py", line 92, in wrap_handle
return self.handle()
File "/home/mbelanger/.poetry/lib/poetry/console/commands/install.py", line 63, in handle
return_code = installer.run()
File "/home/mbelanger/.poetry/lib/poetry/installation/installer.py", line 74, in run
self._do_install(local_repo)
File "/home/mbelanger/.poetry/lib/poetry/installation/installer.py", line 286, in _do_install
self._execute(op)
File "/home/mbelanger/.poetry/lib/poetry/installation/installer.py", line 302, in _execute
getattr(self, '_execute_{}'.format(method))(operation)
File "/home/mbelanger/.poetry/lib/poetry/installation/installer.py", line 327, in _execute_install
self._installer.install(operation.package)
File "/home/mbelanger/.poetry/lib/poetry/installation/pip_installer.py", line 47, in install
repository = self._pool.repository(package.source_reference)
File "/home/mbelanger/.poetry/lib/poetry/repositories/pool.py", line 40, in repository
raise ValueError('Repository "{}" does not exist.'.format(name))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expected