From 051b93f2d82a50373f84eb890f6e817e39fa6bfc Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 8 Jul 2025 17:46:00 +0900 Subject: [PATCH] TLS update in the Readme file --- ReadMe.md | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index da7a4ac..e0fecce 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -39,8 +39,8 @@ explicit = true ``` ```sh -uv build --native-tls -uv publish --index egra-gitea --token --native-tls +uv build +uv publish --index egra-gitea --token ``` ## Test package @@ -48,7 +48,7 @@ uv publish --index egra-gitea --token --native-tls We must set the full index URL here because we run with "--no-project" ```sh -uv run --with corelibs --index egra-gitea=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ --no-project --native-tls -- python -c "import corelibs" +uv run --with corelibs --index egra-gitea=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ --no-project -- python -c "import corelibs" ``` ### Python tests @@ -72,15 +72,15 @@ uv run pytest --cov=corelibs In the test-run folder usage and run tests are located ```sh -uv run --native-tls test-run/progress/progress_test.py +uv run test-run/progress/progress_test.py ``` ```sh -uv run --native-tls test-run/double_byte_string_format/double_byte_string_format.py +uv run test-run/double_byte_string_format/double_byte_string_format.py ``` ```sh -uv run --native-tls test-run/timestamp_strings/timestamp_strings.py +uv run test-run/timestamp_strings/timestamp_strings.py ``` ## How to install in another project @@ -88,7 +88,7 @@ uv run --native-tls test-run/timestamp_strings/timestamp_strings.py This will also add the index entry ```sh -uv add corelibs --index egra-gitea=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ --native-tls +uv add corelibs --index egra-gitea=https://git.egplusww.jp/api/packages/PyPI/pypi/simple/ ``` ## Python venv setup @@ -104,3 +104,13 @@ Install all neded dependencies ```sh uv sync ``` + +## NOTE on TLS problems + +> [!warning] TLS problems with Netskope + +If the Netskope service is running all uv runs will fail unless either --native-tls is set or the enviroment variable SSL_CERT_FILE is set, see blow + +```sh +export SSL_CERT_FILE='/Library/Application Support/Netskope/STAgent/data/nscacert_combined.pem' +```