PyPI tarball missing tests
jtojnar opened this issue · comments
I am trying to package this for NixOS and want to run the tests but they are not included in the tarball on PyPI:
============================= test session starts ==============================
platform linux -- Python 3.7.5, pytest-5.2.4, py-1.8.0, pluggy-0.13.0
rootdir: /build/asyncio_pool-0.4.1
plugins: asyncio-0.10.0
collected 0 items
============================ no tests ran in 0.00s =============================
ERROR: file not found: tests
I cannot obtain releases from Git either since there are no tags.
@jtojnar Created a tag for you:
% .venv/bin/pip install git+https://github.com/gistart/asyncio-pool.git@v0.4.1
Collecting git+https://github.com/gistart/asyncio-pool.git@v0.4.1
Cloning https://github.com/gistart/asyncio-pool.git (to revision v0.4.1) to /tmp/pip-req-build-906tqzt5
Building wheels for collected packages: asyncio-pool
Running setup.py bdist_wheel for asyncio-pool ... done
Stored in directory: /tmp/pip-ephem-wheel-cache-djk_3ba0/wheels/0e/87/a7/8436461aadd2797d2855d373090e6d6ddf09b6f9a04d0dc12b
Successfully built asyncio-pool
Installing collected packages: asyncio-pool
Successfully installed asyncio-pool-0.4.1
% .venv/bin/pip install asyncio-pool
Requirement already satisfied: asyncio-pool in ./.venv/lib/python3.8/site-packages (0.4.1)
% .venv/bin/pip install asyncio-pool==0.4.1
Requirement already satisfied: asyncio-pool==0.4.1 in ./.venv/lib/python3.8/site-packages (0.4.1)