On 10/8/23 16:06, Elliott Sales de Andrade wrote:
On Sun, Oct 8, 2023 at 10:20 AM Orion Poplawski
<orion(a)nwra.com> wrote:
>
> With the update to conda 23.5.2 and using the pyproject macros, the
> conda package is no longer producing the /usr/bin/conda-env launcher
> script which is causing problems.
What problems specifically?
> I don't know how I can get that back with the current build system. Any
> help would be greatly appreciated.
Upstream appears to have changed to hatch, and there's no entry for a
conda-env script [1], so it's up to them, and is either intentional or
an oversight.
And given [2], it doesn't appear that `conda-env` has much life left,
so it seems intentional.
But in any case, it seems like something you should confirm with upstream.
> Thanks.
>
> --
> Orion Poplawski
[1]
https://github.com/conda/conda/commit/0a255799567ba28f421a1fe7309c5336cbc...
[2]
https://github.com/conda/conda/commit/da31c933fec50e7242f3ecb4b90e586bd38...
Thanks. Figured out that the new location in pyproject.toml is in
[project.scripts] and re-added conda-env to that and reset conda to the
regular conda main.
Upstream expects one to install a separate conda-env package into the
environment. Upstream doesn't really support the mode we are using with
Fedora, so we have to do some tweaking.
--
Orion Poplawski
he/him/his - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/