Commit Graph

75 Commits

Author SHA1 Message Date
Mike Fährmann
d0c1fd0073 [workflows:tests] install yt-dlp from PyPI for PyPy 3.9
4e6a693057
2025-10-15 19:29:02 +02:00
Mike Fährmann
c794600821 [workflows:tests] install yt-dlp from PyPI for Python 3.9
4e6a693057
2025-10-15 16:07:23 +02:00
Mike Fährmann
9d054ad18d [workflows:tests] include Python 3.14 & pypy3.11 2025-10-14 14:18:08 +02:00
Mike Fährmann
f5cd1fc884 [workflows] update 'checkout' & 'setup-python' versions 2025-09-11 11:59:09 +02:00
Mike Fährmann
b0d7de3603 support using system certificates via 'truststore' (#6582)
https://github.com/mikf/gallery-dl/issues/6582#issuecomment-2989290495
2025-06-20 19:55:01 +02:00
Mike Fährmann
6d928f3805 remove some pre-3.8 workarounds (#7671) 2025-06-17 12:56:47 +02:00
Mike Fährmann
6227b64de2 [workflows:tests] include Python 3.7 2025-06-16 12:03:55 +02:00
Mike Fährmann
9348c9ce25 [workflows:executables] update to 'windows-2022'
'windows-2019' will no longer be supported by 2025-06-30
https://github.com/actions/runner-images/issues/12045
2025-06-10 22:59:18 +02:00
Mike Fährmann
ecbad03c49 [workflows:tests] run on ubuntu-22.04
> Ubuntu 20.04 LTS runner will be removed on 2025-04-01
2025-03-05 20:38:28 +01:00
Mike Fährmann
c6d5e25055 [workflows:executables] use Python 3.13 2024-12-25 19:50:26 +01:00
Mike Fährmann
30ff775382 [workflows:tests] change job name to 'test'
… and use alternate list syntax for Python versions
2024-11-10 21:29:48 +01:00
Mike Fährmann
00436d6027 [workflows:tests] include Python 3.13 2024-10-21 09:56:37 +02:00
Mike Fährmann
9b4c94fda8 [build] include yt-dlp 'default' optional dependencies
https://github.com/yt-dlp/yt-dlp/pull/11255
2024-10-17 09:21:32 +02:00
Mike Fährmann
6c0cce8dff [build] remove setuptools and requests version restrictions 2024-09-29 12:57:10 +02:00
Mike Fährmann
7d5415c201 [workflow:executables] restrict 'setuptools' to <71
setuptools 71 together with secretstorage dependencies
causees an ImportErrorWhenRunningHook exception in PyInstaller
for whatever reason
2024-07-18 02:24:52 +02:00
Mike Fährmann
39b9c8d4b0 [workflows:pages] add repo check to 'deploy' job as well
of course I forgot one
a434fc7cb1
2024-07-15 18:26:49 +02:00
Mike Fährmann
a434fc7cb1 [workflows] only run in 'mikf/gallery-dl' repo
The actual code was included in the previous
97a50a23d2 by accident …

This commit only wraps the slightly more complex docker.yml condition
in GitHub's special ${{ … }} braces.
2024-07-05 21:33:39 +02:00
Mike Fährmann
97a50a23d2 [twitter] implement 'cursor' support (#5753) 2024-07-05 00:03:02 +02:00
Mike Fährmann
e1dbb4cbe1 [workflows:tests] restrict Python 3.12 to '3.12.3'
The changes from .3 to .4 seem to cause errors when running flake8
2024-06-22 16:18:58 +02:00
Mike Fährmann
612435480a [workflows:tests] restore Python 3.5 usage
https://github.com/actions/setup-python/issues/866
2024-06-02 01:32:54 +02:00
Mike Fährmann
330162f774 limit requests to '<2.32' for Docker and executables (#5665)
at least for the time being until requests fixed all
HTTPAdapter / SSLContext bugs
2024-06-01 15:57:25 +02:00
Mike Fährmann
3d033a48ea [workflows:executables] change dev/linux binary name to …_linux
This reverts commit 05f8435e09.
2024-05-29 02:46:29 +02:00
Mike Fährmann
e35317118a [workflows:executables] set bash as default shell for all runners
should fix environment variables on Windows
2024-05-28 22:20:13 +02:00
Mike Fährmann
05f8435e09 [workflows:executables] restore 'gallery-dl_ubuntu' name 2024-05-28 22:20:13 +02:00
Mike Fährmann
601f5becc8 [version] add __variant__
Specifies origin and OS of executable files.
For example 'stable/windows'.
2024-05-27 21:37:01 +02:00
Mike Fährmann
a6e0258020 [workflows:executables] include commit link in release notes 2024-05-24 02:05:27 +02:00
Mike Fährmann
07d962d60a [workflows:tests] remove Python 3.5
currently causing errors in the setup phase:

  Error: Could not find a version that satisfies the requirement pip
  Error: No matching distribution found for pip
  Error: The process '/usr/bin/bash' failed with exit code 1
2024-05-12 16:52:38 +02:00
Mike Fährmann
bdca01e6e6 [workflows] build complete docs Pages only on gdl-org/docs
deploy only docs/oauth-redirect.html on mikf.github.io/gallery-dl
2024-03-31 00:14:16 +01:00
Mike Fährmann
7ac6274fe0 [docker] change date tags format from YYYYMMDD to YYYY.MM.DD
to use the same format as in executables
2024-03-11 22:17:50 +01:00
Mike Fährmann
71cf08af4b [workflows] update version.py path 2024-03-09 23:47:35 +01:00
Mike Fährmann
a01d334feb [workflows] update to actions/setup-python@v5 2024-03-09 23:32:31 +01:00
Mike Fährmann
3c979e1f05 [workflows] release standalone executables in gdl-org/builds
needs some form of release notes,
probably just git commits since last stable release
2024-03-09 23:30:39 +01:00
Mike Fährmann
36fc510d3a [docker] update workflow
- run on every push to master
- build images from GitHub source instead of PyPI package
- build arm64 image (#5227)
- include more tags
  - build date as 'YYYYMMDD'
  - 'dev' for most recent build from master
  - 'latest' for most recent release build
2024-03-05 03:15:20 +01:00
Mike Fährmann
461b55da4b [docs] deploy pages in both repositories
mikf/galleryx-dl and gdl-org/docs
2024-03-05 00:11:19 +01:00
Mike Fährmann
a97e39d94a [docs] automatically trigger pages build on gdl-org/docs 2024-03-03 22:49:55 +01:00
Mike Fährmann
f3bc048ff7 allow workflows to be triggered manually 2024-03-03 18:10:55 +01:00
Mike Fährmann
24106d9994 exclude scripts/pyprint.py from linting for Python<3.8 2024-02-27 19:07:52 +01:00
Mike Fährmann
1d5ee4239d [docker] let metadata-action automatically generate 'latest' tags 2023-12-10 22:43:04 +01:00
Mike Fährmann
db978b34f1 [docker] use PAK for GHCR login (#4831) 2023-12-06 12:28:52 +01:00
Mike Fährmann
d1ea60c057 [github] fix docker workflow (#4831)
- run only on tagged commits and not on every commit to master
- use the correct github token
2023-12-05 22:55:07 +01:00
Mike Fährmann
43ca49c1b4 [github] add workflow to build and push docker images
heavily inspired by and adapted from
https://github.com/danbooru/danbooru/blob/master/.github/workflows/docker-build.yaml
2023-12-02 17:53:11 +01:00
Mike Fährmann
6c040afe0f [tests] install yt-dlp from PyPI for Python 3.7
f4b95acafc
2023-11-17 15:35:52 +01:00
Mike Fährmann
1671a90077 use Python 3.12 for GitHub Actions 2023-10-14 14:48:40 +02:00
Mike Fährmann
fdcfae347f do not restrict flake8 version 2023-09-15 14:19:47 +02:00
Mike Fährmann
05f183d7d4 exclude export_tests.py from linting for Python<3.8 2023-09-14 18:49:58 +02:00
Mike Fährmann
23469837cd attempt to fix file permission tests 2023-06-25 00:48:40 +02:00
Mike Fährmann
3e7ac5ec3a check file mode bits
ensure every file in ./gallery_dl has mode 644
2023-06-19 17:53:40 +02:00
Mike Fährmann
aa731c4298 [ytdl] run yt-dlp tests with latest code from master (#3989)
Only use PyPI version for Python 3.6, since that's no longer supported
by the current codebase.
2023-05-01 16:42:57 +02:00
Mike Fährmann
e07ceb90b3 fix 'executables.yml' workflow
or at least attempt to
2023-04-19 20:35:24 +02:00
Mike Fährmann
f424d1fc23 include more optional dependencies in PyInstaller executables
(#3907)

- pyyaml
- toml (for Python<3.11)
- secretstorage (on Linux)
2023-04-18 20:51:31 +02:00