Skip to content

Commit

Permalink
chore: update cp version to 2.6.2
Browse files Browse the repository at this point in the history
For now we target Zama's index but once 2.6.2 is on pypi we'll need to
change it (it will just be about removing the source argument from
pyproject.toml).
  • Loading branch information
fd0r committed May 29, 2024
1 parent f7ef473 commit e615e3b
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 52 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OPEN_PR="true"
# Force the installation of a Concrete Python version, which is very useful with nightly versions
# /!\ WARNING /!\: This version should NEVER be a wildcard as it might create some
# issues when trying to run it in the future.
CONCRETE_PYTHON_VERSION="concrete-python==2024.4.19"
CONCRETE_PYTHON_VERSION="concrete-python==2.6.2.dev20240529"

# Force the installation of Concrete Python's latest version, release-candidates included
# CONCRETE_PYTHON_VERSION="$$(poetry run python \
Expand Down Expand Up @@ -54,7 +54,7 @@ setup_env:
echo "Finished installing poetry lock."

echo "Installing $(CONCRETE_PYTHON_VERSION)" && \
poetry run python -m pip install -U --pre "$(CONCRETE_PYTHON_VERSION)"
poetry run python -m pip install -U --pre --extra-index-url https://pypi.zama.ai "$(CONCRETE_PYTHON_VERSION)"
"$(MAKE)" fix_omp_issues_for_intel_mac
poetry run python -c "import skorch" || true # Details above

