Closed kianmeng closed 1 year ago
Hi @kianmeng,
I believe your issue your being caused by not installing the required extras.
Please try poetry install -E test -E lint -E docs
to ensure you have all the requires development dependencies.
I apologize for my lacking here in updating and writing this documentation.
@BradenM Not working here?
$ poetry install -E test -E lint -E docs
Installing dependencies from lock file
Extra [test] is not specified.
$ poetry --version
Poetry (version 1.3.2)
@kianmeng Apologies, that was a mistake on my part.
What I meant was --with
to specify the optional dependency groups:
poetry install --with test --with lint --with docs
See: https://python-poetry.org/docs/master/managing-dependencies/#dependency-groups
Also, I would recommend using a more recent poetry version (>=1.4.1)
Describe the bug Cannot run test.
Expected Behavior
pytest
should run without errors.Current Behavior
Steps to Reproduce
git clone https://github.com/BradenM/micropy-cli.git
cd micropy-cli
poetry shell
poetry install
make test
Possible Solution
Logs
Context (Environment)
master
branch