Skip to content

Commit b5b5ded

Browse files
committed
setup.py: matplotlib >= 3.5.2 for py310+
1 parent 04f9f35 commit b5b5ded

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ jobs:
3939
pip install kiwisolver
4040
pip install gensim
4141
pip install lxml
42-
- name: Build and install easygraph
42+
- name: Build easygraph
4343
run: |
4444
python setup.py build_ext -l boost_python -L "/usr/local/lib" -I "/usr/local/include"
45+
- name: Install easygraph
46+
run: |
4547
python setup.py install
4648
- name: Test with pytest
4749
run: |

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
"scipy>=1.5.0, <=1.5.4; python_version=='3.6'",
5353
"scipy>=1.5.0, <=1.7.3; python_version=='3.7'",
5454
"scipy>=1.8.0; python_version>='3.8'",
55-
"matplotlib>=3.3.0, <=3.3.4",
55+
"matplotlib>=3.3.0, <=3.3.4; python_version<'3.10'",
56+
"matplotlib>=3.5.2; python_version>='3.10'",
5657
"statsmodels>=0.12.0, <=0.12.2; python_version=='3.6'",
5758
"statsmodels>=0.12.0; python_version>='3.7'",
5859
"progressbar>=2.5",
@@ -64,10 +65,7 @@
6465
tests_require=[],
6566
ext_modules=[
6667
setuptools.Extension(
67-
"cpp_easygraph",
68-
sources,
69-
optional=True,
70-
extra_compile_args=compileArgs
68+
"cpp_easygraph", sources, optional=True, extra_compile_args=compileArgs
7169
)
7270
],
7371
)

0 commit comments

Comments
 (0)