You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: makedirs() got an unexpected keyword argument 'exist_ok'
Not sure if this was the intention or not - and I don't mind fixing up our code to use python 3 to execute the script instead of python 2. If the intention is that python 3 is the default now, perhaps the shebang of infra/helper.py should be updated from
#!/usr/bin/env python
to
#!/usr/bin/env python3
```?
The text was updated successfully, but these errors were encountered:
Thanks for letting know about this. I'm going to change this code to work with python2 again. @oliverchang Do you think we should just switch to python3?
I wonder if there's something like caniuse.com for python versions that we can use to find out which distros/OSes have python3.
Hi,
Commit f533434 introduced a number of
os.makedirs(directory, exist_ok=True)
calls. As per https://docs.python.org/2.7/library/os.html and https://docs.python.org/3.5/library/os.html, exist_ok was added in 3.2.This broke the CI checking here: libsndfile/libsndfile#663 with the error:
Not sure if this was the intention or not - and I don't mind fixing up our code to use python 3 to execute the script instead of python 2. If the intention is that python 3 is the default now, perhaps the shebang of infra/helper.py should be updated from
to
The text was updated successfully, but these errors were encountered: