Skip to content

Commit

Permalink
Setting KQC Python minimum requirement officially as 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
qpavsmi committed Apr 18, 2024
1 parent 43704ba commit 8f5d94b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ body:
label: Versions
description: Please specify the SW versions of KQCircuits, KLayout, Python and your OS.
placeholder: |
KQCircuits: 4.6.5
KLayout: 0.28.5
Python: 3.8.10
OS: Ubuntu 20.04.5 LTS
KQCircuits: 4.7.22
KLayout: 0.29.0
Python: 3.10.14
OS: Ubuntu 22.04.4 LTS
validations:
required: true

Expand Down
13 changes: 7 additions & 6 deletions docs/developer/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ duplicate macros and possibly other problems.
Python
^^^^^^

KQCircuits installation requires Python 3, which should be already installed on Linux. On Windows
you may have to install it. If your Python installation does not already contain the ``pip`` package
KQCircuits installation requires Python 3.10 minimum. This should already come pre-packaged at least
with Ubuntu 22.04. On Windows platforms Python needs to be installed manually.
If your Python installation does not already contain the ``pip`` package
manager, you have to also install that.

Successfully tested versions:

- Ubuntu 18.04, 20.04 and 22.04 LTS with Python 3.6.9, 3.8.5 and 3.10.12
- Windows: Python 3.7.6, 3.8.5, 3.11
- Ubuntu 20.04 and 22.04 LTS with Python 3.10.14
- Windows: Python 3.11.2

Sources
-------
Expand Down Expand Up @@ -156,9 +157,9 @@ administrator privileges, and do::
Install the required packages by opening command prompt in your KQCircuits
folder (which contains :git_url:`requirements_within_klayout_windows.txt`), and writing::

pip install -r requirements_within_klayout_windows.txt --target=%HOMEPATH%\AppData\Roaming\KLayout\lib\python3.7\site-packages
pip install -r requirements_within_klayout_windows.txt --target=%HOMEPATH%\AppData\Roaming\KLayout\lib\python3.10\site-packages

(replace ``python3.7`` in this path by the python version used by your KLayout
(replace ``python3.10`` in this path by the python version used by your KLayout
version)

The previous command installs the packages to KLayout's embedded Python
Expand Down
2 changes: 1 addition & 1 deletion docs/developer/standalone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Python 3 and ``pip`` installed.

Successfully tested with

- Python 3.7.6, 3.8.5, 3.10.12
- Python 3.10.14, 3.11.2

Older versions of klayout (<0.28) do not support certain new features of
KQCircuits. If you want to use older klayout you may need to check out a
Expand Down
2 changes: 1 addition & 1 deletion klayout_package/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "KQCircuits is a KLayout/Python-based superconducting quantum circ
authors = [
{name = "IQM Finland Oy", email = "kqcircuits@meetiqm.com"},
]
requires-python = ">=3.6.9"
requires-python = ">=3.10"
readme = "README.md"
license = {text = "GPL-3.0"}
classifiers = [
Expand Down

0 comments on commit 8f5d94b

Please sign in to comment.