Skip to content

fix regression #4273 #4297

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

Merged
merged 5 commits into from
Dec 5, 2020
Merged

Conversation

Spaak
Copy link
Member

@Spaak Spaak commented Dec 5, 2020

This should fix #4273 by ensuring that our tests don't attempt parallel sampling when a bound method was used as logp input to DensityDist. Additionally, I added some informative warnings about a previously rather obscure issue.

It would be good to see whether this now allows tests to run on MacOS/Windows as well.

@rpgoldman @aseyboldt @MarcoGorelli @michaelosthege

@Spaak Spaak added this to the 3.10 milestone Dec 5, 2020
@Spaak Spaak requested a review from MarcoGorelli December 5, 2020 10:04
@codecov
Copy link

codecov bot commented Dec 5, 2020

Codecov Report

Merging #4297 (d707282) into master (9311899) will decrease coverage by 0.00%.
The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4297      +/-   ##
==========================================
- Coverage   87.69%   87.69%   -0.01%     
==========================================
  Files          88       88              
  Lines       14341    14355      +14     
==========================================
+ Hits        12576    12588      +12     
- Misses       1765     1767       +2     
Impacted Files Coverage Δ
pymc3/distributions/distribution.py 94.26% <86.66%> (-0.31%) ⬇️
pymc3/distributions/mixture.py 88.31% <0.00%> (ø)

Copy link
Member

@michaelosthege michaelosthege left a comment

Choose a reason for hiding this comment

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

looks like a good workaround! It works on my machine too.
I can't test MacOS.

Together with #4269 this should get us into stable territory.

@michaelosthege michaelosthege merged commit 3fa3d1f into pymc-devs:master Dec 5, 2020
twiecki pushed a commit that referenced this pull request Dec 7, 2020
* uncomment test

* 🎨
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.

Recursion error pickling step functions
2 participants