From 0c5bfc738a559821cdec094209bcf009adbdfa74 Mon Sep 17 00:00:00 2001 From: OCH <18335360+omarcostahamido@users.noreply.github.com> Date: Mon, 6 Apr 2026 15:11:25 +0800 Subject: [PATCH 1/3] Update README.md - clarify that spinqit is only compatible with Python 3.8 and 3.9 - this refers to #6 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f7182f6..ec1a96a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ SpinQit is the quantum software development kit from SpinQ Technology Co., Ltd. ## Installation and Documentation - SpinQit is available on Windows, Linux and MacOS. Only the **Windows** version can use a local quantum computer as a backend. This package has been tested on Ubuntu 20.04 & 22.04 (x86_64), Windows 10 (x86_64), MacOS Ventura 13.0 (M1, M2) and MacOS Mojave 10.14.6 (x86_64). -- SpinQit requires Python 3.8+. This package has been tested with Python 3.8.13 and 3.9.12. +- SpinQit requires Python 3.8 or Python 3.9. This package has been tested with Python 3.8.13 and 3.9.12. - We suggest you use Anaconda to set up your Python environment. SpinQit can be installed using the following command: From 8eca7e40fe32f4d932001786635145c507443ff0 Mon Sep 17 00:00:00 2001 From: OCH <18335360+omarcostahamido@users.noreply.github.com> Date: Mon, 6 Apr 2026 15:17:35 +0800 Subject: [PATCH 2/3] Update setup.py - clarify that spinqit is only compatible with Python 3.8 and 3.9 - this fixes #6 --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 15a999c..6a4367b 100644 --- a/setup.py +++ b/setup.py @@ -112,14 +112,15 @@ def build_extension(self, ext): packages=find_packages(), classifiers=[ 'Development Status :: 4 - Beta', - "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Operating System :: MacOS" ], ext_modules=[CMakeExtension('spinqit.spinq_backends')], install_requires=['numpy<2.0.0', 'scipy', 'scikit-learn', 'torch', 'autograd==1.5.0', 'psutil', 'retworkx', 'python-igraph==0.9.10', 'pybind11', 'antlr4-python3-runtime==4.9.2', 'python-constraint', 'requests', 'matplotlib>=3.5', 'pycryptodome==3.11.0', 'autoray==0.6.1', 'noisyopt==0.2.2', 'sympy'], - python_requires='>=3.8', + python_requires=">=3.8, <3.10", cmdclass=dict(build_ext=CMakeBuild), package_data={'spinqit': package_data_files}, data_files=date_files_list, From 75bc0b69735b4e6a58b3bda84f2653467008a400 Mon Sep 17 00:00:00 2001 From: OCH <18335360+omarcostahamido@users.noreply.github.com> Date: Mon, 6 Apr 2026 23:42:02 +0800 Subject: [PATCH 3/3] Update GettingStarted.md - clarify that spinqit is only compatible with Python 3.8 and 3.9 - this refers to #6 --- doc/GettingStarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/GettingStarted.md b/doc/GettingStarted.md index e7f8b91..1ad08bc 100644 --- a/doc/GettingStarted.md +++ b/doc/GettingStarted.md @@ -2,7 +2,7 @@ ## Requirements - SpinQit is available on Windows, Linux and MacOS. Only the **Windows** version can use a local quantum computer as a backend. This package has been tested on Ubuntu 20.04 & 22.04 (x86_64), Windows 10 (x86_64), MacOS Ventura 13.0 (M1, M2) and MacOS Mojave 10.14.6 (x86_64). -- SpinQit requires Python 3.8+. This package has been tested with Python 3.8.13 and 3.9.12. +- SpinQit requires Python 3.8 or Python 3.9. This package has been tested with Python 3.8.13 and 3.9.12. - We suggest you use Anaconda to set up your Python environment. Please refer to [https://docs.anaconda.com/anaconda/](https://docs.anaconda.com/anaconda/) about how to install and use a conda environment. On Windows, we recommend adding Anaconda to your PATH environment viarable to avoid unnecessary troubles. ## Installation SpinQit can be installed using the following command: