Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Upgrade Needed: Conan < 1.60.0 does not work on new linux distributions #398

Open
patrickwalton opened this issue Jul 28, 2023 · 2 comments

Comments

@patrickwalton
Copy link

Describe the bug
The requirement that Conan be less than or equal to v1.59.0 makes basilisk incompatible with Fedora 38+ as described here, because Fedora 38 adopts GCC 13 and Conan doesn't support GCC 13 until v1.60.0.

I assume this will be true of other linux distributions going forward, so it's probably time to get serious about upgrading conan.

To reproduce
Steps to reproduce the behavior:

  1. Install Fedora 38
  2. sudo dnf update
  3. Follow basilisk installation instructions. Will fail at python3 conanfile.py.

Expected behavior
Resulting error is described here.

Desktop (please complete the following information):

  • OS: Fedora (but will become true of other new distributions)
  • Version 38+
  • Python version 3.11.4

Additional context
Workaround for now is to downgrade GCC, but since older versions aren't available through dnf install, the older version has to be built from source.

@patrickwalton patrickwalton changed the title Upgrade Conan Conan <= 1.60.0 does not work on new linux distributions Jul 29, 2023
@patrickwalton patrickwalton changed the title Conan <= 1.60.0 does not work on new linux distributions Upgrade Needed: Conan <= 1.60.0 does not work on new linux distributions Jul 29, 2023
@patrickwalton patrickwalton changed the title Upgrade Needed: Conan <= 1.60.0 does not work on new linux distributions Dependency Upgrade Needed: Conan <= 1.60.0 does not work on new linux distributions Jul 29, 2023
@patrickwalton patrickwalton changed the title Dependency Upgrade Needed: Conan <= 1.60.0 does not work on new linux distributions Dependency Upgrade Needed: Conan < 1.60.0 does not work on new linux distributions Jul 29, 2023
@Ictogan1
Copy link

Ictogan1 commented Oct 3, 2023

A slightly easier workaround that I have found is to edit ~/.conan/settings.yml and add "13", "13.1", "13.2" to the list of supported gcc versions.

@sassy-asjp
Copy link
Contributor

I think this will be properly fixed in the next release. It seems like develop head only wants conan<2 not conan<=1.59 as of 2023-12-06.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants