Skip to content

Revise Nintegrate to allow scipy to be optional#374

Merged
rocky merged 2 commits intomasterfrom
NIntegrate-without-scipy
Jun 18, 2022
Merged

Revise Nintegrate to allow scipy to be optional#374
rocky merged 2 commits intomasterfrom
NIntegrate-without-scipy

Conversation

@rocky
Copy link
Member

@rocky rocky commented Jun 18, 2022

  • NIntegrate[] no longer requires scipy.
  • There were a number of small changes/fixes involving NIntegrate.
  • NIntegrate tests have been expanded and unit test moved under test/builtins/numbers

@rocky rocky requested a review from mmatera June 18, 2022 19:47
@rocky rocky mentioned this pull request Jun 18, 2022
* NIntegrate[] no longer requires scipy.
* There were a number of small changes/fixes involving NIntegrate.
* NIntegrate tests have been expanded.
@rocky rocky force-pushed the NIntegrate-without-scipy branch from b3aafbc to e2f02d6 Compare June 18, 2022 20:03
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rocky rocky merged commit 2f7afb4 into master Jun 18, 2022
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a comment: according to https://docs.python.org/3/library/importlib.html
find_loader is Deprecated since version 3.4: Use importlib.util.find_spec() instead.

@rocky
Copy link
Member Author

rocky commented Jun 18, 2022

importlib.util.find_spec() i

Ok. Thanks. Changed in master in 297c1f7

Python has been through many many many iterations of this import stuff and I still feel it is a little bit too complex and cumbersome compared to other languages. (Don't ask "how so" unless you expect to get a long rant.)

@TiagoCavalcante TiagoCavalcante deleted the NIntegrate-without-scipy branch June 19, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants