What's the reason for depending on python-ruamel.yaml-hg?
python-ruamel.yaml is now in community: https://www.archlinux.org/packages/community/x86_64/python-ruamel-yaml/
Search Criteria
Package Details: python-conda 25.1.1-1
Package Actions
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.43 |
First Submitted: | 2016-04-08 07:41 (UTC) |
Last Updated: | 2025-02-04 04:29 (UTC) |
Dependencies (20)
- python (python37AUR, python311AUR, python310AUR)
- python-archspecAUR
- python-boltonsAUR
- python-boto3
- python-botocore (python-botocore-gitAUR)
- python-conda-libmamba-solverAUR
- python-conda-package-handlingAUR
- python-platformdirs
- python-pluggy
- python-pycosat
- python-requests
- python-ruamel-yaml (python-ruamel-yaml-hgAUR)
- python-tqdm
- python-build (make)
- python-hatch-vcs (make)
- python-hatchling (python-hatchling-gitAUR) (make)
- python-installer (make)
- python-wheel (make)
- python-pytest (check)
- python-pytest-mock (check)
Required by (3)
Sources (2)
confusedfla commented on 2017-01-30 07:57 (UTC)
cyrevolt commented on 2017-01-24 22:49 (UTC)
The issue is now "fixed", using a "testing" installation as they mention it in `setup.py`. I hope this causes no other side-effects. Please let me know if this works for you now! :)
jddantes commented on 2017-01-20 04:48 (UTC)
Seems conda wasn't installed using that commit. Listed the details here (https://bbs.archlinux.org/viewtopic.php?pid=1685147#p1685147)
cyrevolt commented on 2017-01-10 23:11 (UTC) (edited on 2017-01-10 23:17 (UTC) by cyrevolt)
Sorry for this issue, and thanks to geno_whirl for pointing it out (see https://bbs.archlinux.org/viewtopic.php?id=221775 ). Upstream has made some changes which essentially doesn't create the binaries conda, activate and deactivate anymore. When you run the setup.py manually, you will see this message:
WARNING: Your current install method for conda only supports conda
as a python library. You are not installing a conda executable command
or activate/deactivate commands. If your intention is to install conda
as a standalone application, currently supported install methods include
the Anaconda installer and the miniconda installer.
This only affects you if you are using a POSIX shell like bash. If you run fish (like I do ;)), you will still be able to use conda. :)
To fix it, you can downgrade by running the following:
git clone "https://aur.archlinux.org/python-conda.git"
cd python-conda
git checkout 8e0dfd4c6621e5ad64d5debc2c2b743e3c452059
makepkg -i
That clones the git repo from AUR, checks out the commit with the older version v4.2.12-3, and builds and installs it.
petronny commented on 2017-01-02 08:19 (UTC)
Hi,
please add `echo $pkgver > conda/.version` to python-conda-git too.
cyrevolt commented on 2016-11-30 19:42 (UTC)
I'm sorry, I had relics of an older build process present when I thought this little hack could be removed now. I readded the `echo $pkgver > conda/.version` to the build steps.
eigengrau commented on 2016-11-30 08:01 (UTC)
This currently fails to build for me, since for some reason conda fails to create the version string inside setup.py.
==> Starting package()...
running install
running build
running build_py
UPDATING build/lib/conda/__init__.py
WRITING build/lib/conda/.version with version None
Traceback (most recent call last):
File "setup.py", line 90, in <module>
zip_safe=False,
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.5/distutils/command/install.py", line 539, in run
self.run_command('build')
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/makepkg/python-conda/src/conda-4.2.12/conda/_vendor/auxlib/packaging.py", line 206, in run
write_version_file(target_dir, self.distribution.metadata.version)
File "/tmp/makepkg/python-conda/src/conda-4.2.12/conda/_vendor/auxlib/packaging.py", line 198, in write_version_file
f.write(version)
TypeError: write() argument must be str, not None
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!