Package Details: python-conda 24.11.3-1

Git Clone URL: https://aur.archlinux.org/python-conda.git (read-only, click to copy)
Package Base: python-conda
Description: OS-agnostic, system-level binary package manager and ecosystem https://conda.io
Upstream URL: https://github.com/conda/conda
Licenses: BSD-3-Clause
Provides: python-conda, python-conda-env
Submitter: cyrevolt
Maintainer: flying-sheep (brianrobt)
Last Packager: brianrobt
Votes: 34
Popularity: 0.68
First Submitted: 2016-04-08 07:41 (UTC)
Last Updated: 2025-01-10 14:45 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

brianrobt commented on 2024-08-04 19:40 (UTC)

I just uploaded python-libmamba v1.5.8. I'm going to try to get the latest conda version out today or later this week.

flying-sheep commented on 2024-07-23 10:15 (UTC) (edited on 2024-07-23 10:17 (UTC) by flying-sheep)

Wait, why did this not happen yet? seems easy.

The only thing missing is that we’d need to package python-libmamba (the new default solver) as well, but that’s exactly the feature I want from v24.

https://github.com/mamba-org/mamba/tree/main/libmambapy

diff --git a/.SRCINFO b/.SRCINFO
index 5927291..837c37d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = python-conda
    pkgdesc = OS-agnostic, system-level binary package manager and ecosystem https://conda.io
-   pkgver = 23.1.0
+   pkgver = 24.7.0
    pkgrel = 1
    url = https://github.com/conda/conda
    arch = any
@@ -17,7 +17,7 @@ pkgbase = python-conda
    provides = python-conda-env
    options = !emptydirs
    backup = etc/conda/condarc
-   source = conda-23.1.0.tar.gz::https://github.com/conda/conda/archive/23.1.0.tar.gz
-   sha512sums = 43a9786efbee9d1de9f7b19b852a34d6bf120e3e93adf13ac67094b0f53b608fc52fd7d98c478af5e8d679d62bdd7acd339b07f0344b15507554c98eea86caff
+   source = conda-24.7.0.tar.gz::https://github.com/conda/conda/archive/24.7.0.tar.gz
+   sha512sums = 462232352b8237be623800709c4f627b21b5c5fea16fe7800031b3f4db888154522fdfa5fb1b49fed3b079b048f98ca3b2fde999e8db9973366fb6a258dd3d6e

 pkgname = python-conda
diff --git a/PKGBUILD b/PKGBUILD
index 52ae7f2..a5e6937 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=python-conda
 _name=${pkgname#python-}
-pkgver=23.1.0
+pkgver=24.7.0
 pkgrel=1
 pkgdesc="OS-agnostic, system-level binary package manager and ecosystem https://conda.io"
 arch=('any')
@@ -11,21 +11,21 @@ url="https://github.com/conda/conda"
 license=('BSD')
 depends=(
   'python>=3.7'
-  'python-setuptools'
+  'python-boltons'
   'python-conda-package-handling'
   'python-pluggy>=1.0.0'
   'python-pycosat>=0.6.3'
   'python-requests>=2.20.1'
   'python-ruamel-yaml>=0.11.14'
 )
-makedepends=('python-setuptools')
+makedepends=(python-hatch-vcs python-build python-installer python-wheel)
 provides=('python-conda' 'python-conda-env')
 options=(!emptydirs)
 backup=(etc/conda/condarc)
 source=(
   $_name-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz
 )
-sha512sums=('43a9786efbee9d1de9f7b19b852a34d6bf120e3e93adf13ac67094b0f53b608fc52fd7d98c478af5e8d679d62bdd7acd339b07f0344b15507554c98eea86caff')
+sha512sums=('462232352b8237be623800709c4f627b21b5c5fea16fe7800031b3f4db888154522fdfa5fb1b49fed3b079b048f98ca3b2fde999e8db9973366fb6a258dd3d6e')

 prepare() {
   cd $srcdir/${_name}-$pkgver
@@ -40,17 +40,17 @@ prepare() {
   # echo 'set _CONDA_EXE=/usr/bin/conda' | cat - conda/shell/etc/profile.d/conda.csh > conda.csh
   # echo 'export CONDA_EXE=/usr/bin/conda' | cat - conda/shell/etc/profile.d/conda.sh > conda.sh
   echo -e 'envs_dirs:\n  - ~/.conda/envs\npkgs_dirs:\n  - ~/.conda/pkgs' > condarc
-  sed -i "s/'conda=conda\.cli\.main_pip:main'/'conda=conda\.cli\.main:main','conda-env=conda_env\.cli\.main:main'/" setup.py
+  sed -i 's/conda = "conda.cli.main_pip:main"/conda = "conda.cli.main:main"\nconda-env = "conda_env.cli.main:main"/' pyproject.toml
 }

 build() {
   cd $srcdir/${_name}-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }

 package() {
   cd $srcdir/${_name}-$pkgver
-  python setup.py install --root=$pkgdir --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   rm -f conda/shell/bin/{,de}activate
   # for _bin in $(ls conda/shell/bin); do
   #   install -Dm 655 conda/shell/bin/$_bin $pkgdir/usr/bin/$_bin
@@ -64,7 +64,7 @@ package() {
   ln -s ${_dir_sitepackage}/conda/shell/etc/profile.d/conda.csh $pkgdir/etc/profile.d/conda.csh
   ln -s ${_dir_sitepackage}/conda/shell/etc/profile.d/conda.sh $pkgdir/etc/profile.d/conda.sh
   install -Dm 644 condarc $pkgdir/etc/conda/condarc
-  install -Dm 644 LICENSE.txt $pkgdir/usr/share/licenses/${pkgname}/LICENSE.txt
+  install -Dm 644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
 }

 # vim:set ts=2 sw=2 et:

flying-sheep commented on 2024-07-23 09:41 (UTC)

It would be really good to have the new version, as it comes with the new fast libmamba solver.

iyanmv commented on 2024-04-22 08:33 (UTC)

specter119: thanks ;) I will try to update it today or tomorrow.

specter119 commented on 2024-04-22 06:35 (UTC)

@iyanmv I agree, orphaned, and thanks.

iyanmv commented on 2024-04-21 20:46 (UTC)

specter119: this has been flagged as out of date for almost a year. Any plans to catch up with latest release? If you don't have the time anymore, perhaps consider orphaning the package so other people can help maintain it.

specter119 commented on 2023-08-29 02:21 (UTC)

@rafauke never mind, I will try to build it recently? seems harder than previously.

rafauke commented on 2023-08-28 15:19 (UTC) (edited on 2023-08-28 21:27 (UTC) by rafauke)

Hello @cyrevolt, I don't really want to maintain this package, apologies for the misunderstanding.

cyrevolt commented on 2023-08-28 14:11 (UTC)

I've added rafauke as another co-maintainer.

Hope that helps keeping this package more up to date. 🙂 They also file an orphan request. I will disown the package so they can take over. Good luck and thank you!

newsboost commented on 2023-03-02 08:26 (UTC)

@specter119: Thanks a lot! So, sounds like there isn't much difference between this and miniconda3, in that case I prefer the one that's mostly updated... About micromamba-bin: Never heard of that before, I'll look a bit into that and see if I should try it out, thanks!