Guilherme I F L Weizenmann
55c5869c30
Update requirements.txt
...
Fix missing python magic dll on windows
2025-06-02 13:00:20 +02:00
Keith Maxwell
2b174bd2cc
Switch from docopt to docopt-ng
...
Running dotdrop under recent releases of Python — 3.12 and 3.13 — [outputs
syntax warnings] when from the docopt module.
[outputs syntax warnings]:
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
<details>
<summary>Output with syntax warnings on Python 3.12 and 3.13</summary>
Command to run `dotdrop` with Python 3.12:
rm -rf ~/.cache/uv \
&& ~/.local/bin/uv tool run --python=python3.12 dotdrop install --profile=default
Output:
```
Built docopt==0.6.2
Installed 15 packages in 7ms
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:165: SyntaxWarning: invalid escape sequence '\S'
name = re.findall('(<\S*?>)', source)[0]
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:166: SyntaxWarning: invalid escape sequence '\['
value = re.findall('\[default: (.*)\]', source, flags=re.I)
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:207: SyntaxWarning: invalid escape sequence '\['
matched = re.findall('\[default: (.*)\]', description, flags=re.I)
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:456: SyntaxWarning: invalid escape sequence '\S'
split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:]
_ _ _
__| | ___ | |_ __| |_ __ ___ _ __
/ _` |/ _ \| __/ _` | '__/ _ \| '_ |
\__,_|\___/ \__\__,_|_| \___/| .__/ v1.14.2
|_|
0 dotfile(s) installed.
```
The output is similar using `python3.13`.
</details>
[docopt] hasn't had a [release to PyPI] in 10 years. [No wheels] are
published to PyPI. `docopt` is used throughout the [dotdrop] code base.
Advice online suggests adopting [docopt-ng] instead.
[docopt]: https://github.com/docopt/docopt
[no wheels]: https://github.com/docopt/docopt/issues/502
[release to PyPI]: https://pypi.org/project/docopt/#history
[docopt-ng]: https://github.com/jazzband/docopt-ng
[dotdrop]: https://github.com/deadc0de6/dotdrop
2024-11-21 13:33:38 +01:00
Alfred Wingate
56d5a86eb2
toml: move from toml to tomllib + tomli_w
...
* toml is getting removed from distributions due to being generally
unmaintained and not support the lastest TOML standard.
* For parsing use tomllib which is included in python3.11 and tomli for
earlier interpeter versions.
* For writing use tomli-w. tomli-w.dump() expects bytes-like objects so
work around it to keep compatability and minimize changes elsewhere.
Signed-off-by: Alfred Wingate <parona@protonmail.com >
2023-08-05 23:15:48 +02:00
Maëlan
9bbbe2796e
add end-of-line at end of requirements.txt
...
the absence of an end-of-line made `pip install -r requirements.txt` ignore the last line
2022-10-13 21:15:05 +02:00
deadc0de6
770f355257
python version in dependencies
2022-09-03 08:57:15 +02:00
deadc0de6
3091996c8d
distro requ
2022-09-03 08:55:39 +02:00
deadc0de6
148c74ad71
Merge branch 'enrich-variables' of github.com:deadc0de6/dotdrop into enrich-variables
2022-09-03 08:54:16 +02:00
deadc0de6
8e704de40c
update requirements
2022-09-03 08:49:25 +02:00
deadc0de6
565dad58c6
no more python 3.5
2022-08-25 23:30:14 +02:00
deadc0de6
b4769c015e
fix requirements
2022-08-22 21:27:44 +02:00
deadc0de6
313db43c32
update requirements
2022-08-22 21:16:43 +02:00
deadc0de6
32ecc0ec39
add toml package
2022-05-27 12:37:57 +02:00
deadc0de6
15c1a09a48
add check_version config option
2021-10-10 16:47:04 +02:00
deadc0de6
8bc6519a25
use magic for determining file types and remove mkdir dependency
2020-11-05 22:17:26 +01:00
deadc0de6
df9b56214d
python 3.4 no longer supported (EOL)
2019-06-06 17:22:40 +02:00
deadc0de6
d008e6a895
migrate from PyYAML to ruamel.yaml
2019-06-06 17:11:13 +02:00
deadc0de6
46fb18d772
update python deps to minimum version
2017-03-09 08:44:37 +01:00
deadc0de6
a356979555
first commit
2017-03-07 19:19:00 +01:00