Hi everyone,

Amongst some recent changes I have just updated the dependencies for the bloodhound-core project. In moving to Django 4, the minimum Python version becomes 3.8.

I was tempted to specify Python 3.10+ but I think that decision can be deferred to a point where we might want to use some of the newer language features. I think the only downside to newer python versions is the range of linux distro versions that might be able to run the project using python packages from the repos.

Cheers,
    Gary

On 14/03/2022 13:31, [email protected] wrote:
This is an automated email from the ASF dual-hosted git repository.

gjm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bloodhound-core.git


The following commit(s) were added to refs/heads/main by this push:
      new a3c95e3  Update to Django 4 and minimum python 3.8
a3c95e3 is described below

commit a3c95e3258c6561dd3e4e6d483170eb869680ab6
Author: Gary Martin <[email protected]>
AuthorDate: Mon Mar 14 13:28:23 2022 +0000

     Update to Django 4 and minimum python 3.8
---
  README.md      |  2 +-
  pyproject.toml | 11 ++++++-----
  2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index eef74ec..c093bbf 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ This version of Apache Bloodhound requires Python, Poetry and 
Django.
### Installing Python -The versions of Python that can be used are currently 3.6, 3.7, 3.8 and 3.9.
+The versions of Python that can be used are currently 3.8, 3.9 and 3.10.
Where convenient is it sensible to go for the newest release of Python that
  you can.
diff --git a/pyproject.toml b/pyproject.toml
index 025e0d5..94367d4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,12 +6,13 @@ authors = ["Apache Bloodhound <[email protected]>"]
  license = "Apache-2.0"
[tool.poetry.dependencies]
-python = "^3.6"
-django = "^3.2.2"
-django-rest-framework = "^0.1.0"
+python = "^3.8"
+Django = "^4.0.3"
+djangorestframework = "^3.13.1"
+Markdown = "^3.3.6"
  drf-yasg = "^1.20.0"
-drf-nested-routers = "^0.93.3"
-pyyaml = "^5.4.1"
+drf-nested-routers = "^0.93.4"
+PyYAML = "^6.0"
  psycopg2 = { version = "^2.9", optional = true }
  psycopg2-binary = { version = "^2.9", optional = true }

Reply via email to