54 Commits

Author SHA1 Message Date
Christoph Reiter
fd1952d205 Update mypy 2025-09-17 10:59:55 +02:00
Christoph Reiter
59740a3f2e Port to PEP 735
And depend on poetry 2.2.
This allows one to use uv instead of poetry if wanted.
Add .venv to flake8 ignore since that's the uv default.

Also update deps while at it, and specify a license.
2025-09-14 21:43:15 +02:00
Christoph Reiter
4704486d49 Update deps; require PyGithub 2.8.1
move to the new digest property
2025-09-09 09:44:28 +02:00
Christoph Reiter
a3bae5a40c Drop support for Python 3.11
We kinda depend on os.path.isjunction, so just drop it
2025-08-26 22:05:43 +02:00
Christoph Reiter
fd77359a5a Drop support for Python 3.10 2025-08-01 08:26:25 +02:00
Christoph Reiter
84d3306857 Update mypy 2025-08-01 08:16:45 +02:00
Christoph Reiter
69ce064955 Update pygithub
there are API changes, so bump the minimum
2025-08-01 07:56:41 +02:00
Christoph Reiter
ab3c2437e8 Update deps 2025-07-22 06:38:31 +02:00
Christoph Reiter
5c2504702e Update deps 2025-06-02 09:22:39 +02:00
Christoph Reiter
4413e41389 Port to PEP 621
only dev deps left, for that we need PEP 735 which isn't in poetry yet
2025-03-07 16:41:28 +01:00
Christoph Reiter
1ef3f8f5f5 Use new pygithub global lazy feature
Requires 2.6.0. Means data is only fetched if it is accessed,
so fewer API calls for us (hopefully).
2025-03-07 12:04:21 +01:00
Christoph Reiter
ca6dd299ee Update dependencies 2025-03-07 11:02:48 +01:00
Christoph Reiter
a187346d08 Update deps 2025-02-15 15:11:06 +01:00
Christoph Reiter
bdd38ec73c Update deps 2025-01-25 07:32:02 +01:00
Christoph Reiter
ef67d84096 Update deps 2024-10-26 14:27:05 +02:00
Christoph Reiter
05a051162d Update deps 2024-08-28 08:30:18 +02:00
Christoph Reiter
f44d95e7c2 Update deps 2024-08-02 09:40:41 +02:00
Christoph Reiter
ea149103be Update deps 2024-05-20 10:13:34 +02:00
Christoph Reiter
9a0b6a31c9 Update deps 2024-03-17 16:22:03 +01:00
Christoph Reiter
8d7df1587a add missing urllib3 dep 2024-03-17 16:21:14 +01:00
Christoph Reiter
b78070c653 Update deps 2024-02-01 21:08:42 +01:00
Christoph Reiter
1c45f2ab2e Update deps 2024-01-10 08:22:56 +01:00
Christoph Reiter
0eca067dd7 Update deps 2023-12-07 11:32:22 +01:00
Christoph Reiter
1f4971c293 Drop support for Python 3.8/9 2023-10-22 16:03:57 +02:00
Christoph Reiter
fd1d5cc9ef Update deps 2023-10-22 15:54:52 +02:00
Christoph Reiter
d1048413f8 Update pygithub to v2
It now has its own default retry logic that fits the GH API,
so no longer pass our own and assume it handles things better.

The datetimes are now timezone aware, so we no longer have to fix
them.
2023-10-16 20:21:47 +02:00
Christoph Reiter
3e0391eb26 Update mypy 2023-10-16 19:44:28 +02:00
Christoph Reiter
0852421d17 Update deps 2023-08-29 07:38:58 +02:00
Christoph Reiter
305e7b4c68 Update dependencies 2023-06-30 21:57:33 +02:00
Christoph Reiter
f78c47f441 Update dependencies 2023-05-26 22:49:17 +02:00
Christoph Reiter
aa61bfdedd Update dependencies 2023-04-07 19:29:24 +02:00
Christoph Reiter
e0e19de2c1 Add some unit tests
just one to get things started
2023-03-22 12:47:27 +01:00
Christoph Reiter
87f0603c87 Split the code up into separate modules
with minimal code changes
2023-03-22 09:59:05 +01:00
Christoph Reiter
0d25d51a04 Convert the script to a Python package
It can now be invoked via `python -m msys2_autobuild` or
by installing it, which adds a "msys2-autobuild" script.

This is a first step towards splitting up the code.

The HTTP cache is now stored in the working directory
instead of the source directory.
2023-03-21 11:34:39 +01:00
Christoph Reiter
d0ddf60737 Update dependencies 2023-03-18 10:40:06 +01:00
Christoph Reiter
c152a6dbbf Depend on the new pygithub assets API
This exposes the assets inline from a release, so this
should save us lots of requests. Available since v1.58.0
2023-02-19 16:08:51 +01:00
Christoph Reiter
77c2d02a4d Update dependencies 2023-02-19 16:03:41 +01:00
Christoph Reiter
e22cc1cc17 Update dependencies 2022-12-10 21:55:46 +01:00
Christoph Reiter
bf34129d62 Update dependencies 2022-10-09 20:57:44 +02:00
Christoph Reiter
f33be41b0f Update dependencies 2022-08-04 21:39:19 +02:00
Christoph Reiter
4dbd2618fb Update deps 2022-07-21 21:54:07 +02:00
Christoph Reiter
9360a8eebe Update dependencies 2022-06-30 21:04:54 +02:00
Christoph Reiter
97faefb5b3 Update deps
requests-cache now provides an option to always revalidated, so use that.
Before it mostly worked by accident.
2022-05-29 10:29:38 +02:00
Christoph Reiter
1684dff8bc Update mypy 2022-04-30 17:28:08 +02:00
Christoph Reiter
8870b3a342 Use requests-cache for adding etag/last-modified based caching
This doesn't speed things up usually, since we still make the same amount
of requests, but it doesn't count against the rate-limit in case there
is a cache hit. Also there is a smaller chance of things going wrong,
since we don't transfer any payload.

The cache is store in a .autobuild_cache directory using a sqlite DB.
2022-04-30 17:15:18 +02:00
Christoph Reiter
3e28396ab0 Update deps 2022-01-14 16:41:36 +01:00
Christoph Reiter
8ecac52817 Update deps 2021-11-27 05:47:09 +01:00
Christoph Reiter
ed2cdb03c6 Require python 3.8
for typing.Literal
2021-09-11 17:24:54 +02:00
Christoph Reiter
2707697dc4 require python 3.7 2021-09-11 17:20:12 +02:00
Christoph Reiter
c861ee86d0 Update deps 2021-09-11 17:16:51 +02:00