From f4332843bc71596e99e53905779e65ea6c1cfef8 Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Thu, 22 Jun 2023 12:29:00 +0000
Subject: [PATCH] Increased stable version to 8.0.0

---
 README.md      |  6 ++---
 pyproject.toml | 62 +++++++++++++++++++++++++++-----------------------
 2 files changed, 36 insertions(+), 32 deletions(-)

diff --git a/README.md b/README.md
index 6f3c8796..94714977 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-[![badge doc](https://img.shields.io/badge/docs-latest-orange.svg)](https://www.idiap.ch/software/bob/docs/bob/bob.bio.face/master/sphinx/index.html)
-[![badge pipeline](https://gitlab.idiap.ch/bob/bob.bio.face/badges/master/pipeline.svg)](https://gitlab.idiap.ch/bob/bob.bio.face/commits/master)
-[![badge coverage](https://gitlab.idiap.ch/bob/bob.bio.face/badges/master/coverage.svg)](https://www.idiap.ch/software/bob/docs/bob/bob.bio.face/master/coverage/)
+[![badge doc](https://img.shields.io/badge/docs-v8.0.0-orange.svg)](https://www.idiap.ch/software/bob/docs/bob/bob.bio.face/v8.0.0/sphinx/index.html)
+[![badge pipeline](https://gitlab.idiap.ch/bob/bob.bio.face/badges/v8.0.0/pipeline.svg)](https://gitlab.idiap.ch/bob/bob.bio.face/commits/v8.0.0)
+[![badge coverage](https://gitlab.idiap.ch/bob/bob.bio.face/badges/v8.0.0/coverage.svg)](https://www.idiap.ch/software/bob/docs/bob/bob.bio.face/v8.0.0/coverage/)
 [![badge gitlab](https://img.shields.io/badge/gitlab-project-0000c0.svg)](https://gitlab.idiap.ch/bob/bob.bio.face)
 
 # Run face recognition algorithms
diff --git a/pyproject.toml b/pyproject.toml
index 8a1db45b..02053616 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@
 
 [project]
     name            = "bob.bio.face"
-    version         = "7.1.3b0"
+    version         = "8.0.0"
     requires-python = ">=3.9"
     description     = "Tools for running face recognition experiments"
     dynamic         = ["readme"]
@@ -24,26 +24,26 @@
         "Topic :: Scientific/Engineering :: Artificial Intelligence",
     ]
     dependencies = [
-        "bob",
-        "bob.io.base",
-        "bob.measure",
-        "bob.bio.base",
-        "bob.pipelines",
-        "clapper",
-        "imageio-ffmpeg",
-        "matplotlib",
+        "bob==12.0.0",
+        "bob.io.base==5.1.0",
+        "bob.measure==6.1.0",
+        "bob.bio.base==8.0.0",
+        "bob.pipelines==4.0.0",
+        "clapper==1.0.1",
+        "imageio-ffmpeg==0.4.8",
+        "matplotlib==3.6.2",
         "opencv-python",
-        "pytorch-lightning",
-        "scikit-image",
-        "scikit-learn",
-        "torch",
-        "torchvision",
+        "pytorch-lightning==1.8.1",
+        "scikit-image==0.19.3",
+        "scikit-learn==1.1.2",
+        "torch==1.13.0",
+        "torchvision==0.14.0",
         # Somehow fsspec's backend requires aiohttp but it is not installed:
         "aiohttp",
     ]
 
 [project.urls]
-    documentation = "https://www.idiap.ch/software/bob/docs/bob/bob.bio.face/master/sphinx/"
+    documentation = "https://www.idiap.ch/software/bob/docs/bob/bob.bio.face/v8.0.0/sphinx/"
     homepage      = "https://pypi.org/project/bob.bio.face/"
     repository    = "https://gitlab.idiap.ch/bob/bob.bio.face"
     changelog     = "https://gitlab.idiap.ch/bob/bob.bio.face/-/releases"
@@ -51,24 +51,24 @@
 [project.optional-dependencies]
     qa  = ["pre-commit"]
     doc = [
-        "sphinx",
-        "sphinx_rtd_theme",
-        "sphinx-autodoc-typehints",
-        "auto-intersphinx",
-        "sphinxcontrib-programoutput",
-        "matplotlib",
-        "dask-ml",
-        "tensorflow",
+        "sphinx==5.3.0",
+        "sphinx-rtd-theme==1.1.1",
+        "sphinx-autodoc-typehints==1.21.8",
+        "auto-intersphinx==1.0.2",
+        "sphinxcontrib-programoutput==0.17",
+        "matplotlib==3.6.2",
+        "dask-ml==2022.5.27",
+        "tensorflow==2.11.0; sys_platform != \"darwin\"",
         ]
     test = [
-        "pytest",
-        "pytest-cov",
-        "coverage",
-        "dask",
+        "pytest==7.2.1",
+        "pytest-cov==4.0.0",
+        "coverage==7.0.5",
+        "dask==2023.1.0",
         # dev-profile constraints will set the extras of tensorflow and
         # tensorflow-macos according to the current OS. Leave both deps in here:
-        "tensorflow",
-        "tensorflow-macos",
+        "tensorflow==2.11.0; sys_platform != \"darwin\"",
+        "tensorflow-macos==2.11.0; sys_platform == \"darwin\"",
         ]
 
 [tool.setuptools]
@@ -283,3 +283,7 @@
     ]
     junit_logging           = "all"
     junit_log_passing_tests = false
+
+[profile]
+    repository_url = "git@gitlab.idiap.ch:bob/dev-profile.git"
+    commit_hash = "ade723be1f11feddb7bece235de32cc98953dc07"
-- 
GitLab