Skip to content

Commit

Permalink
Update Python version and fix dependency
Browse files Browse the repository at this point in the history
Tket needed to be updated and the new version needs Python 3.10. Should likely just move to 3.13 at some point.
  • Loading branch information
chemix-lunacy committed Aug 5, 2024
1 parent 7504bcf commit 9b94c54
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.9"
python-version: "3.10"

- name: Build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
toolchain: 1.75.0
components: rustfmt clippy
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.9
python-version: 3.10
if: ${{ matrix.os != 'macos-14' && matrix.os != 'macos-latest' }}
- name: Install LLVM
uses: ./.github/actions/install-llvm
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If you have any features or ideas you'd like to see implemented feel free to rai

### Getting Started

1. Install Rasqal in your favourite Python venv by running `pip install rasqal`. Our current testing is done with `v3.9` of Python.
1. Install Rasqal in your favourite Python venv by running `pip install rasqal`. Our current testing is done with `v3.10` of Python.
2. Read the [quick start](https://github.com/oqc-community/rasqal/blob/develop/examples.md) and look at our [Python example](https://github.com/oqc-community/Rasqal/blob/develop/docs/examples.py).
3. (Optional) Read the [paper](https://github.com/oqc-community/rasqal/blob/develop/docs/Rasqal%20Draft%20v2.pdf) for a deep-dive into Rasqals concepts and data structures.

Expand Down
2 changes: 1 addition & 1 deletion building.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Prerequisites:

1. [Python 3.9](https://www.python.org/downloads/).
1. [Python 3.10](https://www.python.org/downloads/).
2. [Rust](https://www.rust-lang.org/tools/install).

With these installed then run:
Expand Down
2 changes: 1 addition & 1 deletion src/rasqal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If you have any features or ideas you'd like to see implemented feel free to rai

### Getting Started

1. Install Rasqal in your favourite Python venv by running `pip install rasqal`. Our current testing is done with `v3.9` of Python.
1. Install Rasqal in your favourite Python venv by running `pip install rasqal`. Our current testing is done with `v3.10` of Python.
2. Read the [quick start](https://github.com/oqc-community/rasqal/blob/develop/examples.md) and look at our [Python example](https://github.com/oqc-community/Rasqal/blob/develop/docs/examples.py).
3. (Optional) Read the [paper](https://github.com/oqc-community/rasqal/blob/develop/docs/Rasqal%20Draft%20v2.pdf) for a deep-dive into Rasqals concepts and data structures.

Expand Down
8 changes: 4 additions & 4 deletions src/rasqal/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[project]
name = "rasqal"
version = "0.1.4"
requires-python = ">=3.9"
version = "0.1.5"
requires-python = ">=3.10"
description = "A dynamically executed quantum-classical hybrid optimizing runtime."
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python",
"Programming Language :: Rust",
"Operating System :: MacOS",
Expand All @@ -26,7 +26,7 @@ dependencies = [
"qiskit-optimization>=0.4.0",
"qiskit-ignis>=0.7.0",
"qiskit-aer>=0.13.0",
"pytket>=1.23.0"
"pytket>=1.31.0"
]

[project.urls]
Expand Down

0 comments on commit 9b94c54

Please sign in to comment.