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 .. 11 Next › Last »

Melody666 commented on 2024-09-26 10:09 (UTC) (edited on 2024-09-26 10:10 (UTC) by Melody666)

Any attempt to install this package has failed miserably for me, because of borked python-libmamba dependency. Any attempt to patch python-libmamba has also failed miserably for me.

Here's how I managed to install it: First, clone this repo Second, remove python-libmamba as a dependency in the PKGBUILD file.

Once conda is installed, run this command in conda:

conda config --set solver classic

This will tell conda to use the classic solver instead of libmamba. You will get an annoying message about missing libmamba every time you run the conda command. Also, you won't be able to use libmamba unless you manually move your base environment and manually install it:

conda install -n base conda-libmamba-solver

flying-sheep commented on 2024-08-09 14:41 (UTC)

awesome, your new version works perfectly! You forgot to push your .SRCINFO file though.

Also FYI: conda changed their build setup away from setuptools:

makedepends=(
  'python-build'
  'python-installer'
  'python-hatchling'
  'python-hatch-vcs'
  'python-wheel'
)

build() {
  cd $srcdir/${_name}-$pkgver
  python -m build --no-isolation
}

but since you didn’t use `--no-isolation`, it continued working

flying-sheep commented on 2024-08-09 14:37 (UTC)

For python-conda here, it just crashed when I tried to run conda create with an error message saying that that package can’t be found.

For binary packages like python-libmamba I build them using something like

extra-x86_64-build --  -I ~/.cache/paru/clone/reproc/reproc-14.2.5-2-x86_64.pkg.tar.zst

Which will then tell you which dependencies aren’t satisfied. I added them one by one with the most high level ones first, because a lot of dependencies (like zstd) are implicitly satisfied by other, more high-level dependencies also depending on them.

brianrobt commented on 2024-08-09 14:36 (UTC)

Uploaded a new version with a patched conda binary and python-archspec as a dep.

Patch:

  # BEGIN Patch conda binary
  sed -i 's/ import/.main import/'  conda/shell/bin/conda
  sed -i 's/path.main/path/'  conda/shell/bin/conda
  sed -i 's/from conda.deprecations/# from conda.deprecations/'  conda/shell/bin/conda
  sed -i 's/deprecated.module/# deprecated.module/'  conda/shell/bin/conda
  sed -i 's/"24/# "24/g'  conda/shell/bin/conda
  sed -i 's/addendum/# addendum/g'  conda/shell/bin/conda
  sed -i 's/  )/#  )/'  conda/shell/bin/conda
  # END
  # BEGIN Install patched conda binary
  rm -f $pkgdir/usr/bin/conda
  install -Dm 755 conda/shell/bin/conda $pkgdir/usr/bin/conda
  # END

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.