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

Python 3.11 Support #461

Merged
merged 4 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
os: [macos-12, ubuntu-20.04] # Operating systems
compiler: [8] # GNU compiler version
rai: [1.2.7] # Redis AI versions
py_v: [3.8, 3.9, '3.10'] # Python versions
py_v: ['3.8', '3.9', '3.10', '3.11'] # Python versions

env:
SMARTSIM_REDISAI: ${{ matrix.rai }}
Expand Down Expand Up @@ -104,11 +104,9 @@ jobs:
# on developments of the client are brought in.
- name: Install SmartSim (with ML backends)
run: |

python -m pip install git+https://github.com/CrayLabs/SmartRedis.git@develop#egg=smartredis
python -m pip install .[dev,ml]


- name: Install ML Runtimes with Smart (with pt, tf, and onnx support)
run: smart build --device cpu --onnx -v

Expand Down
10 changes: 5 additions & 5 deletions doc/installation_instructions/basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Basic

The base prerequisites to install SmartSim and SmartRedis are:

- Python 3.8-3.10
- Python 3.8-3.11
- Pip
- Cmake 3.13.x (or later)
- C compiler
Expand Down Expand Up @@ -65,11 +65,11 @@ Supported Versions
* - MacOS
- x86_64
- Not supported
- 3.8 - 3.10
- 3.8 - 3.11
* - Linux
- x86_64
- Nvidia
- 3.8 - 3.10
- 3.8 - 3.11


.. note::
Expand Down Expand Up @@ -241,9 +241,9 @@ SmartSim does.
* - Platform
- Python Versions
* - MacOS
- 3.8 - 3.10
- 3.8 - 3.11
* - Linux
- 3.8 - 3.10
- 3.8 - 3.11

The Python client for SmartRedis is installed through ``pip`` as follows:

Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
License :: OSI Approved :: BSD License
Intended Audience :: Science/Research
Topic :: Scientific/Engineering
Expand All @@ -55,7 +56,7 @@ setup_requires =
setuptools>=39.2
cmake>=3.13
include_package_data = True
python_requires = >=3.8,<3.11
python_requires = >=3.8,<3.12

[options.packages.find]
include =
Expand Down