Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
858e6e0a
Commit
858e6e0a
authored
Oct 15, 2018
by
Roman Yurchak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enable scipy.interpolate._interpolate
parent
56e8a176
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
22 deletions
+2
-22
packages/scipy/patches/disable_modules_global_cpp_namespace_issue.patch
.../patches/disable_modules_global_cpp_namespace_issue.patch
+1
-20
test/test_scipy.py
test/test_scipy.py
+1
-2
No files found.
packages/scipy/patches/disable_modules_global_cpp_namespace_issue.patch
View file @
858e6e0a
commit
15e9f01458eec8cf9fc43de6646ee75cfa361859
commit
0da8a50bd566ee7810ed1888112cc9c9a1b27d9e
Author: Roman Yurchak <rth.yurchak@pm.me>
Date: Wed Oct 10 14:12:22 2018 +0200
Remove modules with global C++ namespace issue
diff --git a/scipy/interpolate/setup.py b/scipy/interpolate/setup.py
index b42d3345c..2c8279403 100755
--- a/scipy/interpolate/setup.py
+++ b/scipy/interpolate/setup.py
@@ -35,10 +35,10 @@
def configuration(parent_package='',top_path=None):
depends=fitpack_src,
)
- config.add_extension('_interpolate',
- sources=['src/_interpolate.cpp'],
- include_dirs=['src'],
- depends=['src/interpolate.h'])
+ #config.add_extension('_interpolate',
+ # sources=['src/_interpolate.cpp'],
+ # include_dirs=['src'],
+ # depends=['src/interpolate.h'])
config.add_data_dir('tests')
diff --git a/scipy/sparse/setup.py b/scipy/sparse/setup.py
index ecf8ae5c6..27fd128c3 100755
--- a/scipy/sparse/setup.py
...
...
test/test_scipy.py
View file @
858e6e0a
...
...
@@ -19,7 +19,7 @@ def test_scipy_import(selenium_standalone):
"""
)
# supported modules
for
module
in
[
'constants'
,
'fftpack'
]:
for
module
in
[
'constants'
,
'fftpack'
,
'odr'
]:
selenium
.
run
(
f"import scipy.
{
module
}
"
)
# not yet built modules
...
...
@@ -30,7 +30,6 @@ def test_scipy_import(selenium_standalone):
'interpolate'
,
# needs linalg
'linalg'
,
'misc'
,
# needs special
'odrpack'
,
'signal'
,
# needs special
'ndimage'
,
# needs special
'stats'
,
# need special
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment