Package Details: python-conda 24.7.1-4

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: brianrobt
Last Packager: brianrobt
Votes: 31
Popularity: 1.64
First Submitted: 2016-04-08 07:41 (UTC)
Last Updated: 2024-08-09 15:35 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

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.

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!