Skip to content

testing dev python updates #1510

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

testing dev python updates #1510

wants to merge 2 commits into from

Conversation

Alan-eMartin
Copy link
Collaborator

@Alan-eMartin Alan-eMartin commented Aug 8, 2025

WIP

Copy link

github-actions bot commented Aug 8, 2025

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

Copy link

github-actions bot commented Aug 8, 2025

Your preview is ready 🎉!

You can view your changes here

@@ -4,7 +4,7 @@ version = "0.0.0"
description = "Introductions to key concepts in quantum machine learning, as well as tutorials and implementations from cutting-edge QML research."
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10.0"
requires-python = ">=3.10.0,<3.13.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this be >=3.11?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No unfortunately mitiq still yells at us when we do.

Here is a snippet of the error:

The current project's supported Python range (>=3.11.0) is not compatible with some of the required packages Python requirement:
  - mitiq requires Python <3.13,>=3.10, so it will not be installable for Python >=3.13

Because qml depends on mitiq (0.43.0) which requires Python <3.13,>=3.10, version solving failed.

  * Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For mitiq, a possible solution would be to set the `python` property to ">=3.11.0,<3.13"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a #TODO (+ story to update once mitiq is updated)?

@@ -169,7 +169,7 @@ jobs:
python-version: '3.11'

- name: Install dependencies
run: pip install . && poetry config warnings.export false
run: pip install . && poetry config warnings.export false
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
run: pip install . && poetry config warnings.export false
run: pip install . && poetry config warnings.export false

@@ -1,3 +1,3 @@
flamingpy
# flamingpy
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# flamingpy
## TODO:
## FlamingPy is disabled as it does not support py3.11, we will need to renable this when upgrade is made
# flamingpy

@@ -1,5 +1,5 @@
dimod
docplex
dwave-ocean-sdk==7.1.0
openqaoa-core
# openqaoa-core
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# openqaoa-core
## TODO:
## openqaoa does not support py3.11, reenable when support is available
# openqaoa-core

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 this pull request may close these issues.

2 participants