datacontract / datacontract-cli

CLI to manage your datacontract.yaml files
https://cli.datacontract.com
Other
468 stars 88 forks source link

Development Env. is broken #329

Closed mustafaileri closed 2 months ago

mustafaileri commented 3 months ago

Hello, I have just cloned your repo to my local to contribute. I follow the instructions to set up from README. I got this error message when I run pytest: (venv) ☁ datacontract-cli [main] pytest ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: unrecognized arguments: -n inifile: /Users/mileri/Code/datacontract-cli/pyproject.toml rootdir: /Users/mileri/Code/datacontract-cli My Python version is: Python 3.11.9

Suggestion: Also it would be great to manage it via poetry.

You can consider this or if only I have this problem; please feel free to close this ticket. I can find another way to run to locally ;)

jochenchrist commented 3 months ago

Was pip install -e '.[dev]' successful?

The -n comes from pytest-xdist to run tests in parallel, that should be included with the dev extra.

mustafaileri commented 3 months ago

Yes, it was. As far as I see everything worked smoothly.

jochenchrist commented 3 months ago

Anyone else having this issue?

jochenchrist commented 2 months ago

Closing as cannot reproduce.