conda-forge / pymc-feedstock

A conda-smithy repository for pymc.
BSD 3-Clause "New" or "Revised" License
1 stars 12 forks source link

pymc v5.15.1 #119

Closed regro-cf-autotick-bot closed 5 months ago

regro-cf-autotick-bot commented 5 months ago

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with code>@conda-forge-admin,</codeplease add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Pending Dependency Version Updates

Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.

Name Upstream Version Current Version
pymc 5.15.1 Anaconda-Server Badge

Dependency Analysis

Please note that this analysis is highly experimental. The aim here is to make maintenance easier by inspecting the package's dependencies. Importantly this analysis does not support optional dependencies, please double check those before making changes. If you do not want hinting of this kind ever please add bot: inspection: disabled to your conda-forge.yml. If you encounter issues with this feature please ping the bot team conda-forge/bot.

Analysis by source code inspection shows a discrepancy between it and the the package's stated requirements in the meta.yaml.

Packages found by source code inspection but not in the meta.yaml:

Packages found in the meta.yaml but not found by source code inspection:

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/9308502087 - please use this URL for debugging.

conda-forge-webservices[bot] commented 5 months ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

twiecki commented 5 months ago
import: 'pymc'
WARNING (pytensor.configdefaults): g++ not detected!  PyTensor will be unable to compile C-implementations and will default to Python. Performance may be severely degraded. To remove this warning, set PyTensor flags cxx to an empty string.
WARNING (pytensor.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/test_tmp/run_test.py", line 2, in <module>
    import pymc
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.12/site-packages/pymc/__init__.py", line 48, in <module>
    from pymc import _version, gp, ode, sampling
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.12/site-packages/pymc/sampling/__init__.py", line 17, in <module>
    from pymc.sampling.mcmc import *
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.12/site-packages/pymc/sampling/mcmc.py", line 41, in <module>
    from threadpoolctl import threadpool_limits
ModuleNotFoundError: No module named 'threadpoolctl'
ricardoV94 commented 5 months ago
import: 'pymc'
WARNING (pytensor.configdefaults): g++ not detected!  PyTensor will be unable to compile C-implementations and will default to Python. Performance may be severely degraded. To remove this warning, set PyTensor flags cxx to an empty string.
WARNING (pytensor.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
Traceback (most recent call last):
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/test_tmp/run_test.py", line 2, in <module>
    import pymc
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.12/site-packages/pymc/__init__.py", line 48, in <module>
    from pymc import _version, gp, ode, sampling
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.12/site-packages/pymc/sampling/__init__.py", line 17, in <module>
    from pymc.sampling.mcmc import *
  File "/home/conda/feedstock_root/build_artifacts/pymc-suite_1717125891687/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.12/site-packages/pymc/sampling/mcmc.py", line 41, in <module>
    from threadpoolctl import threadpool_limits
ModuleNotFoundError: No module named 'threadpoolctl'

New dependency, I guess the recipe needs to be tweaked?

twiecki commented 5 months ago

pymc 5.15.1 has requirement pytensor<2.23,>=2.22.1, but you have pytensor 2.20.0

ricardoV94 commented 5 months ago

Yes also that

ricardoV94 commented 5 months ago

Thanks

maresb commented 5 months ago

Yikes, the version pins are missing from threadpoolctl.

twiecki commented 5 months ago

Do we need them? We also lack them for cloudpickle.

maresb commented 5 months ago

We also lack them for cloudpickle.

This should be okay since there aren't version pins upstream.

Do we need them?

Maybe, maybe not. I like to be very strict about matching the PyPI dependencies. Otherwise we run the risk of very confusing dependency conflicts, for example here where a single bad ArviZ build is causing the PyMC3 build to fail.

I might add a repodata patch for this to be safe.

twiecki commented 5 months ago

OK, lets add it for next time.