Hi,
please add `echo $pkgver > conda/.version` to python-conda-git too.
Search Criteria
Package Details: python-conda 26.1.0-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 |
| Conflicts: | python-conda-git |
| Provides: | python-conda-env |
| Submitter: | cyrevolt |
| Maintainer: | flying-sheep |
| Last Packager: | flying-sheep |
| Votes: | 36 |
| Popularity: | 0.94 |
| First Submitted: | 2016-04-08 07:41 (UTC) |
| Last Updated: | 2026-02-07 17:14 (UTC) |
Dependencies (23)
- python
- python-archspecAUR
- python-boltonsAUR
- python-boto3 (python-boto3-gitAUR)
- python-botocore (python-botocore-gitAUR)
- python-conda-libmamba-solverAUR
- python-conda-package-handlingAUR
- python-frozendict
- python-packaging
- python-platformdirs
- python-pluggy
- python-pycosat
- python-requests
- python-ruamel-yaml (python-ruamel-yaml-hgAUR)
- python-setuptools-scm
- python-tqdm
- python-build (make)
- python-hatch-vcs (make)
- python-hatchling (python-hatchling-gitAUR) (make)
- python-installer (make)
- Show 3 more dependencies...
Required by (1)
Sources (2)
petronny commented on 2017-01-02 08:19 (UTC)
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!