Code Repository (Python) condaDevelop Failure

I have a dozen of Python code repositories that will not build and I cannot get them to build. This seemed to start after a code repository downtime on May 1, after which they would not build again. This has also happened to several other developers on my team.

Error message:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':python-functions:condaDevelop'.
> Execution failed with non-zero exit code: 1

There is an “Upgrade” button on the top right that I noticed appeared on May 2, but clicking that and attempting to merge that into the branch fails because the checks fail due to the build failure (the error above). I do not seem to be able to force merge this.

Things that I have tried

  • Creating a new SDK and installing
  • Creating a new SDK with a different version and installing
  • Clicking the “Upgrade” button and trying to merge (as noted above, it fails)
  • Copy pasting the files from the “Upgrade” pull request into the hidden files (gradle.properties, conda-versions.run.linux-64.lock, conda-versions.test.linux-64.lock, templateConfig.json)

The only thing that worked was creating a brand new repository and manually migrating every single function I have over, but ideally I would not like to do that for all of our repositories. This has happened to some of my team’s prod repositories as well, which we had to manually recreate in a new repo. Is there a solution to this?

Try pinning the ‘setuptools’ below version 80 in the test, build and run environment via the meta.yml file. There was a breaking change in v80 of setuptools that removed a deprecated feature that is used by conda develop. I hope that helps, I think I had the same issue and it gave me a headache for a full day…

5 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.