Open fabfabBesnard opened 2 years ago
try in a new conda env:
same error happens again.
trying to build a docker image locally with the procedure of the readme fails with the same error:
Building plantdb (0.1.0)
ValueError
plantdb is not a package.
at ~/.local/lib/python3.8/site-packages/poetry/core/masonry/utils/package_include.py:80 in check_elements
76│ self._package = root.name
77│ self._elements = sorted(list(root.glob("**/*"))) # type: List[Path]
78│
79│ if not self.is_stub_only() and not self.has_modules():
→ 80│ raise ValueError("{} is not a package.".format(root.name))
81│
82│ self._is_package = True
83│ else:
84│ self._package = root.stem
The command '/bin/bash -c source /venv/bin/activate && poetry install -n --no-dev --no-root && poetry build && /venv/bin/pip install dist/*.whl' returned a non-zero code: 1
docker build failed with 1 code
Conclusion: There is something which either I do not understand in the install procedure or which is not really reproducible.
bug report. System: Ubuntu 20.04.4 LTS Terminal: virtual environment with miniconda3 -> python 3.8.10 -> poetry 1.1.13 -> pip-22.0.3
$: poetry install #command used