Damien Elmes
d39e7be451
fix qtwebengineprocess failing to load on darwin-aarch64
2021-10-16 18:07:39 +10:00
Damien Elmes
e577bd12b8
work around pyqt6.2.0's incorrect architecture label
2021-10-16 18:07:39 +10:00
Damien Elmes
3d1c2cb841
roll back regex due to unsigned wheel
2021-10-16 18:07:39 +10:00
Damien Elmes
424bb5bc68
remove unneeded namespace code from install_pyqt5/6.py
2021-10-16 18:07:29 +10:00
Damien Elmes
cf71ebfe7c
drop rules_pip
...
Our vendored Python includes a recent pip, so we no longer need rules_pip's
dependencies for our PyQt scripts.
2021-10-16 16:54:35 +10:00
Damien Elmes
b697ef3044
update Python deps
2021-10-16 09:29:11 +10:00
Damien Elmes
4a8e2bdc2d
download wheels using rules_python
2021-10-15 16:02:26 +10:00
Damien Elmes
1701937cba
expose pyqt6 packages - not yet used
2021-10-15 10:47:53 +10:00
Damien Elmes
8833175bb4
strip extras from requirements.txt
...
The extra was preventing use as a pip constraints file.
2021-10-04 15:05:48 +10:00
Damien Elmes
7c70d26fe7
update Python deps
2021-10-02 23:52:23 +10:00
Damien Elmes
d120cd7f8a
update to latest mypy
...
mypy's move to external types-* packages is a PITA, as it requires them
to be installed in site-packages, and provides no way to specify a custom
site-packages folder, necessitating extra scripts to mock the
site-packages path, and copy+rename the stub packages into a separate
folder.
2021-06-16 16:04:59 +10:00
Damien Elmes
e8d1a035a2
bump Python deps
...
closes #1216
2021-06-02 15:26:04 +10:00
Damien Elmes
c41d5ca4bf
work around Windows issue on latest Black
...
Thanks Rumo!
d797900386
2021-05-13 20:15:51 +10:00
Damien Elmes
d797900386
roll back black for now due to Windows breakage
2021-05-07 18:50:25 +10:00
Damien Elmes
8a994ccac0
update Python deps
2021-05-07 18:13:17 +10:00
Damien Elmes
c6540a082a
Revert "add formatting experiment for posterity"
...
This reverts commit a63edb989d
.
2021-04-14 19:12:14 +10:00
Damien Elmes
a63edb989d
add formatting experiment for posterity
2021-04-14 19:12:05 +10:00
Damien Elmes
c49d6ce49f
run black/isort on Python scripts
2021-04-14 18:22:02 +10:00
Damien Elmes
01049b1289
add an updated script to run mypy as a daemon
...
Sadly doesn't work on Windows
2021-04-14 18:10:38 +10:00
Damien Elmes
a2de0b5bfd
bump Python deps
2021-04-14 16:12:53 +10:00
Damien Elmes
07309a4c42
expose binaries from pip
2021-04-13 21:21:30 +10:00
Damien Elmes
948fc5f777
add missing copyright headers to *.py
2021-04-13 18:45:35 +10:00
Damien Elmes
d72df9c327
update Python deps
2021-03-27 14:52:21 +10:00
Damien Elmes
7d6fd48a6f
fix mypy treating Qt objects as inheriting from Any
...
Before this change, mypy would fail to catch mistakes like
mw.does_not_exist(). Also fix a couple of bugs this has uncovered.
2021-03-19 19:45:21 +10:00
Damien Elmes
38850c6856
winrt packaging bug has been fixed
2021-02-03 13:34:44 +10:00
Damien Elmes
168963460f
update to latest mypy_protobuf
...
The handling of enum types has improved - we no longer need to import
separate types at typechecking time.
2021-02-03 13:31:52 +10:00
Damien Elmes
e7483edee7
update mypy and other Python deps
...
latest mypy_protobuf can no longer be run directly, so we need
to run a wrapper instead
2021-02-01 15:50:04 +10:00
Damien Elmes
5634c8fe7a
update piptools; automatically insert winrt footer
2021-01-04 13:19:17 +10:00
Damien Elmes
bef1fabd74
catch references to missing terms in ftl check
...
https://github.com/ankitects/anki/pull/889
- We can't use compare_locales's getChecker(), as it seems to
be focused on checking translations rather than the original
templates.
- Also fix return code not being passed on in check_files()
- Temporarily pin pip-tools, as its output format has changed
2021-01-04 13:19:17 +10:00
Damien Elmes
88553acb0d
support overriding pyqt via env var
...
Documentation to come later.
2020-12-30 13:36:57 +10:00
Damien Elmes
38614ab047
winrt 1.0.20239.1 isn't available for python 3.9
2020-12-23 20:31:13 +10:00
Damien Elmes
4c6e87ac87
update waitress to handle broken hostnames
...
Fixes https://github.com/Pylons/waitress/issues/312
2020-12-21 14:42:00 +10:00
Damien Elmes
873a27641f
document winrt pin reason
2020-12-21 13:57:51 +10:00
Damien Elmes
198639a095
update setuptools; remove header
...
So users don't need to manually exclude the header from the git commit
2020-12-21 13:44:29 +10:00
Damien Elmes
165007180a
add winrt for TTS work
...
https://github.com/ankitects/anki/pull/855
Also update psutil version
2020-12-20 10:54:57 +10:00
Damien Elmes
32b6e8e198
document ANKI_PROFILE_CODE and add bazel command to run snakeviz
2020-12-17 12:03:24 +10:00
Damien Elmes
1020381ca3
add snakeviz
2020-12-17 10:57:51 +10:00
Damien Elmes
0d2185fa22
update python deps
2020-12-17 10:57:44 +10:00
Damien Elmes
1399ea9f13
bump py deps
2020-12-09 15:54:35 +10:00
Damien Elmes
f7cc88a4fd
update qt to 5.12.2
2020-12-01 10:56:13 +10:00
Damien Elmes
7fe41a364a
add script to extract FTL strings
2020-11-19 11:26:09 +10:00
Damien Elmes
7efcc2d5d6
dump pypi licenses of runtime deps
2020-11-12 20:03:41 +10:00
Damien Elmes
2897707263
update Python deps
2020-11-12 20:03:41 +10:00
Damien Elmes
b0aedd6c76
orjson was missing from dep list; drop 32 bit compat
2020-11-12 20:03:41 +10:00
Damien Elmes
0d354da93a
move aqt_data into source folder; implement wheel building
2020-11-04 12:14:03 +10:00
Damien Elmes
27e720c6b8
README updates
2020-11-03 09:03:00 +10:00
Damien Elmes
69bdd73de5
pin Python deps
2020-11-02 21:05:37 +10:00
Damien Elmes
73247ff20f
pyqt5 -> pip/pyqt5
2020-11-02 19:22:23 +10:00
Damien Elmes
aea0a6fcc6
initial Bazel conversion
...
Running and testing should be working on the three platforms, but
there's still a fair bit that needs to be done:
- Wheel building + testing in a venv still needs to be implemented.
- Python requirements still need to be compiled with piptool and pinned;
need to compile on all platforms then merge
- Cargo deps in cargo/ and rslib/ need to be cleaned up, and ideally
unified into one place
- Currently using rustls to work around openssl compilation issues
on Linux, but this will break corporate proxies with custom SSL
authorities; need to conditionally use openssl or use
https://github.com/seanmonstar/reqwest/pull/1058
- Makefiles and docs still need cleaning up
- It may make sense to reparent ts/* to the top level, as we don't
nest the other modules under a specific language.
- rspy and pylib must always be updated in lock-step, so merging
rspy into pylib as a private module would simplify things.
- Merging desktop-ftl and mobile-ftl into the core ftl would make
managing and updating translations easier.
- Obsolete scripts need removing.
- And probably more.
2020-11-01 14:26:58 +10:00