Package Details: conan 2.28.1-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
Keywords: conan
Licenses: MIT
Conflicts: conan1
Submitter: suridaj
Maintainer: jkl
Last Packager: jkl
Votes: 78
Popularity: 0.81
First Submitted: 2016-08-21 01:35 (UTC)
Last Updated: 2026-05-09 18:55 (UTC)

Latest Comments

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

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.

stas commented on 2021-02-08 09:11 (UTC)

It looks like conan now requires newer version of the python-node-semver. I had version 0.6.1 installed and older version of conan worked fine. Today I have updated conan and it would not start anymore:

ImportError: cannot import name 'SemVer' from 'semver' (/usr/lib/python3.9/site-packages/semver.py)

After updating python-node-semver to 0.8.0 conan works again.

Please consider updating requirements?

suridaj commented on 2020-12-04 14:23 (UTC)

Good to hear. I pushed updates to most AUR deps of Conan so it all got rebuilt.

ruabmbua commented on 2020-12-04 14:11 (UTC)

@suridaj thanks for the help.

The problem fixed itself, the package got updated today.