Skip to content
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

Run failure because of a dependency (semver) has removed functions #122

Closed
dilawar opened this issue Jul 23, 2021 · 2 comments · May be fixed by #131
Closed

Run failure because of a dependency (semver) has removed functions #122

dilawar opened this issue Jul 23, 2021 · 2 comments · May be fixed by #131

Comments

@dilawar
Copy link

dilawar commented Jul 23, 2021

[centos@ip-172-26-6-166 karnataka (joss_lint_errors)]$ python3 age_rt.py 
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
Traceback (most recent call last):
  File "/home/centos/Work/FORKES/epimargin/studies/karnataka/age_rt.py", line 3, in <module>
    from epimargin.estimators import analytical_MPVS
  File "/home/centos/Work/FORKES/epimargin/epimargin/estimators.py", line 7, in <module>
    import pymc3 as pm
  File "/home/centos/.local/lib/python3.9/site-packages/pymc3-3.11.2-py3.9.egg/pymc3/__init__.py", line 34, in <module>
    if not semver.match(theano.__version__, ">=1.1.2"):
AttributeError: module 'semver' has no attribute 'match'

The package semver has deprecated/removed the match function (python-semver/python-semver#236).

@dilawar
Copy link
Author

dilawar commented Jul 24, 2021

This has been patched in pymc3(pymc-devs/pymc#4546).

dilawar pushed a commit to dilawar/epimargin that referenced this issue Jul 24, 2021
@dilawar
Copy link
Author

dilawar commented Jul 24, 2021

pinning semver==2.12.0 fixed the issue. It is related to upstream dependencies.

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 a pull request may close this issue.

1 participant