Skip to content

Commit c90c9dc

Browse files
Michael Norrismeta-codesync[bot]
authored andcommitted
Update python to include 3.13 and 3.14 (facebookresearch#4859)
Summary: Pull Request resolved: facebookresearch#4859 Needed because svs min version is 3.14 which is blocking D95003637 which is blocking Alibek from uncommenting the backward compat Reviewed By: subhadeepkaran Differential Revision: D95087382 fbshipit-source-id: f06c87dd896d2dcbec77e935cf8fb6d321a6a0ab
1 parent 8af77fe commit c90c9dc

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/actions/build_cmake/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
if: inputs.setup_conda == 'true'
3636
uses: conda-incubator/setup-miniconda@v3
3737
with:
38-
python-version: '3.11'
38+
python-version: '3.12'
3939
miniforge-version: latest # ensures conda-forge channel is used.
4040
channels: conda-forge
4141
conda-remove-defaults: 'true'
@@ -52,7 +52,7 @@ runs:
5252
conda install -y -q "conda<=25.07"
5353
echo "$CONDA/bin" >> $GITHUB_PATH
5454
55-
conda install -y -q python=3.11 cmake=3.30.4 make=4.2 swig=4.0 "numpy>=2.0,<3.0" scipy=1.16 pytest=7.4 gflags=2.2
55+
conda install -y -q python=3.12 cmake=3.30.4 make=4.2 swig=4.0 "numpy>=2.0,<3.0" scipy=1.16 pytest=7.4 gflags=2.2
5656
5757
# install base packages for ARM64
5858
if [ "${{ runner.arch }}" = "ARM64" ]; then

.github/actions/build_conda/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
- name: Setup miniconda
3030
uses: conda-incubator/setup-miniconda@v3
3131
with:
32-
python-version: '3.11'
32+
python-version: '3.12'
3333
miniforge-version: latest # ensures conda-forge channel is used.
3434
channels: conda-forge
3535
conda-remove-defaults: 'true'
@@ -63,7 +63,7 @@ runs:
6363
working-directory: conda
6464
run: |
6565
conda list --show-channel-urls
66-
conda build faiss --python 3.11 -c pytorch
66+
conda build faiss --python 3.12 -c pytorch
6767
- name: Conda build (CPU) w/ anaconda upload
6868
if: inputs.label != '' && inputs.cuda == ''
6969
shell: ${{ steps.choose_shell.outputs.shell }}

conda/conda_build_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
python:
2-
- 3.10 # [not win]
3-
- 3.11 # [not win]
42
- 3.12
3+
- 3.13
4+
- 3.14
55
numpy:
66
- 2.3.3

0 commit comments

Comments
 (0)