Skip to content

Commit 31dd43f

Browse files
authored
Merge pull request #572 from FedML-AI/test/v0.7.0
Test/v0.7.0
2 parents cd91ce0 + e46a699 commit 31dd43f

File tree

3 files changed

+75
-77
lines changed

3 files changed

+75
-77
lines changed

.github/workflows/build_wheels_and_releases.yml

+62-62
Original file line numberDiff line numberDiff line change
@@ -24,84 +24,84 @@ jobs:
2424
matrix:
2525
include:
2626
# Window 64 bit
27-
# - os: windows-2019
28-
# python: 38
29-
# bitness: 64
30-
# platform_id: win_amd64
31-
# - os: windows-latest
32-
# python: 39
33-
# bitness: 64
34-
# platform_id: win_amd64
35-
# - os: windows-latest
36-
# python: 310
37-
# bitness: 64
38-
# platform_id: win_amd64
39-
#
40-
# # Window 32 bit
41-
# - os: windows-latest
42-
# python: 38
43-
# bitness: 32
44-
# platform_id: win32
45-
# - os: windows-latest
46-
# python: 39
47-
# bitness: 32
48-
# platform_id: win32
27+
- os: windows-2019
28+
python: 38
29+
bitness: 64
30+
platform_id: win_amd64
31+
- os: windows-latest
32+
python: 39
33+
bitness: 64
34+
platform_id: win_amd64
35+
- os: windows-latest
36+
python: 310
37+
bitness: 64
38+
platform_id: win_amd64
39+
40+
# Window 32 bit
41+
- os: windows-latest
42+
python: 38
43+
bitness: 32
44+
platform_id: win32
45+
- os: windows-latest
46+
python: 39
47+
bitness: 32
48+
platform_id: win32
4949

5050
# Linux 64 bit manylinux2014
5151
- os: ubuntu-latest
5252
python: 38
5353
bitness: 64
5454
platform_id: manylinux_x86_64
5555
manylinux_image: manylinux2014
56-
# - os: ubuntu-latest
57-
# python: 39
58-
# bitness: 64
59-
# platform_id: manylinux_x86_64
60-
# manylinux_image: manylinux2014
61-
#
62-
# # NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014
63-
# - os: ubuntu-latest
64-
# python: 310
65-
# bitness: 64
66-
# platform_id: manylinux_x86_64
67-
# manylinux_image: manylinux2014
56+
- os: ubuntu-latest
57+
python: 39
58+
bitness: 64
59+
platform_id: manylinux_x86_64
60+
manylinux_image: manylinux2014
61+
62+
# NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014
63+
- os: ubuntu-latest
64+
python: 310
65+
bitness: 64
66+
platform_id: manylinux_x86_64
67+
manylinux_image: manylinux2014
6868

6969
# MacOS x86_64
70-
# - os: macos-latest
71-
# bitness: 64
72-
# python: 38
73-
# platform_id: macosx_x86_64
74-
# - os: macos-latest
75-
# bitness: 64
76-
# python: 39
77-
# platform_id: macosx_x86_64
78-
# - os: macos-latest
79-
# bitness: 64
80-
# python: 310
81-
# platform_id: macosx_x86_64
82-
#
83-
# # MacOS arm64
84-
# - os: macos-latest
85-
# bitness: 64
86-
# python: 38
87-
# platform_id: macosx_arm64
88-
# - os: macos-latest
89-
# bitness: 64
90-
# python: 39
91-
# platform_id: macosx_arm64
92-
# - os: macos-latest
93-
# bitness: 64
94-
# python: 310
95-
# platform_id: macosx_arm64
70+
- os: macos-latest
71+
bitness: 64
72+
python: 38
73+
platform_id: macosx_x86_64
74+
- os: macos-latest
75+
bitness: 64
76+
python: 39
77+
platform_id: macosx_x86_64
78+
- os: macos-latest
79+
bitness: 64
80+
python: 310
81+
platform_id: macosx_x86_64
82+
83+
# MacOS arm64
84+
- os: macos-latest
85+
bitness: 64
86+
python: 38
87+
platform_id: macosx_arm64
88+
- os: macos-latest
89+
bitness: 64
90+
python: 39
91+
platform_id: macosx_arm64
92+
- os: macos-latest
93+
bitness: 64
94+
python: 310
95+
platform_id: macosx_arm64
9696

9797
steps:
9898
- name: Checkout fedml
9999
uses: actions/checkout@v3
100100

101101
- name: Setup Python
102102
uses: actions/setup-python@v4
103-
with:
104-
python-version: '3.9'
103+
#with:
104+
# python-version: '3.9'
105105

106106
- name: Build and test wheels
107107
env:

python/fedml/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
_global_training_type = None
2424
_global_comm_backend = None
2525

26-
__version__ = "0.7.317"
26+
__version__ = "0.7.319"
2727

2828

2929
def init(args=None):

python/setup.py

+12-14
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@
66

77

88
try:
9-
from wheel.bdist_wheel import bdist_wheel
10-
# from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
11-
#
12-
#
13-
# class bdist_wheel(_bdist_wheel):
14-
# def finalize_options(self):
15-
# self.root_is_pure = False
16-
# self.universal = True
17-
# _bdist_wheel.finalize_options(self)
18-
#
19-
#
20-
#
9+
#from wheel.bdist_wheel import bdist_wheel
10+
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
11+
12+
13+
class bdist_wheel(_bdist_wheel):
14+
def finalize_options(self):
15+
self.root_is_pure = False
16+
self.universal = True
17+
_bdist_wheel.finalize_options(self)
18+
2119
except ImportError:
2220
bdist_wheel = None
2321

@@ -74,7 +72,7 @@
7472

7573
setup(
7674
name="fedml",
77-
version="0.7.317",
75+
version="0.7.319",
7876
author="FedML Team",
7977
author_email="ch@fedml.ai",
8078
description="A research and production integrated edge-cloud library for "
@@ -140,5 +138,5 @@
140138
]
141139
},
142140
cmdclass={"bdist_wheel": bdist_wheel},
143-
options={"bdist_wheel": {"universal": True}}
141+
#options={"bdist_wheel": {"universal": True}}
144142
)

0 commit comments

Comments
 (0)