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
Rebuild for python311 #283
Rebuild for python311 #283
Conversation
…nda-forge-pinning 2022.10.25.23.05.27
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 ( |
Needs at least pytest: conda-forge/pytest-feedstock#152 |
Um...
The error isn't even in numpy code, but it looks like it's coming from importlib:
|
Edit: not relevant for numpy, but saw it by chance on the scipy tracker, where we'll have to carry a patch. |
Ah, this picks an old noarch hypothesis build... |
OK, this depends on conda-forge/hypothesis-feedstock#750, which has a test-dependence on pandas, and the circularity is complete. Edit: circularity being broken there; numpy hard-requires hypothesis for testing these days. |
5f33d08
to
257adad
Compare
No cigar, even with the newest hypothesis...
|
Looks like python/importlib_metadata#396 |
It's somehow tied to import order: $ mamba create --name test python=3.11 hypothesis importlib_metadata
$ conda activate test
$ python -c 'import hypothesis; import importlib_metadata; print("All good")'
All good
$ python -c 'import importlib_metadata; import hypothesis; print("All good")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/cburr/miniconda3/envs/test/lib/python3.11/site-packages/hypothesis/__init__.py", line 56, in <module>
run()
File "/home/cburr/miniconda3/envs/test/lib/python3.11/site-packages/hypothesis/entry_points.py", line 62, in run
for entry in get_entry_points(): # pragma: no cover
File "/home/cburr/miniconda3/envs/test/lib/python3.11/site-packages/hypothesis/entry_points.py", line 28, in get_entry_points
eps = importlib_metadata.entry_points(group="hypothesis")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cburr/miniconda3/envs/test/lib/python3.11/importlib/metadata/__init__.py", line 1016, in entry_points
return SelectableGroups.load(eps).select(**params)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cburr/miniconda3/envs/test/lib/python3.11/importlib/metadata/__init__.py", line 472, in load
ordered = sorted(eps, key=by_group)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cburr/miniconda3/envs/test/lib/python3.11/importlib/metadata/__init__.py", line 1013, in <genexpr>
eps = itertools.chain.from_iterable(
^
File "/home/cburr/miniconda3/envs/test/lib/python3.11/importlib/metadata/_itertools.py", line 16, in unique_everseen
k = key(element)
^^^^^^^^^^^^
AttributeError: 'PathDistribution' object has no attribute '_normalized_name' |
... which did not make it into 3.11... 😑 |
Please chime in on the cpython issue if you feel like it! :) |
Updating to
|
The workaround 0912020 will most likely need conda-forge/importlib_metadata-feedstock#110 (resp. conda-forge/importlib_metadata-feedstock#109). |
TBH, I'm surprised this works (since python vendors it), but great news, thanks! |
It seems there are some flaky tests that get some refcount comparisons wrong on aarch. However those builds have nothing to do with 3.11 and passed in previous runs (also in this PR), so I'm just going ahead and merging this one. 🙃
|
Thanks Axel! 🙏 Do we have upstream issues about those flaky tests? |
Not yet, it's the first time I've seen that failure. If it keeps happening I'll raise an issue. |
cc @rgommers (in case the test failures above (under details) ring any bells) |
Should indeed be a test issue rather than a bug in the code being tested. Upstream issue is numpy/numpy#21169 |
This PR has been triggered in an effort to update python311.
Notes and instructions for merging this PR:
Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.
This package has the following downstream children:
and potentially more.
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@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.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/autotick-bot/actions/runs/3325621304, please use this URL for debugging.