Package Details: python-conda 25.1.1-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.116239
First Submitted: 2016-04-08 07:41 (UTC)
Last Updated: 2025-02-04 04:29 (UTC)

Pinned Comments

flying-sheep commented on 2025-01-06 13:01 (UTC)

You forgot to rebuild all your AUR python packages after that update. That's a necessary step and has nothing to do with our conda package.

See e.g. https://www.reddit.com/r/archlinux/comments/1hk2wii/comment/m3g11xz/

Please ask in the Arch BBS or on e.g. Reddit if you have further questions!

Latest Comments

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

ckchow commented on 2024-08-05 17:32 (UTC) (edited on 2024-08-05 22:16 (UTC) by ckchow)

I think this package has an untracked dependency on aur/python-boltons - got a missing package when updating to 24.7.1-1 that is resolved by installing aur/python-boltons. Resolved! thanks!

flying-sheep commented on 2024-08-05 16:00 (UTC)

thank you for the update!

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.