File tree 5 files changed +16
-13
lines changed
docs/concepts/orchestration
5 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -228,10 +228,6 @@ jobs:
228
228
python-manylinux-tag : " cp311-cp311"
229
229
230
230
# MacOS emulated
231
- - os : macos-latest
232
- python : ' 3.7'
233
- python-cibuildwheels : ' 37'
234
- platform_id : macosx_x86_64
235
231
- os : macos-latest
236
232
python : ' 3.8'
237
233
python-cibuildwheels : ' 38'
@@ -345,6 +341,10 @@ jobs:
345
341
fetch-depth : 100
346
342
- run : |
347
343
truncate --size=24KB README.md > README-trunc.md
344
+ - uses : actions/download-artifact@v3
345
+ with :
346
+ name : artifact
347
+ path : dist
348
348
349
349
- name : Update version
350
350
run : |
Original file line number Diff line number Diff line change @@ -477,10 +477,6 @@ jobs:
477
477
python-manylinux-tag : " cp311-cp311"
478
478
479
479
# MacOS emulated
480
- - os : macos-latest
481
- python : ' 3.7'
482
- python-cibuildwheels : ' 37'
483
- platform_id : macosx_x86_64
484
480
- os : macos-latest
485
481
python : ' 3.8'
486
482
python-cibuildwheels : ' 38'
Original file line number Diff line number Diff line change 61
61
python-manylinux-tag : " cp311-cp311"
62
62
63
63
# MacOS emulated
64
- - os : macos-latest
65
- python : ' 3.7'
66
- python-cibuildwheels : ' 37'
67
- platform_id : macosx_x86_64
68
64
- os : macos-latest
69
65
python : ' 3.8'
70
66
python-cibuildwheels : ' 38'
Original file line number Diff line number Diff line change @@ -58,6 +58,13 @@ Flow with three replicas of `slow_encoder` and one replica of `fast_indexer`
58
58
(scale-consensus)=
59
59
## Replicate stateful Executors with consensus using RAFT (Beta)
60
60
61
+ ```` {admonition} Python3.8 or newer version required on MacOS
62
+ :class: note
63
+
64
+ This feature requires at least Python3.8 version when working on MacOS.
65
+
66
+ ````
67
+
61
68
```` {admonition} DocArray 0.30
62
69
:class: note
63
70
Original file line number Diff line number Diff line change 1
1
import os
2
2
import subprocess
3
3
import sys
4
+ import platform
4
5
from os import path
5
6
6
7
from setuptools import Extension , find_packages , setup
@@ -169,7 +170,10 @@ def get_extra_requires(path, add_all=True):
169
170
except Exception :
170
171
pass
171
172
172
- if ret_code == 0 :
173
+ is_mac_os = platform .system () == 'Darwin'
174
+ is_37 = sys .version_info .major == 3 and sys .version_info .minor == 7
175
+
176
+ if ret_code == 0 and (not is_mac_os or not is_37 ):
173
177
extra_golang_kw = {
174
178
'build_golang' : {'root' : 'jraft' , 'strip' : False },
175
179
'ext_modules' : [
You can’t perform that action at this time.
0 commit comments