pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-homeassistant: Change to py312



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Wed Apr 17 07:42:02 2024 -0400
Changeset:	48030b6f89968d2002c9dfd56dc451565535bdaf

Modified Files:
	py-homeassistant/Makefile

Log Message:
py-homeassistant: Change to py312

HA requires 3.12, as of 2024.4.
Add comments about blas/numpy.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=48030b6f89968d2002c9dfd56dc451565535bdaf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-homeassistant/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-homeassistant/Makefile b/py-homeassistant/Makefile
index 1f4501350c..207c16c7f7 100644
--- a/py-homeassistant/Makefile
+++ b/py-homeassistant/Makefile
@@ -34,9 +34,8 @@ META_PACKAGE=	yes
 
 ## PYTHON
 
-# HA 2023.8 requires Python 3.11
-# Guess that 3.12 is ok.
-PYTHON_VERSIONS_ACCEPTED=311 312
+# HA 2024.4 requires 3.12
+PYTHON_VERSIONS_ACCEPTED=312
 .include "../../lang/python/pyversion.mk"
 
 # Building HA in a venv requires virtualenv
@@ -60,6 +59,9 @@ USE_LANGUAGES+=	fortran77
 ## LIBRARIES needed to build modules that must be installed before HA runs
 
 # mjpeg needs numpy but does not install it
+# \todo Revisit this, as it seems likely no longer true.
+# \todo Sort out cblas vs openblas in terms of what numpy built in the
+# venv will use.
 DEPENDS+=	${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
 
 # The standard approach for recorder is to use pgsql.  HA uses this,


Home | Main Index | Thread Index | Old Index