[Slackbuilds-users] important info regarding python3-hatchling update

fourtysixandtwo fourtysixandtwo at sliderr.net
Tue Sep 10 15:03:34 UTC 2024


On Tue, Sep 10, 2024 at 8:13 AM Tim Dickson via SlackBuilds-users
<slackbuilds-users at slackbuilds.org> wrote:
>
> So are you saying wait till all the other build updates are pushed on
> the weekend, then install python3-packaging-opt,and update
> python3-setuptools-opt and python3-hatchling, and then all the packages
> that depend on them?.

Yes, my note about testing was more for the maintainers of those
slackbuilds.  Normal update process applies.  Those are only build
time deps so unless you are installing a new build or updating
something further up the chain that depends on them there's no need to
rebuild everything.  Testing is another story...

> thanks for the heads up on the extra dep. how many levels up should they
> be rebuilt?
> for example;
> pytrainer requires python3-matplotlib which requires python3-fonttols
> which requires python3-lz4 which requires python3-tox which requires
> colerama which requires python3-hatchling

Any build queue with python3-hatchling in it will look very close to
this snippet from the diff in my pytrainer.sqf file.

diff --git a/pytrainer.sqf b/pytrainer.sqf
index 3774971..2157e58 100644
--- a/pytrainer.sqf
+++ b/pytrainer.sqf
@@ -11,6 +11,7 @@ python3-installer
 python3-wheel
 python3-pyproject-hooks
 python3-build
+python3-packaging-opt
 python3-setuptools-opt
 python-zipp
 python-importlib_metadata

In others, python3-setuptools-opt will be added or moved further up
like in this example:

diff --git a/jupyter_server.sqf b/jupyter_server.sqf
index 353873b..52054e9 100644
--- a/jupyter_server.sqf
+++ b/jupyter_server.sqf
@@ -7,6 +7,8 @@ python3-pyproject-hooks
 python3-build
 send2trash
 python3-prometheus_client
+python3-packaging-opt
+python3-setuptools-opt
 python3-calver
 python3-trove-classifiers
 python3-pluggy
@@ -14,7 +16,6 @@ python3-pathspec
 python3-editables
 python3-hatchling
 python3-hatch_jupyter_builder
-python3-setuptools-opt
 python-zipp
 python-importlib_metadata
 python3-mdurl

> you have the last 3 in your list, but will the others need rebuilding as
> well, eg python3-lz4   ?

Only new or version updated slackbuilds will need rebuilding.

Hope that answers your questions


More information about the SlackBuilds-users mailing list