Package Details: conan 2.2.2-1

Git Clone URL: https://aur.archlinux.org/conan.git (read-only, click to copy)
Package Base: conan
Description: A distributed, open source, C/C++ package manager.
Upstream URL: https://conan.io
Licenses: MIT
Conflicts: conan1
Submitter: suridaj
Maintainer: suridaj
Last Packager: suridaj
Votes: 67
Popularity: 0.005627
First Submitted: 2016-08-21 01:35 (UTC)
Last Updated: 2024-04-11 20:21 (UTC)

Latest Comments

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

raeste commented on 2022-01-05 05:01 (UTC)

Thanks for the hint with the python version in .local and /usr. I removed the packages from the .local folder and after that the installation was successfull =)

carlosal1015 commented on 2022-01-04 17:03 (UTC) (edited on 2022-01-04 17:04 (UTC) by carlosal1015)

I do not have any error

==> Finished making: conan 1.44.0-1 (Tue 04 Jan 2022 12:01:45 PM -05)

Please could you please upload the logs.

Usually, mixing python versions ~/.local/lib/python3.10 with /usr/lib/python3.10 could generate errors.

raeste commented on 2022-01-04 16:41 (UTC) (edited on 2022-01-04 16:54 (UTC) by raeste)

I tried to build the current version of conan but i got an error:

File "/home/kev/.local/lib/python3.10/site-packages/setuptools/command/build_py.py", line 127, in build_package_data srcfile in self.distribution.convert_2to3_doctests): AttributeError: 'Distribution' object has no attribute 'convert_2to3_doctests'

suridaj commented on 2021-12-02 11:26 (UTC) (edited on 2021-12-02 12:07 (UTC) by suridaj)

@silverhikari, generally, X-git packages should specify which version of X they provide, see https://wiki.archlinux.org/title/PKGBUILD#provides

In this particular case, conan depends on python-fasteners>=0.14.1. python-fasteners-git does not declare which version of python-fasteners it provides, so pacman cannot guarantee python-fasteners-git can stand in for python-fasteners>=0.14.1.

You can work around your issue in one of the following ways:

  • edit python-fasteners-git's PKGBUILD and specify the provided version of python-fasteners, eg. provides=('python-fasteners=0.16.1')

or

  • edit conan's PKGBUILD and remove the required version of python-fasteners so that its depends line is just 'python-fasteners' without any version.

silverhikari commented on 2021-12-02 09:00 (UTC) (edited on 2021-12-02 09:01 (UTC) by silverhikari)

when trying to install conan i get a package conflict that tries to install python-fasteners though the reason i am running python-fasteners-git for a package that requires it. i do not know why this is happening as the pkgbuild seems to allow for both?

suridaj commented on 2021-08-10 23:02 (UTC)

@bazza: Which command exactly are you running? The quoted command runs for me on a clean, up-to-date system.

bazza commented on 2021-08-10 22:44 (UTC)

Errors occurred, no packages were upgraded. Command 'sudo pacman --color=always --sync --asdeps python-yaml>=3.11 python-tqdm>=4.28.1 python-pyjwt>=1.4.0 python-fasteners>=0.14.1 python-future>=0.16.0' failed to execute.

suridaj commented on 2021-02-08 10:21 (UTC) (edited on 2021-02-08 10:25 (UTC) by suridaj)

@stas, you're welcome and it was no bother.

There might be better ways to handle new Python versions than "reinstall all AUR packages manually", unfortunately I am not aware of them. If you guys have suggestions I would be happy to try them out :)

stas commented on 2021-02-08 10:10 (UTC)

@suridaj, thank you for your message. I think this was probably the case. Yes, I have updated python too, which was also the reason to update conan. However I am not at a level to recognise that the issue was with python. I should have tried that before reporting, considering the number of comments related to python version upgrade.

suridaj commented on 2021-02-08 09:40 (UTC) (edited on 2021-02-08 09:45 (UTC) by suridaj)

@stas, thanks for the report.

I tried to reproduce the issue without success. Steps:

  1. I started from a clean updated Arch system with yay.
  2. I modified PKGBUILD from python-node-semver 0.8.0-2 to build and install 0.6.1.
  3. I installed conan 1.33.1-1 and verified python-node-semver is still 0.6.1.
  4. conan runs normally with python-node-semver 0.6.1.
  5. Inside python interpreter, "from semver import SemVer" works without error. This is the exact line Conan uses.

One thing that comes to mind: if you recently updated Python from 3.8 to 3.9, python-node-semver likely remained installed in /usr/lib/python3.8/site-packages.

If you need the version of python-node-semver to be specifically 0.6.1, please try installing it again.