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
Qtile check breaks #3634
Comments
dirs_exist_ok is a parameter added in Python 3.8 |
|
I perfectly understand your reasoning, I myself would use a more recent version of python, but python is not considered stable on my distro, for whatever reason (I'm on Funtoo). Not your problem, it's just it was not clear which versions are supported: the README does not state it, the setup.py had 3.7 as one of the version. |
The main change here is that dependencies for the script are all checked at the very beginning. Currently there is an issue on python 3.7 where the error message that tells the user that 3.7 isn't supported doesn't even get reached! This fixes that. Also some minor cosmetic changes. See qtile#3634
100% agree. I've fixed up the check script so that this error message actually gets printed: #3662 |
The main change here is that dependencies for the script are all checked at the very beginning. Currently there is an issue on python 3.7 where the error message that tells the user that 3.7 isn't supported doesn't even get reached! This fixes that. Also some minor cosmetic changes. See #3634
The issue:
Qtile check breaks on some parameter passed to shutil.copytree on python 3.7
foijeaf@localhost ~ $ qtile check checking qtile config file /home/foijeaf/.config/qtile/config.py Traceback (most recent call last): File "/usr/lib/python-exec/python3.7/qtile", line 33, in <module> sys.exit(load_entry_point('qtile==0.21.0', 'console_scripts', 'qtile')()) File "/usr/lib/python3.7/site-packages/libqtile/scripts/main.py", line 66, in main options.func(options) File "/usr/lib/python3.7/site-packages/libqtile/scripts/check.py", line 118, in check_config shutil.copytree(path.dirname(args.configfile), tempdir, dirs_exist_ok=True) TypeError: copytree() got an unexpected keyword argument 'dirs_exist_ok'
Qtile version is 0.21.0
Required:
The text was updated successfully, but these errors were encountered: