Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid curl_easy_setopt error logs #1641

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ install = { depends_on = [
"install-pre-commit",
] }
# Julia
update-registry-julia = "julia --eval='using Pkg; Registry.update()'"
update-manifest-julia = "julia --project --eval='using Pkg; Pkg.update()'"
instantiate-julia = "julia --project --eval='using Pkg; Pkg.instantiate()'"
## Due to an issue with curl and openssl the SSL_CERT_FILE and SSL_CERT_DIR
## have to be cleared https://github.com/JuliaLang/Downloads.jl/issues/244
update-registry-julia = { cmd = "julia --eval='using Pkg; Registry.update()'", env = { SSL_CERT_FILE = "", SSL_CERT_DIR="" } }
update-manifest-julia = { cmd ="julia --project --eval='using Pkg; Pkg.update()'", env = { SSL_CERT_FILE = "", SSL_CERT_DIR="" } }
instantiate-julia = { cmd ="julia --project --eval='using Pkg; Pkg.instantiate()'", env = { SSL_CERT_FILE = "", SSL_CERT_DIR="" } }
initialize-julia = { depends_on = [
"update-registry-julia",
"instantiate-julia",
Expand Down Expand Up @@ -102,7 +104,7 @@ codegen = { cmd = "julia --project utils/gen_python.jl && ruff format python/rib
"core",
], outputs = [
"python/ribasim/ribasim/schemas.py",
] }
], env = { SSL_CERT_FILE = "", SSL_CERT_DIR="" } }
# Publish
build-ribasim-python-wheel = { cmd = "rm --recursive --force dist && python -m build && twine check dist/*", cwd = "python/ribasim" }
build-ribasim-api-wheel = { cmd = "rm --recursive --force dist && python -m build && twine check dist/*", cwd = "python/ribasim_api" }
Expand Down
Loading