regro / cf-scripts

Flagship repo for cf-regro-autotick-bot
Other
47 stars 71 forks source link

Retry `rdkit` NumPy 2 migration #2834

Open jakirkham opened 2 weeks ago

jakirkham commented 2 weeks ago

Looks like the bot had trouble retrieving conda-forge-pinning when trying to make a NumPy 2 migration PR for rdkit

Here is the error taken from the (bot CI job):

```python Error running rerender-feedstock in container - error RuntimeError raised: 'Failed to rerender. output: Traceback (most recent call last): File "/opt/conda/envs/cf-scripts/bin/conda-smithy", line 10, in sys.exit(main()) ^^^^^^ File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_smithy/cli.py", line 737, in main args.subcommand_func(args) File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_smithy/cli.py", line 586, in __call__ self._call(args, args.temporary_directory) File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_smithy/cli.py", line 589, in _call configure_feedstock.main( File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 2714, in main exclusive_config_file, cf_pinning_ver = get_cached_cfp_file_path( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 2535, in get_cached_cfp_file_path get_cfp_file_path(smithy_cache) File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 2459, in get_cfp_file_path pkg = get_most_recent_version("conda-forge-pinning") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_smithy/configure_feedstock.py", line 2398, in get_most_recent_version request.raise_for_status() File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 524 Server Error: for url: https://api.anaconda.org/package/conda-forge/conda-forge-pinning ```

Would it be possible to reset rdkit to try again?

More generally should we ignore errors related to retrieving conda-forge-pinning from Anaconda.org?

jakirkham commented 2 weeks ago

cc @greglandrum (for awareness)

mcs07 commented 2 weeks ago

Migration applied manually in https://github.com/conda-forge/rdkit-feedstock/pull/160