Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump PyTensor dependency and support Python 3.14#8010

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ricardoV94 wants to merge5 commits intopymc-devs:main
base:main
Choose a base branch
Loading
fromricardoV94:bump_pytensor_dependency

Conversation

@ricardoV94
Copy link
Member

@ricardoV94ricardoV94 commentedDec 18, 2025
edited
Loading

Closes#7934

@ricardoV94ricardoV94 added release pytensor majorInclude in major changes release notes section labelsDec 18, 2025
@ricardoV94ricardoV94 mentioned this pull requestDec 18, 2025
11 tasks
Co-authored-by: PatrickRobotham
Co-authored-by: Michal-Novomestsky
@codecov
Copy link

codecovbot commentedDec 18, 2025
edited
Loading

Codecov Report

❌ Patch coverage is85.71429% with4 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.45%. Comparing base (cadb97a) to head (1a549c9).

Files with missing linesPatch %Lines
pymc/distributions/simulator.py0.00%2 Missing⚠️
pymc/variational/approximations.py0.00%1 Missing⚠️
pymc/variational/opvi.py50.00%1 Missing⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@##             main    #8010      +/-   ##==========================================+ Coverage   90.22%   91.45%   +1.22%==========================================  Files         116      116                Lines       18972    18971       -1     ==========================================+ Hits        17117    17349     +232+ Misses       1855     1622     -233
Files with missing linesCoverage Δ
pymc/distributions/multivariate.py93.92% <100.00%> (+0.01%)⬆️
pymc/distributions/shape_utils.py91.87% <100.00%> (ø)
pymc/distributions/timeseries.py94.57% <100.00%> (-0.05%)⬇️
pymc/logprob/transforms.py95.43% <100.00%> (ø)
pymc/pytensorf.py88.11% <100.00%> (ø)
pymc/smc/sampling.py77.08% <100.00%> (+1.38%)⬆️
pymc/variational/operators.py93.47% <100.00%> (ø)
pymc/variational/approximations.py90.86% <0.00%> (ø)
pymc/variational/opvi.py86.75% <50.00%> (ø)
pymc/distributions/simulator.py84.28% <0.00%> (ø)

... and8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actionsgithub-actionsbot added the installationissues about dependencies or installation labelDec 19, 2025
[
pytest.param(
"float32",
marks=pytest.mark.xfail(
Copy link
MemberAuthor

@ricardoV94ricardoV94Dec 19, 2025
edited
Loading

Choose a reason for hiding this comment

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

I couldn't reproduce the issue locally. CI is running on 3.14. Installing the same numba/scipy versions on my local 3.12 wasn't enough to replicate. I wouldn't block the dependency bump on this as it's rather niche functionality.

Tracking issue:#8012

@ricardoV94
Copy link
MemberAuthor

ricardoV94 commentedDec 19, 2025
edited
Loading

RTD is failing with a strange conda error?

https://app.readthedocs.org/projects/pymc/builds/30757275/

error    Error opening "/home/docs/.asdf/installs/python/mambaforge-4.10.3-10/pkgs/pytensor-2.36.0-py314h8fa1eac_1.conda": No such file or directoryerror    File not valid: SHA256 sum doesn't match expectation "/home/docs/.asdf/installs/python/mambaforge-4.10.3-10/pkgs/pytensor-2.36.0-py314h8fa1eac_1.conda"    Expected: 0c2f7154116702b630c239df3780ec9963c8de36876f6cb31e7632a77a80dd53    Actual: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855    # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<    Traceback (most recent call last):      File "/home/docs/.asdf/installs/python/mambaforge-4.10.3-10/lib/python3.9/site-packages/conda/exceptions.py", line 1079, in __call__        return func(*args, **kwargs)      File "/home/docs/.asdf/installs/python/mambaforge-4.10.3-10/lib/python3.9/site-packages/conda_env/cli/main.py", line 80, in do_call        exit_code = getattr(module, func_name)(args, parser)      File "/home/docs/.asdf/installs/python/mambaforge-4.10.3-10/lib/python3.9/site-packages/conda_env/cli/main_create.py", line 141, in execute        result[installer_type] = installer.install(prefix, pkg_specs, args, env)      File "/home/docs/.asdf/installs/python/mambaforge-4.10.3-10/lib/python3.9/site-packages/mamba/mamba_env.py", line 125, in mamba_install        downloaded = transaction.prompt(repos)    RuntimeError: Found incorrect download: pytensor. Aborting`$ /home/docs/.asdf/installs/python/mambaforge-4.10.3-10/bin/mamba create --quiet --name 8010 --file conda-envs/environment-docs.yml`

CC@maresb@OriolAbril

Maybe there's some cache in the CI that needs to be erased?

pt.as_tensor_variable(np.array([-2,-1])),
],
name="xs",
# There's a bug in the ordering of outputs when there's a mapped `None` output
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Bug ispymc-devs/pytensor#1796

Hopefully we can fix in the next release and update the remaining tests to the new API

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@jessegrabowskijessegrabowskiAwaiting requested review from jessegrabowski

@ArmavicaArmavicaAwaiting requested review from Armavica

@maresbmaresbAwaiting requested review from maresb

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

installationissues about dependencies or installationmajorInclude in major changes release notes sectionpytensorrelease

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

PyMC not installable in Python 3.14 yet

1 participant

@ricardoV94

[8]ページ先頭

©2009-2025 Movatter.jp