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

auto-tick fails for at least one feedstock with non-specific error message #2865

Open
thht opened this issue Jul 25, 2024 · 0 comments
Open

Comments

@thht
Copy link

thht commented Jul 25, 2024

Hi,
I'm the maintainer of https://github.com/conda-forge/plus_slurm-feedstock

Version 0.2.9 has been released yesterday and the auto-tick bot tries to pick up the version update. The version is on pypi.

What does not work:

  • No PR is created
  • On the status page, the package shows up under "Errored version updates" with the quite unspecific error message: "2.00 attempts - No error information available for version '0.2.9'."

The issue has already happened with a previous release of the package.

What we have tried:

  • Triggering the update via @conda-forge-admin, please update version works fine.
  • Rerendering the feedstock does not change anything, so its up-to-date
  • With the tremendous help of @zklaus, we know that the failing code is here and here
  • After cloning the cf-script repo, running conda-forge-tick --debug --online update-upstream-versions plus_slurm works.
    • I did not manage to run auto-tick locally:
      ❯ conda-forge-tick --online auto-tick
       2024-07-25 11:49:30,018 INFO     conda_forge_tick.cli || Running in online mode
       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
       > updating graph with PR info
       collapsing closed PR json
       Traceback (most recent call last):
         File "/home/th/temp/cf-scripts/.venv/bin/conda-forge-tick", line 8, in <module>
           sys.exit(main())
                    ^^^^^^
         File "/home/th/temp/cf-scripts/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
           return self.main(*args, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
           rv = self.invoke(ctx)
                ^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
           return _process_result(sub_ctx.command.invoke(sub_ctx))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/conda_forge_tick/cli.py", line 42, in invoke
           super().invoke(ctx)
         File "/home/th/temp/cf-scripts/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
           return ctx.invoke(self.callback, **ctx.params)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
           return __callback(*args, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/.venv/lib/python3.11/site-packages/click/decorators.py", line 92, in new_func
           return ctx.invoke(f, obj, *args, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
           return __callback(*args, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/conda_forge_tick/cli.py", line 156, in auto_tick
           auto_tick.main(ctx)
         File "/home/th/temp/cf-scripts/conda_forge_tick/auto_tick.py", line 1057, in main
           _update_graph_with_pr_info()
         File "/home/th/temp/cf-scripts/conda_forge_tick/auto_tick.py", line 1043, in _update_graph_with_pr_info
           _remove_closed_pr_json()
         File "/home/th/temp/cf-scripts/conda_forge_tick/auto_tick.py", line 998, in _remove_closed_pr_json
           ("pr_info", get_all_keys_for_hashmap("pr_info")),
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/conda_forge_tick/lazy_json_backends.py", line 630, in get_all_keys_for_hashmap
           return backend.hkeys(name)
                  ^^^^^^^^^^^^^^^^^^^
         File "/home/th/temp/cf-scripts/conda_forge_tick/lazy_json_backends.py", line 277, in hkeys
           raise NotImplementedError(
       NotImplementedError: hkeys not implemented for GitHub JSON backend.You cannot use the GitHub backend with operations that require listing all hashmap keys.
      

Any idea, what is going on here?

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

No branches or pull requests

1 participant