CybercentreCanada / Maco

Maco - Malware config extractor framework
MIT License
24 stars 9 forks source link

Ensure setuptools, wheel, and pip is present when initializing environment when using `uv` #59

Open cccs-rs opened 2 days ago

cccs-rs commented 2 days ago

Related to: https://github.com/CybercentreCanada/Maco/issues/57

seb-acsc commented 1 day ago

Unfortunately, doesn't seem to help with a fresh tox and virtual environment. I'm on Ubuntu 22.04.4 LTS and seeing tests succeed on 3.8 & 3.9 but fail on 3.11 and 3.12 in tox.

cccs-ml commented 17 hours ago

I can also replicate outside of tox.

Creating a new venv where setuptools and wheel are not pre-installed. Install pytest, requirements.txt and tests/requirements.txt. Run python -m pytest.