circuit-maintenance-parser
circuit-maintenance-parser copied to clipboard
Documentation on Contributing - Needs Updating
Environment
- Python version: 3.x
- circuit_maintenance_parser version: latest
Expected Behavior
I expected that the invoke tasks would allow for the testing
Observed Behavior
- Errors due to no Dockerfile
Steps to Reproduce
- clone repo
- run
invoke build
- Get error that Dockerfile was not present
True, the library runs simple pytest testing without a container.
@jvanderaa
I made a quick update with this PR: https://github.com/networktocode/circuit-maintenance-parser/pull/212
Does it look alright to you?
On macOS using Poetry to install will fail. I haven't debugged further, but building numpy fails, though I'm not sure what it is that Poetry is trying to install as it doesn't include a number of required packages like pytest.
Installing packages with pip in a virtualenv work fine:
pip install pydantic chardet geopy tzwhere backoff icalendar netconan invoke toml click lxml pytest
pytest --log-cli-level=DEBUG --capture=tee-sys -k test_parsers
hi @slyngshede , which Poetry version are you using?
@chadell You can ignore my comment, it was related to running Python 3.11 and newer versions of NumPy.