django / django-asv

Benchmarks for Django using asv
MIT License
40 stars 12 forks source link

Fix workflow #73

Closed smithdc1 closed 1 year ago

smithdc1 commented 1 year ago

So it works with virtualenv. That narrows it down to a conda issue which confirms what is seen in logs

smithdc1 commented 1 year ago

It's all a bit broken. I'm not sure why 😢

The workflows have been not working for the past week (or maybe 2 by now). https://github.com/django/django-asv/actions

It seems conda isn't working which we were using to test against multiple pythons. Conda is giving an error message with something like

SpecNotFound: /tmp/tmpamp_6v0p.yml is not a valid yaml file.

I've managed to cat that file in the runner and I get

runner@fv-az280-798:~/work/django-asv/django-asv$ cat /tmp/tmp0oboqqg_.yml
name: conda-py3.10
channels:
dependencies:
   - python=3.10
   - wheel
   - pip

Anyone spot anything wrong with this? 🤷

smithdc1 commented 1 year ago

So by editing the .yml file to:

name: conda-py3.10
dependencies:
  - python=3.10
  - wheel
  - pip

Conda was able to successfully create the environment.