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

setupconda and condabuild have been failing for 3 months #38

Open
sethfri opened this issue Oct 8, 2023 · 5 comments
Open

setupconda and condabuild have been failing for 3 months #38

sethfri opened this issue Oct 8, 2023 · 5 comments

Comments

@sethfri
Copy link

sethfri commented Oct 8, 2023

Hi @jph00! It looks like the setupconda and condabuild workflows have been failing for ~3 months. The last time I can see them running successfully consistently is 20 pages back in the workflow runs.

I believe this might be why I'm seeing the issue I'm seeing in #37 where fastchan doesn't have the latest version of platformdirs and fails fastai installation.

Do you mind taking a look at getting the workflows running again? Thanks for all you do! The fast.ai course has been a great help so far

@jph00
Copy link
Member

jph00 commented Oct 8, 2023 via email

@sethfri
Copy link
Author

sethfri commented Oct 8, 2023

@jph00 Digging into the build logs, it actually looks like the setupconda workflow is running into the same thing I hit in #37. It's hitting a 404 when trying to pull version 3.10 of platformdirs.

Looking at the Anaconda page for fastchan/platformdirs, it actually does look like something is busted here. fastchan ostensibly has a platformdirs 3.10 that's 19.4 KB, but when you try to click on the link to download it here, you get a 404. The version isn't actually there.

Would it be possible for you to manually take down fastchan's platformdirs version 3.10? Something seems to be misconfigured on Anaconda. I assume it will then get reuploaded by the GitHub Actions?

@jph00
Copy link
Member

jph00 commented Oct 8, 2023 via email

@sethfri
Copy link
Author

sethfri commented Oct 8, 2023

@jph00 Seems to work on my fork! That solves setupconda, but condabuild is still failing and I have no idea why. The traceback in the logs is unfortunately quite nondescriptive:

Traceback (most recent call last):
    File "/home/runner/work/fastconda/fastconda/build.py", line 63, in <module>
      def main(
    File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/fastcore/script.py", line 125, in call_parse
      return _f()
    File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/fastcore/script.py", line 119, in _f
      return tfunc(**merge(args, args_from_prog(func, xtra)))
    File "/home/runner/work/fastconda/fastconda/build.py", line 72, in main
      with actions_group(f'Build {name}'): print(run(f'conda build {name} {args}'))
    File "/usr/share/miniconda3/envs/test/lib/python3.10/site-packages/fastcore/xtras.py", line 207, in run
      if res.returncode: raise IOError(stdout)
  OSError: Adding in variants from internal_defaults

@sethfri
Copy link
Author

sethfri commented Oct 8, 2023

I tried adding more verbose logging on my fork here, but it doesn't give me anything else. If you have any general Python debugging tips — I'm new to Python but not new to software — I'm happy to continue taking a look

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

2 participants