Skip to content

Commit d1e0611

Browse files
authored
bump python (#2694)
1 parent 539d832 commit d1e0611

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.circleci/config.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
name: Install
2727
command: |
2828
xcodebuild -downloadComponent MetalToolchain
29-
brew install python@3.9
29+
brew install python@3.10
3030
brew install doxygen
31-
python3.9 -m venv env
31+
python3.10 -m venv env
3232
source env/bin/activate
3333
pip install --upgrade pip
3434
pip install --upgrade cmake
@@ -140,7 +140,7 @@ jobs:
140140
- run:
141141
name: Install Python package
142142
command: |
143-
uv venv --python 3.9
143+
uv venv --python 3.10
144144
uv pip install \
145145
nanobind==2.4.0 \
146146
cmake \
@@ -273,7 +273,7 @@ jobs:
273273
parameters:
274274
python_version:
275275
type: string
276-
default: "3.9"
276+
default: "3.10"
277277
xcode_version:
278278
type: string
279279
default: "26.0.0"
@@ -328,7 +328,7 @@ jobs:
328328
<< parameters.build_env >> MLX_BUILD_STAGE=1 python -m build -w
329329
- when:
330330
condition:
331-
equal: ["3.9", << parameters.python_version >>]
331+
equal: ["3.10", << parameters.python_version >>]
332332
steps:
333333
- run:
334334
name: Build common package
@@ -351,7 +351,7 @@ jobs:
351351
parameters:
352352
python_version:
353353
type: string
354-
default: "3.9"
354+
default: "3.10"
355355
build_env:
356356
type: string
357357
default: ""
@@ -387,7 +387,7 @@ jobs:
387387
bash python/scripts/repair_linux.sh
388388
- when:
389389
condition:
390-
equal: ["3.9", << parameters.python_version >>]
390+
equal: ["3.10", << parameters.python_version >>]
391391
steps:
392392
- run:
393393
name: Build common package
@@ -484,7 +484,7 @@ workflows:
484484
ignore: /.*/
485485
matrix:
486486
parameters:
487-
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
487+
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
488488
macosx_deployment_target: ["13.5", "14.0", "15.0"]
489489
build_env: ["PYPI_RELEASE=1"]
490490
xcode_version: ["26.0.0"]
@@ -503,7 +503,7 @@ workflows:
503503
ignore: /.*/
504504
matrix:
505505
parameters:
506-
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
506+
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
507507
build_env: ["PYPI_RELEASE=1"]
508508
- build_cuda_release:
509509
filters:
@@ -546,13 +546,13 @@ workflows:
546546
- build_release:
547547
matrix:
548548
parameters:
549-
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
549+
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
550550
macosx_deployment_target: ["13.5", "14.0", "15.0"]
551551
xcode_version: ["26.0.0"]
552552
- build_linux_release:
553553
matrix:
554554
parameters:
555-
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
555+
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
556556
- build_cuda_release
557557

558558
build_dev_release:
@@ -564,14 +564,14 @@ workflows:
564564
- build_release:
565565
matrix:
566566
parameters:
567-
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
567+
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
568568
macosx_deployment_target: ["13.5", "14.0", "15.0"]
569569
build_env: ["DEV_RELEASE=1"]
570570
xcode_version: ["26.0.0"]
571571
- build_linux_release:
572572
matrix:
573573
parameters:
574-
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
574+
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
575575
build_env: ["DEV_RELEASE=1"]
576576
- build_cuda_release:
577577
matrix:

docs/src/install.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ silicon computer is
1616
To install from PyPI your system must meet the following requirements:
1717

1818
- Using an M series chip (Apple silicon)
19-
- Using a native Python >= 3.9
19+
- Using a native Python >= 3.10
2020
- macOS >= 13.5
2121

2222
.. note::
@@ -39,7 +39,7 @@ requirements:
3939
- Nvidia driver >= 550.54.14
4040
- CUDA toolkit >= 12.0
4141
- Linux distribution with glibc >= 2.35
42-
- Python >= 3.9
42+
- Python >= 3.10
4343

4444

4545
CPU-only (Linux)
@@ -55,7 +55,7 @@ To install the CPU-only package from PyPi your system must meet the following
5555
requirements:
5656

5757
- Linux distribution with glibc >= 2.35
58-
- Python >= 3.9
58+
- Python >= 3.10
5959

6060

6161
Troubleshooting

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def get_tag(self) -> tuple[str, str, str]:
224224
include_package_data=True,
225225
package_dir=package_dir,
226226
zip_safe=False,
227-
python_requires=">=3.9",
227+
python_requires=">=3.10",
228228
ext_modules=[CMakeExtension("mlx.core")],
229229
cmdclass={
230230
"build_ext": CMakeBuild,

0 commit comments

Comments
 (0)