Skip to content

Commit

Permalink
requirements.txt: Updated python version >=3.9, <3.12 (#250)
Browse files Browse the repository at this point in the history
* requirements.txt: Updated python version

* fixed >=

* Updated conda install command to include python 3.11

* Updated Dockerfile conda install command to have python 3.11
  • Loading branch information
HannanNaeem authored Jan 20, 2024
1 parent 93d933b commit 58a0ab8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN git clone https://github.com/kokkos/pykokkos-base
# Install dependencies.
RUN conda install -c conda-forge --yes mamba
RUN conda init
RUN mamba install -c conda-forge --yes --file pykokkos-base/requirements.txt
RUN mamba install -c conda-forge --yes --file pykokkos-base/requirements.txt python=3.11
COPY requirements.txt /tmp/requirements.txt
RUN mamba install -c conda-forge --yes --file /tmp/requirements.txt
RUN cd pykokkos-base && python setup.py install -- -DENABLE_LAYOUTS=ON -DENABLE_MEMORY_TRAITS=OFF -DENABLE_VIEW_RANKS=3 -DENABLE_CUDA=OFF -DENABLE_THREADS=OFF -DENABLE_OPENMP=ON
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ create a conda environment:
git clone https://github.com/kokkos/pykokkos-base.git
cd pykokkos-base/
conda create --name pyk --file requirements.txt
conda create --name pyk --file requirements.txt python=3.11
conda activate pyk
Once the necessary packages have been downloaded and installed,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pybind11>=2.11.1
cupy>=12.2.0
patchelf>=0.17.2
pytest>=7.4.3
python=3.11
python>=3.9,<3.12

0 comments on commit 58a0ab8

Please sign in to comment.