-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove numdifftools #3485
Merged
Merged
Remove numdifftools #3485
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm in favor of removing it.
…On Tue, May 21, 2019, 04:13 Colin ***@***.***> wrote:
This fixes a problem from #3468
<#3468>, and also one that @twiecki
<https://github.com/twiecki> brought up in pbrod/numdifftools#42
<pbrod/numdifftools#42>, specifically: the most
current version of numdifftools on pypi uses an old version of scipy.
I do not entirely understand what this code is doing, but I get the
impression we are using numdifftools for more experimental stuff, which I
have just removed.
If anyone is concerned, I can do more research into what exactly this is
doing, but no PRs will pass CI until we do one of the following, in my
order of preference:
- remove numdifftools (this approach)
- install numdifftools from github in requirements-dev.txt
- pin scipy to an earlier verison
- something else?
------------------------------
You can view, comment on, or merge this pull request online at:
#3485
Commit Summary
- Remove numdifftools
File Changes
- *M* pymc3/tests/test_distributions.py
<https://github.com/pymc-devs/pymc3/pull/3485/files#diff-0> (39)
- *M* pymc3/tuning/__init__.py
<https://github.com/pymc-devs/pymc3/pull/3485/files#diff-1> (2)
- *M* pymc3/tuning/scaling.py
<https://github.com/pymc-devs/pymc3/pull/3485/files#diff-2> (36)
- *M* requirements-dev.txt
<https://github.com/pymc-devs/pymc3/pull/3485/files#diff-3> (1)
Patch Links:
- https://github.com/pymc-devs/pymc3/pull/3485.patch
- https://github.com/pymc-devs/pymc3/pull/3485.diff
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3485>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFETGGFKAGO343WCNOMYVLPWNLEZANCNFSM4HOGYSUA>
.
|
Thought about this some more and this is a pretty obvious case, we don't need a decaying dependency for just a single test.
|
Also needs release-notes. |
Thanks @ColCarroll! |
sidravi1
added a commit
to sidravi1/pymc3
that referenced
this pull request
May 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes a problem from #3468, and also one that @twiecki brought up in pbrod/numdifftools#42, specifically: the most current version of
numdifftools
on pypi uses an old version of scipy.I do not entirely understand what this code is doing, but I get the impression we are using
numdifftools
for more experimental stuff, which I have just removed.If anyone is concerned, I can do more research into what exactly this is doing, but no PRs will pass CI until we do one of the following, in my order of preference:
numdifftools
(this approach)numdifftools
from github in requirements-dev.txtscipy
to an earlier verison