Package Details: python-conda 24.11.2-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.87
First Submitted: 2016-04-08 07:41 (UTC)
Last Updated: 2025-01-03 04:35 (UTC)

Latest Comments

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

brianrobt commented on 2024-08-09 13:09 (UTC)

@flying-sheep, Testing it out. Thanks for all your help on this! I'm still a bit new to writing PKGBUILDs. How are you finding these dependencies? I've been using namcap but either I'm using it wrong or it's not the right tool.

flying-sheep commented on 2024-08-09 10:47 (UTC) (edited on 2024-08-09 10:47 (UTC) by flying-sheep)

missing dependency: python-archspec

flying-sheep commented on 2024-08-09 10:26 (UTC)

Hm, this seems to install some weird main_pip entrypoint that refuses to do anything.

I think in the installed script ($pkgdir/usr/bin/conda), the main_pip needs to be replaced with main before it works.

brianrobt commented on 2024-08-09 02:31 (UTC)

@fightingff, This should be resolved now.

fightingff commented on 2024-08-06 00:19 (UTC) (edited on 2024-08-09 06:39 (UTC) by fightingff)

why I got circular dependencies between python-conda, python-conda-package-streaming, and python-conda-package-handling

Resolved, thanks!

brianrobt commented on 2024-08-05 20:30 (UTC)

@ckchow, Thanks for reporting that. I've uploaded a new version with the dependencies updated.

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: