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

Jeremy Hansen jebrhansen+SBo at gmail.com
Tue Sep 10 18:55:00 UTC 2024


On Tue, Sep 10, 2024, 10:39 AM fourtysixandtwo <fourtysixandtwo at sliderr.net>
wrote:

> On Tue, Sep 10, 2024 at 10:06 AM Jeremy Hansen <jebrhansen+SBo at gmail.com>
> wrote:
> > Do you know what issue/error this is addressing when building (if any)?
>
> None that I'm aware of other than the hard version requirement for
> setuptools and hatchling.


Cool, because I have a bunch of

export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION

and a few

export PDM_BUILD_SCM_VERSION=$VERSION

to fix some issue with versions not being detected properly during build
time (although, I believe several are due to me choosing GitHub tarballs
instead of PyPi, which are packaged differently). If those hacks were to be
fixed by these updates, I'd remove them.

You made me curious and I have found the
> following.  I can remove these in my branch if you'd like?:
>
> ./python/python3-tox/python3-tox.SlackBuild:sed -i 's|=1\.25|=1\.22|'
> pyproject.toml     # hatchling
> ./python/python3-tox/python3-tox.SlackBuild:sed -i 's|=24\.1|=21\.3|'
> pyproject.toml     # packaging
> ./python/python3-pyproject-api/python3-pyproject-api.SlackBuild:sed -i
> 's|1\.24\.2|1\.18|' pyproject.toml  # hatchling
> ./python/python3-pyproject-api/python3-pyproject-api.SlackBuild:sed -i
> 's|24\.1|21\.0|' pyproject.toml     # packaging
>
> Cheers!
>

Go for it! It's easier than me trying to merge your changes and submit a PR
this week.

Thanks!

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240910/b0693d6d/attachment-0001.htm>


More information about the SlackBuilds-users mailing list