Expand Down
10 changes: 5 additions & 5 deletions deps_licenses/licenses_linux_user.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ brevitas, 0.8.0, UNKNOWN
certifi, 2023.7.22, Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer, 3.3.2, MIT License
coloredlogs, 15.0.1, MIT License
concrete-python, 2024.4.19, BSD-3-Clause
concrete-python, 2.6.2.dev20240529, BSD-3-Clause
dependencies, 2.0.1, BSD License
dill, 0.3.8, BSD License
filelock, 3.13.4, The Unlicense (Unlicense)
Expand All @@ -24,18 +24,18 @@ nvidia-cublas-cu11, 11.10.3.66, Other/Proprietary License
nvidia-cuda-nvrtc-cu11, 11.7.99, Other/Proprietary License
nvidia-cuda-runtime-cu11, 11.7.99, Other/Proprietary License
nvidia-cudnn-cu11, 8.5.0.96, Other/Proprietary License
onnx, 1.16.1, Apache License v2.0
onnx, 1.15.0, Apache License v2.0
onnxconverter-common, 1.13.0, MIT License
onnxmltools, 1.11.0, Apache Software License
onnxoptimizer, 0.3.13, Apache License v2.0
onnxruntime, 1.18.0, MIT License
onnxruntime, 1.17.3, MIT License
packaging, 24.0, Apache Software License; BSD License
pandas, 2.0.3, BSD License
protobuf, 3.20.3, BSD-3-Clause
psutil, 5.9.8, BSD License
python-dateutil, 2.9.0.post0, Apache Software License; BSD License
pytz, 2024.1, MIT License
requests, 2.32.2, Apache Software License
requests, 2.32.1, Apache Software License
scikit-learn, 1.1.3, BSD License
scipy, 1.10.1, BSD License
six, 1.16.0, MIT License
Expand All @@ -46,7 +46,7 @@ sympy, 1.12, BSD License
tabulate, 0.8.10, MIT License
threadpoolctl, 3.4.0, BSD License
torch, 1.13.1, BSD License
tqdm, 4.66.4, MIT License; Mozilla Public License 2.0 (MPL 2.0)
tqdm, 4.66.2, MIT License; Mozilla Public License 2.0 (MPL 2.0)
typing_extensions, 4.5.0, Python Software Foundation License
tzdata, 2024.1, Apache Software License
urllib3, 2.2.1, MIT License
Expand Down
2 changes: 1 addition & 1 deletion deps_licenses/licenses_linux_user.txt.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4de769f5cd2b8cd3e1382d7f6b9b81db
615b685ceca77e80263dd7eacb57dcd6
10 changes: 5 additions & 5 deletions deps_licenses/licenses_mac_intel_user.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ brevitas, 0.8.0, UNKNOWN
certifi, 2023.7.22, Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer, 3.3.2, MIT License
coloredlogs, 15.0.1, MIT License
concrete-python, 2024.4.19, BSD-3-Clause
concrete-python, 2.6.2.dev20240529, BSD-3-Clause
dependencies, 2.0.1, BSD License
dill, 0.3.8, BSD License
filelock, 3.13.4, The Unlicense (Unlicense)
Expand All @@ -20,18 +20,18 @@ jsonpickle, 3.0.4, BSD License
mpmath, 1.3.0, BSD License
networkx, 3.1, BSD License
numpy, 1.23.5, BSD License
onnx, 1.16.1, Apache License v2.0
onnx, 1.15.0, Apache License v2.0
onnxconverter-common, 1.13.0, MIT License
onnxmltools, 1.11.0, Apache Software License
onnxoptimizer, 0.3.13, Apache License v2.0
onnxruntime, 1.18.0, MIT License
onnxruntime, 1.17.3, MIT License
packaging, 24.0, Apache Software License; BSD License
pandas, 2.0.3, BSD License
protobuf, 3.20.3, BSD-3-Clause
psutil, 5.9.8, BSD License
python-dateutil, 2.9.0.post0, Apache Software License; BSD License
pytz, 2024.1, MIT License
requests, 2.32.2, Apache Software License
requests, 2.32.1, Apache Software License
scikit-learn, 1.1.3, BSD License
scipy, 1.10.1, BSD License
six, 1.16.0, MIT License
Expand All @@ -42,7 +42,7 @@ sympy, 1.12, BSD License
tabulate, 0.8.10, MIT License
threadpoolctl, 3.4.0, BSD License
torch, 1.13.1, BSD License
tqdm, 4.66.4, MIT License; Mozilla Public License 2.0 (MPL 2.0)
tqdm, 4.66.2, MIT License; Mozilla Public License 2.0 (MPL 2.0)
typing_extensions, 4.5.0, Python Software Foundation License
tzdata, 2024.1, Apache Software License
urllib3, 2.2.1, MIT License
Expand Down
2 changes: 1 addition & 1 deletion deps_licenses/licenses_mac_intel_user.txt.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4de769f5cd2b8cd3e1382d7f6b9b81db
615b685ceca77e80263dd7eacb57dcd6
7 changes: 4 additions & 3 deletions deps_licenses/licenses_mac_silicon_user.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ brevitas, 0.8.0, UNKNOWN
certifi, 2023.7.22, Mozilla Public License 2.0 (MPL 2.0)
charset-normalizer, 3.3.2, MIT License
coloredlogs, 15.0.1, MIT License
concrete-python, 2024.4.19, BSD-3-Clause
concrete-python, 2.6.2.dev20240529, BSD-3-Clause
dependencies, 2.0.1, BSD License
dill, 0.3.8, BSD License
filelock, 3.13.4, The Unlicense (Unlicense)
Expand All @@ -31,7 +31,7 @@ protobuf, 3.20.3, BSD-3-Clause
psutil, 5.9.8, BSD License
python-dateutil, 2.9.0.post0, Apache Software License; BSD License
pytz, 2024.1, MIT License
requests, 2.32.2, Apache Software License
requests, 2.32.1, Apache Software License
scikit-learn, 1.1.3, BSD License
scipy, 1.10.1, BSD License
six, 1.16.0, MIT License
Expand All @@ -42,9 +42,10 @@ sympy, 1.12, BSD License
tabulate, 0.8.10, MIT License
threadpoolctl, 3.4.0, BSD License
torch, 1.13.1, BSD License
tqdm, 4.66.4, MIT License; Mozilla Public License 2.0 (MPL 2.0)
tqdm, 4.66.2, MIT License; Mozilla Public License 2.0 (MPL 2.0)
typing_extensions, 4.5.0, Python Software Foundation License
tzdata, 2024.1, Apache Software License
urllib3, 2.2.1, MIT License
xgboost, 1.6.2, Apache Software License
z3-solver, 4.13.0.0, MIT License
zipp, 3.18.1, MIT License
2 changes: 1 addition & 1 deletion deps_licenses/licenses_mac_silicon_user.txt.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4de769f5cd2b8cd3e1382d7f6b9b81db
5e424e2fdfb0fe158f7f91eccd528367
67 changes: 36 additions & 31 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ readme = "README.md"
# Investigate if it is better to fix specific versions or use lower and upper bounds
# FIXME: https://github.com/zama-ai/concrete-ml-internal/issues/2665
python = ">=3.8.1,<3.11"
concrete-python = "2.6.0-rc1"
concrete-python = {version="==2.6.2.dev20240529", source = "zama-pypi"}
# concrete-python = ">=2.6.2.dev20240523,<3.0"
setuptools = "65.6.3"
skops = {version = "0.5.0"}
xgboost = "1.6.2"
Expand All @@ -54,6 +55,12 @@ numpy = "1.23.5"
protobuf = "3.20.3"
pandas = "2.0.3"

# Needed to have the latest Concrete Python versions
[[tool.poetry.source]]
name = "zama-pypi"
url = "https://pypi.zama.ai/"
priority = "explicit"

[tool.poetry.dev-dependencies]
isort = "^5.10.1"
black = "^24.3.0"
Expand All @@ -78,6 +85,8 @@ mdformat = "^0.7.14"
mdformat_myst = "^0.1.4"
mdformat-toc = "^0.3.0"
pip-audit = "^2.1.0"
types-requests = "^2.32.0"
requests="^2.32.1"
jupyter = "^1.0.0"
py-progress-tracker = "0.6.0"
nbqa = "^1.3.1"
Expand All @@ -88,7 +97,6 @@ jinja2 = "^3.1.2"
LinkChecker = "^10.1.0"
kaggle = "^1.5.12"
tf2onnx = "^1.10.1"
types-requests = "^2.28.0"
transformers = "^4.38.0"
pdoc3 = "^0.10.0"
lazydocs = "^0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion script/make_utils/licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ then
fi

poetry install --only main
python -m pip install -U --pre "${CP_VERSION}"
python -m pip install -U --pre --extra-index-url https://pypi.zama.ai "${CP_VERSION}"
python -m pip install pip-licenses

# In --format=csv such that the column length (and so, the diff) do not change with longer
Expand Down

0 comments on commit e615e3b

Please sign in to comment.