Created attachment 235159 [details] A new port for databases/py-redis4 Add new port, databases/py-redis4 is the Python interface to the Redis key-value store(version 4.x), and I hope to rename databases/py-redis to databases/py-redis3. Because I couldn't decide if I could fix dependency on 3.x to 4.x. Many ports are effected, so fix dependency on databases/py-redis. Only databases/py-rb is not effected, it was already capped. I can't understand how to fix only databases/py-fakeredis, maybe...
Created attachment 235160 [details] A patch to fix dependency on databases/py-redis
Created attachment 235161 [details] A patch to fix dependency on databases/py-redis
I tested on following environment: ============================= test session starts ============================== platform freebsd13 -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0 -- /usr/local/bin/python3.10 cachedir: .pytest_cache rootdir: /usr/ports/databases/py-redis4/work-py310/redis-4.3.4 plugins: asyncio-0.18.3 asyncio: mode=auto And I got following result: ==================================== ERRORS ==================================== ______________________ ERROR collecting tests/test_ssl.py ______________________ tests/test_ssl.py:15: in <module> class TestSSL: tests/test_ssl.py:29: in TestSSL raise IOError(f"No SSL certificates found. They should be in {CERT_DIR}") E OSError: No SSL certificates found. They should be in /usr/ports/databases/py-redis4/work-py310/docker/stunnel/keys ------------------------------- Captured stderr -------------------------------- /usr/ports/databases/py-redis4/work-py310/redis-4.3.4/tests/test_ssl.py:14: PytestUnknownMarkWarning: Unknown pytest.mark.ssl - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.ssl !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 4.65s =============================== test_ssl.py is failed, but it's no problem.
Assign to himself.