Commit graph

33 commits

Author SHA1 Message Date
Misty De Méo
e2eff5ebed ci: fix branch check 2025-08-21 12:49:27 -07:00
Misty De Méo
c5c44db119 ci: update renovate branch format 2025-08-21 12:41:45 -07:00
Misty De Méo
13328883b3 ci: migrate yt-dlp autotest to renovate
This replaces the previous yt-dlp auto-test and merge workflow to use
Renovate instead of Dependabot, since we've found that Dependabot is
no longer able to update our dependencies.
2025-08-21 12:38:59 -07:00
Barbara Miller
a93bf13252
Merge branch 'master' into predup_type_playlist 2025-07-25 15:22:22 -07:00
Barbara Miller
951ce8c92f skip 3.14 for now with psycopg; try 3.13 2025-07-25 11:04:02 -07:00
Barbara Miller
c3e4046f46 do use uv, not pip 2025-07-25 10:48:10 -07:00
Misty De Méo
99575b03b4 ci: always run full test suite
We previously ran the full suite, including test_brozzling, on a daily
timer because it took an enormous amount of time to run. I'd been under
the impression this was because it *had* to take that long to do the
work it was performing, but it looks like it hadn't been necessary and
the suite has been sped up massively since. We can now run it in about
six and a half minutes, which is perfectly fine to run on every PR.
2025-07-21 12:40:11 -07:00
Misty De Méo
db5cc6758a ci: run frontier tests
This was skipped before due to flakiness, but it seems to be both
reliable and fast enough to be tolerable. It takes about 30 seconds
to complete on my local machine.
2025-07-18 16:32:55 -07:00
Misty De Méo
dfcfed8ace ci: skip manpage generation
This should speed up dependency installs.
2025-07-18 16:07:59 -07:00
Misty De Méo
306e55d61a ci: fix daily run
I migrated our regular tests to use `uv`, but neglected to update
this config too.
2025-07-18 15:34:59 -07:00
Barbara Miller
db17335ffb fix github ruff issues 2025-07-14 16:19:34 -07:00
Misty De Méo
f9cc2ea48e ci: test with 3.14 beta
Some checks failed
Python Formatting Check / formatting (push) Has been cancelled
Tests / Run tests (push) Has been cancelled
3.14 beta 4 is very late in the cycle, so it seems like a good time
for us to start testing with it to make sure we're ready.
2025-07-10 09:47:18 -07:00
Misty De Méo
aea4286bd1 ci: use uv 2025-07-10 09:41:09 -07:00
Misty De Méo
a4e5418e13 tests: enable format check 2025-06-26 09:04:51 -07:00
Misty De Méo
33f60ce609 Drop Python 3.8 support
Python 3.8 is EOL since October. It's no longer supported by new versions
of yt-dlp, limiting video capture support. It's also no longer supported
by setuptools, which has complicated distribution - it's preventing us
from keeping packaging configuration up to date.
2025-06-12 12:55:17 -07:00
Misty De Méo
94920b8b98 ci: two fixes to dependabot action
Some checks failed
Python Formatting Check / formatting (push) Has been cancelled
Tests / Run tests (push) Has been cancelled
These were necessary in qa for the automated yt-dlp action to run to completion.
2025-05-30 13:27:42 -07:00
Misty De Méo
f8ede3d605 ci: remember to merge after approving
Some checks are pending
Python Formatting Check / formatting (push) Waiting to run
Tests / Run tests (push) Waiting to run
2025-05-29 16:40:55 -07:00
Misty De Méo
944dc4c478 ci: install chrome before uv sync 2025-05-29 16:40:55 -07:00
Misty De Méo
943acd35d6 fix: dependabot.yml location 2025-05-27 15:18:43 -07:00
Misty De Méo
794f7dd98d ci: set up a yt-dlp test script
This runs every time we get a new yt-dlp version - we test to see if
this script is able to download at least 3/5 out of a set of videos
we've defined. If it succeeds, we go ahead and automatically merge
the new yt-dlp version into the qa branch so that we can test
further.
2025-05-27 15:09:15 -07:00
Misty De Méo
b4d2726e54 dependabot: add yt-dlp in qa
Also sets up an auto-approve for dependabot PRs.
2025-05-27 15:09:15 -07:00
Misty De Méo
bed0599d6e ci: fix publish needs write permissions
Applies fixes from https://github.com/internetarchive/warcprox/pull/220
2025-05-23 15:47:07 -07:00
Misty De Méo
b3fbdceeca CI: add a simple tag-to-release config
Some checks failed
Python Formatting Check / formatting (push) Has been cancelled
Tests / Run tests (push) Has been cancelled
This adds a tag-to-release Actions config based around uv.

This is triggered by pushing a tag with a new version; it will
automatically kick off this job, which will publish the new
version to PyPI on completion. We can push that tag from a PR
or directly to master.

At the moment, this doesn't do anything to automatically create
a GitHub release from the tag; we can do that manually for now,
but if we're interested I can add something to automatically
generate the release too.

We don't need to provide a token to uv to publish; instead, we
just need to configure the repo for PyPI access using this:
https://docs.pypi.org/trusted-publishers/adding-a-publisher/
2025-05-08 15:30:42 -07:00
Gretchen Leigh Miller
65b0b5f50b
Makefile improvements + pre-commit hook (#340)
* Makefile improvements + pre-commit hook

* update make target in CI

* fix CI more

* .gitignore update

* couple more Makefile refinements

* make target-version explicit on ruff import sorting
2025-03-07 16:45:53 -08:00
Misty De Méo
0f707dc02b CI: extend daily job timeout
Some checks are pending
Python Formatting Check / formatting (push) Waiting to run
Tests / Run tests (3.12) (push) Waiting to run
Tests / Run tests (3.8) (push) Waiting to run
This was left at the default of six hours, but it timed out last
might. I'll set it at eight hours to see if this is more reliable.
2025-03-05 17:10:27 -08:00
Misty De Méo
ffeaee7a01 chore: use ruff for formatting
Some checks are pending
Python Formatting Check / formatting (push) Waiting to run
Tests / Run tests (3.12) (push) Waiting to run
Tests / Run tests (3.8) (push) Waiting to run
There are a few minor changes here compared to black; it flagged
unnecessary string concatenations, and has slightly different
opinions on line length.
2025-03-05 09:43:17 -08:00
Misty De Méo
c59b08df33
test: add CI (#329)
Some checks are pending
Python Formatting Check / formatting (push) Waiting to run
Tests / Run tests (3.12) (push) Waiting to run
Tests / Run tests (3.8) (push) Waiting to run
This adds two CI runs: a quick one that happens for every pull
request and merge to master, and a longer one that happens daily.

This also adds a new installation group to setup.py because the
`easy` group isn't currently installable, and some of the dependencies
specified there need to be present for the tests to run.
2025-03-04 09:34:23 -08:00
Barbara Miller
e6332c7f94 unused 2025-03-03 14:41:30 -08:00
Barbara Miller
39a3c7cc8b
Update workflow publish-artifacts.yml 2024-10-30 15:56:02 -07:00
Barbara Miller
741a30feee draft workflow to publish build artifacts 2024-10-30 12:06:41 -07:00
Alex Dempsey
8b23430a87 Use black, enforce with GitHub Actions 2024-02-08 12:07:41 -08:00
Noah Levitt
7137918005 Revert "add a github PR template for this repo"
This reverts commit 83552eb444.
2018-09-28 13:16:46 -07:00
bnewbold
83552eb444 add a github PR template for this repo 2017-04-26 14:10:24 -07:00