Skip to content

Instantly share code, notes, and snippets.

@himkt
Created July 16, 2020 10:01
Show Gist options
  • Save himkt/0cbdb631d1555cb96aafea347c5da1bb to your computer and use it in GitHub Desktop.
Save himkt/0cbdb631d1555cb96aafea347c5da1bb to your computer and use it in GitHub Desktop.
Sending build context to Docker daemon 81.92kB
Step 1/7 : FROM ubuntu:20.04
---> adafef2e596e
Step 2/7 : RUN apt update -y && apt install -y python3 python3-dev python3-venv python3-pip
---> Using cache
---> 5ed03d347c2e
Step 3/7 : RUN pip3 install poetry
---> Using cache
---> ea3716a0aa47
Step 4/7 : WORKDIR /workspace
---> Using cache
---> 3d8e45781231
Step 5/7 : COPY ./sample sample
---> Using cache
---> 6800352e8060
Step 6/7 : WORKDIR /workspace/sample
---> Using cache
---> c6d64131beb2
Step 7/7 : RUN poetry add -vvv konoha -E all_with_integrations
---> Running in 60a61f367670
Creating virtualenv sample-klLl-4N_-py3.8 in /root/.cache/pypoetry/virtualenvs
Using virtualenv: /root/.cache/pypoetry/virtualenvs/sample-klLl-4N_-py3.8
PyPI: 6 packages found for konoha *
Using version ^4.4.0 for konoha
Updating dependencies
Resolving dependencies...
1: fact: sample is 0.1.0
1: derived: sample
1: fact: sample depends on konoha (^4.4.0)
1: fact: sample depends on pytest (^3.0)
1: fact: sample depends on pytest (^3.0)
1: selecting sample (0.1.0)
1: derived: pytest (^3.0)
1: derived: konoha (^4.4.0)
PyPI: 44 packages found for pytest >=3.0,<4.0
PyPI: 1 packages found for konoha >=4.4.0,<5.0.0
PyPI: Getting info for konoha (4.4.0) from PyPI
1: fact: konoha (4.4.0) depends on overrides (3.0.0)
1: fact: konoha (4.4.0) depends on janome (>=0.3.10,<0.4.0)
1: fact: konoha (4.4.0) depends on natto-py (>=0.9.0,<0.10.0)
1: fact: konoha (4.4.0) depends on kytea (>=0.1.4,<0.2.0)
1: fact: konoha (4.4.0) depends on sentencepiece (>=0.1.85,<0.2.0)
1: fact: konoha (4.4.0) depends on sudachipy (0.4.5)
1: fact: konoha (4.4.0) depends on boto3 (>=1.11.0,<2.0.0)
1: fact: konoha (4.4.0) depends on allennlp (>=1.0.0,<2.0.0)
1: fact: konoha (4.4.0) depends on fastapi (>=0.54.1,<0.55.0)
1: fact: konoha (4.4.0) depends on uvicorn (>=0.11.5,<0.12.0)
1: fact: konoha (4.4.0) depends on sudachidict_core (>=20200330,<20200331)
1: selecting konoha (4.4.0)
1: derived: sudachidict_core (>=20200330,<20200331)
1: derived: uvicorn (>=0.11.5,<0.12.0)
1: derived: fastapi (>=0.54.1,<0.55.0)
1: derived: allennlp (>=1.0.0,<2.0.0)
1: derived: boto3 (>=1.11.0,<2.0.0)
1: derived: sudachipy (0.4.5)
1: derived: sentencepiece (>=0.1.85,<0.2.0)
1: derived: kytea (>=0.1.4,<0.2.0)
1: derived: natto-py (>=0.9.0,<0.10.0)
1: derived: janome (>=0.3.10,<0.4.0)
1: derived: overrides (3.0.0)
PyPI: 1 packages found for sudachidict-core >=20200330,<20200331
PyPI: 1 packages found for uvicorn >=0.11.5,<0.12.0
PyPI: 2 packages found for fastapi >=0.54.1,<0.55.0
PyPI: 1 packages found for allennlp >=1.0.0,<2.0.0
PyPI: No release information found for boto3-0.0.15, skipping
PyPI: 117 packages found for boto3 >=1.11.0,<2.0.0
PyPI: 1 packages found for sudachipy 0.4.5
PyPI: 5 packages found for sentencepiece >=0.1.85,<0.2.0
PyPI: 2 packages found for kytea >=0.1.4,<0.2.0
PyPI: No release information found for natto-py-0.0.4, skipping
PyPI: 3 packages found for natto-py >=0.9.0,<0.10.0
PyPI: 1 packages found for janome >=0.3.10,<0.4.0
PyPI: 1 packages found for overrides 3.0.0
PyPI: Getting info for sudachidict-core (20200330) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading sdist: SudachiDict-core-20200330.tar.gz
1: selecting sudachidict-core (20200330)
PyPI: Getting info for uvicorn (0.11.5) from PyPI
1: selecting uvicorn (0.11.5)
PyPI: Getting info for allennlp (1.0.0) from PyPI
1: selecting allennlp (1.0.0)
PyPI: Getting info for sudachipy (0.4.5) from PyPI
1: selecting sudachipy (0.4.5)
PyPI: Getting info for janome (0.3.10) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: Janome-0.3.10-py2.py3-none-any.whl
1: selecting janome (0.3.10)
PyPI: Getting info for overrides (3.0.0) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading sdist: overrides-3.0.0.tar.gz
1: selecting overrides (3.0.0)
PyPI: Getting info for fastapi (0.54.2) from PyPI
1: selecting fastapi (0.54.2)
PyPI: Getting info for kytea (0.1.5) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading sdist: kytea-0.1.5.tar.gz
1: selecting kytea (0.1.5)
PyPI: Getting info for natto-py (0.9.2) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading sdist: natto-py-0.9.2.tar.gz
1: selecting natto-py (0.9.2)
PyPI: Getting info for sentencepiece (0.1.92) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading sdist: sentencepiece-0.1.92.tar.gz
1: selecting sentencepiece (0.1.92)
PyPI: Getting info for pytest (3.10.1) from PyPI
1: fact: pytest (3.10.1) depends on py (>=1.5.0)
1: fact: pytest (3.10.1) depends on six (>=1.10.0)
1: fact: pytest (3.10.1) depends on attrs (>=17.4.0)
1: fact: pytest (3.10.1) depends on more-itertools (>=4.0.0)
1: fact: pytest (3.10.1) depends on atomicwrites (>=1.0)
1: fact: pytest (3.10.1) depends on pluggy (>=0.7)
1: fact: pytest (3.10.1) depends on colorama (*)
1: selecting pytest (3.10.1)
1: derived: colorama (*)
1: derived: pluggy (>=0.7)
1: derived: atomicwrites (>=1.0)
1: derived: more-itertools (>=4.0.0)
1: derived: attrs (>=17.4.0)
1: derived: six (>=1.10.0)
1: derived: py (>=1.5.0)
PyPI: 41 packages found for colorama *
PyPI: 9 packages found for pluggy >=0.7
PyPI: 7 packages found for atomicwrites >=1.0
PyPI: 17 packages found for more-itertools >=4.0.0
PyPI: 6 packages found for attrs >=17.4.0
PyPI: 6 packages found for six >=1.10.0
PyPI: No release information found for py-0.8.0-alpha2, skipping
PyPI: No release information found for py-0.9.0, skipping
PyPI: No release information found for py-1.4.32.dev1, skipping
PyPI: 10 packages found for py >=1.5.0
PyPI: Getting info for attrs (19.3.0) from PyPI
1: selecting attrs (19.3.0)
PyPI: Getting info for six (1.15.0) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: six-1.15.0-py2.py3-none-any.whl
1: selecting six (1.15.0)
PyPI: Getting info for atomicwrites (1.4.0) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: atomicwrites-1.4.0-py2.py3-none-any.whl
1: selecting atomicwrites (1.4.0)
PyPI: Getting info for pluggy (0.13.1) from PyPI
1: fact: pluggy (0.13.1) depends on importlib-metadata (>=0.12)
1: selecting pluggy (0.13.1)
1: derived: importlib-metadata (>=0.12)
PyPI: 26 packages found for importlib-metadata >=0.12
PyPI: Getting info for py (1.9.0) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: py-1.9.0-py2.py3-none-any.whl
1: selecting py (1.9.0)
PyPI: Getting info for more-itertools (8.4.0) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: more_itertools-8.4.0-py3-none-any.whl
1: selecting more-itertools (8.4.0)
PyPI: Getting info for importlib-metadata (1.7.0) from PyPI
1: fact: importlib-metadata (1.7.0) depends on zipp (>=0.5)
1: selecting importlib-metadata (1.7.0)
1: derived: zipp (>=0.5)
PyPI: 15 packages found for zipp >=0.5
PyPI: Getting info for zipp (3.1.0) from PyPI
1: selecting zipp (3.1.0)
PyPI: Getting info for colorama (0.4.3) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: colorama-0.4.3-py2.py3-none-any.whl
1: selecting colorama (0.4.3)
PyPI: Getting info for boto3 (1.14.21) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: boto3-1.14.21-py2.py3-none-any.whl
1: selecting boto3 (1.14.21)
1: Version solving took 1.756 seconds.
1: Tried 1 solutions.
Writing lock file
[SolverProblemError]
Because no versions of konoha match >4.4.0,<5.0.0
and konoha (4.4.0) depends on sudachidict_core (>=20200330,<20200331), konoha (>=4.4.0,<5.0.0) requires sudachidict_core (>=20200330,<20200331).
So, because no versions of sudachidict-core match >=20200330,<20200331
and sample depends on konoha (^4.4.0), version solving failed.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/clikit/console_application.py", line 131, in run
status_code = command.handle(parsed_args, io)
File "/usr/local/lib/python3.8/dist-packages/clikit/api/command/command.py", line 120, in handle
status_code = self._do_handle(args, io)
File "/usr/local/lib/python3.8/dist-packages/clikit/api/command/command.py", line 171, in _do_handle
return getattr(handler, handler_method)(args, io, self)
File "/usr/local/lib/python3.8/dist-packages/cleo/commands/command.py", line 92, in wrap_handle
return self.handle()
File "/usr/local/lib/python3.8/dist-packages/poetry/console/commands/add.py", line 149, in handle
status = installer.run()
File "/usr/local/lib/python3.8/dist-packages/poetry/installation/installer.py", line 74, in run
self._do_install(local_repo)
File "/usr/local/lib/python3.8/dist-packages/poetry/installation/installer.py", line 225, in _do_install
ops = solver.solve(use_latest=whitelist)
File "/usr/local/lib/python3.8/dist-packages/poetry/puzzle/solver.py", line 36, in solve
packages, depths = self._solve(use_latest=use_latest)
File "/usr/local/lib/python3.8/dist-packages/poetry/puzzle/solver.py", line 190, in _solve
raise SolverProblemError(e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment