TLS update in the Readme file
This commit is contained in:
24
ReadMe.md
24
ReadMe.md
@@ -39,8 +39,8 @@ explicit = true
|
||||
```
|
||||
|
||||
```sh
|
||||
uv build --native-tls
|
||||
uv publish --index egra-gitea --token <gitea token> --native-tls
|
||||
uv build
|
||||
uv publish --index egra-gitea --token <gitea token>
|
||||
```
|
||||
|
||||
## Test package
|
||||
@@ -48,7 +48,7 @@ uv publish --index egra-gitea --token <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'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user