Skip to content

Instantly share code, notes, and snippets.

@FilBot3
Created January 19, 2021 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FilBot3/a6c578e59654e8d61dfff02fca22831a to your computer and use it in GitHub Desktop.
Save FilBot3/a6c578e59654e8d61dfff02fca22831a to your computer and use it in GitHub Desktop.
Poetry v1.1.4 failing to install Buildbot 2.10.0 with TLS and the standalone package. However, Pip can do it just fine.
╭─filbot@oryx-pop ~/Documents/Development/Buildbot
╰─➤ pip install buildbot 127 ↵
Collecting buildbot
Downloading buildbot-2.10.0-py3-none-any.whl (879 kB)
|████████████████████████████████| 879 kB 9.8 MB/s
Collecting sqlalchemy>=1.2.0
Downloading SQLAlchemy-1.3.22-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 59.0 MB/s
Collecting zope.interface>=4.1.1
Downloading zope.interface-5.2.0-cp38-cp38-manylinux2010_x86_64.whl (244 kB)
|████████████████████████████████| 244 kB 28.1 MB/s
Collecting txaio>=2.2.2
Downloading txaio-20.12.1-py2.py3-none-any.whl (30 kB)
Collecting autobahn>=0.16.0
Downloading autobahn-20.12.3-py2.py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 115.5 MB/s
Collecting sqlalchemy-migrate>=0.13
Downloading sqlalchemy_migrate-0.13.0-py2.py3-none-any.whl (109 kB)
|████████████████████████████████| 109 kB 22.0 MB/s
Requirement already satisfied: pyyaml in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from buildbot) (5.3.1)
Requirement already satisfied: python-dateutil>=1.5 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from buildbot) (2.8.1)
Collecting PyJWT
Downloading PyJWT-2.0.1-py3-none-any.whl (15 kB)
Requirement already satisfied: Jinja2>=2.1 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from buildbot) (2.11.2)
Collecting Twisted>=17.9.0
Downloading Twisted-20.3.0.tar.bz2 (3.1 MB)
|████████████████████████████████| 3.1 MB 24.9 MB/s
Requirement already satisfied: setuptools>=8.0 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from buildbot) (49.2.1)
Collecting cryptography>=2.9.2
Downloading cryptography-3.3.1-cp36-abi3-manylinux2010_x86_64.whl (2.6 MB)
|████████████████████████████████| 2.6 MB 18.1 MB/s
Collecting hyperlink>=20.0.1
Downloading hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
|████████████████████████████████| 74 kB 9.3 MB/s
Collecting sqlparse
Downloading sqlparse-0.4.1-py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 3.2 MB/s
Collecting Tempita>=0.4
Downloading Tempita-0.5.2.tar.gz (12 kB)
Requirement already satisfied: decorator in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from sqlalchemy-migrate>=0.13->buildbot) (4.4.2)
Collecting pbr>=1.8
Downloading pbr-5.5.1-py2.py3-none-any.whl (106 kB)
|████████████████████████████████| 106 kB 59.6 MB/s
Requirement already satisfied: six>=1.7.0 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from sqlalchemy-migrate>=0.13->buildbot) (1.15.0)
Requirement already satisfied: MarkupSafe>=0.23 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from Jinja2>=2.1->buildbot) (1.1.1)
Collecting constantly>=15.1
Downloading constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
Collecting incremental>=16.10.1
Using cached incremental-17.5.0-py2.py3-none-any.whl (16 kB)
Collecting Automat>=0.3.0
Downloading Automat-20.2.0-py2.py3-none-any.whl (31 kB)
Collecting PyHamcrest!=1.10.0,>=1.9.0
Downloading PyHamcrest-2.0.2-py3-none-any.whl (52 kB)
|████████████████████████████████| 52 kB 2.5 MB/s
Requirement already satisfied: attrs>=19.2.0 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from Twisted>=17.9.0->buildbot) (20.2.0)
Requirement already satisfied: cffi>=1.12 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from cryptography>=2.9.2->autobahn>=0.16.0->buildbot) (1.14.3)
Requirement already satisfied: idna>=2.5 in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from hyperlink>=20.0.1->autobahn>=0.16.0->buildbot) (2.10)
Requirement already satisfied: pycparser in /home/filbot/.pyenv/versions/3.8.6/lib/python3.8/site-packages (from cffi>=1.12->cryptography>=2.9.2->autobahn>=0.16.0->buildbot) (2.20)
Using legacy 'setup.py install' for Twisted, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Tempita, since package 'wheel' is not installed.
Installing collected packages: sqlalchemy, zope.interface, txaio, cryptography, hyperlink, autobahn, sqlparse, Tempita, pbr, sqlalchemy-migrate, PyJWT, constantly, incremental, Automat, PyHamcrest, Twisted, buildbot
Running setup.py install for Tempita ... done
Running setup.py install for Twisted ... done
Successfully installed Automat-20.2.0 PyHamcrest-2.0.2 PyJWT-2.0.1 Tempita-0.5.2 Twisted-20.3.0 autobahn-20.12.3 buildbot-2.10.0 constantly-15.1.0 cryptography-3.3.1 hyperlink-21.0.0 incremental-17.5.0 pbr-5.5.1 sqlalchemy-1.3.22 sqlalchemy-migrate-0.13.0 sqlparse-0.4.1 txaio-20.12.1 zope.interface-5.2.0
WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available.
You should consider upgrading via the '/home/filbot/.pyenv/versions/3.8.6/bin/python -m pip install --upgrade pip' command.
╭─filbot@oryx-pop ~/Documents/Development/Buildbot
╰─➤ poetry add 'buildbot[tls]'
Using version ^2.10.0 for buildbot
Updating dependencies
Resolving dependencies... (0.0s)
SolverProblemError
Because buildbot[tls] (2.10.0) depends on buildbot (2.10.0)
and no versions of buildbot match >2.10.0,<3.0.0, buildbot[tls] (>=2.10.0,<3.0.0) requires buildbot (2.10.0).
So, because buildbot depends on buildbot[tls] (^2.10.0)
and buildbot is 0.1.0, version solving failed.
at ~/.poetry/lib/poetry/puzzle/solver.py:241 in _solve
237│ packages = result.packages
238│ except OverrideNeeded as e:
239│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
240│ except SolveFailure as e:
→ 241│ raise SolverProblemError(e)
242│
243│ results = dict(
244│ depth_first_search(
245│ PackageNode(self._package, packages), aggregate_package_nodes
╭─filbot@oryx-pop ~/Documents/Development/Buildbot
╰─➤ poetry add buildbot 1 ↵
Using version ^2.10.0 for buildbot
Updating dependencies
Resolving dependencies... (0.0s)
AssertionError
at ~/.poetry/lib/poetry/mixology/incompatibility.py:111 in __str__
107│ )
108│
109│ def __str__(self):
110│ if isinstance(self._cause, DependencyCause):
→ 111│ assert len(self._terms) == 2
112│
113│ depender = self._terms[0]
114│ dependee = self._terms[1]
115│ assert depender.is_positive()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment