summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
7 daysInstall recent pdf.js in some CI jobstoofar
This installs pdf.js in a selection of CI jobs. Previously the PDF.js tests (in qutescheme.feature) were skipped in CI because it wasn't installed anywhere. There has been a couple of recent cases where pdf.js started depending on javascript features that are too new for even the most recent QtWebEngine to support. The aim of this commit is to catch that case. This doesn't add coverage for older webengine releases. This also incidentally updates the ace editor in these test jobs, since that is also updated by default by the update_3rdparty script. Hopefully that doesn't cause issues. The reasoning for installing on each type of job: *ubuntu jobs*: not installed - while our main test runs are on ubuntu there is an upstream issue where many assets used by pdf.js (like icons used in the toolbar) aren't packaged, see #7904. This causes warning messages because assets requested via qutescheme can't be found, which causes the tests to fail. We could a) install pdf.js from source instead of using the ubuntu one b) ignore the warning logs c) skip this environment and rely on tests elsewhere. I've chosen to do (c). I don't see a huge benefit in testing pdf.js across multiple environments if we aren't using it installed from the OS anyway. We could install from source but currently all the Qt < 6.5 tests are failing from some other JS error, and I think fixing that is out of scope of this issue. *docker Qt6*: installed - the archlinux pdfjs package works fine and we are only testing the most recent Qt versions because arch users are expected to stay up to date. *docker Qt5*: not installed - doesn't support JS features required by PDF.js. I guess we could install the legacy build from source here. I'm mostly worried about catching new breakages for this commit though *windows*: installed - we install pdf.js from source when making a release so it would be nice to do that in tests too. *macos*: not installed - the tests that were catching the breakages are end2end tests which we don't run on mac. And I think there was an error from the :versions tests here, don't remember. *bleeding edge*: installed - from source pdf.js tests fail on Qt < 6.5 with `Uncaught TypeError: Cannot read properties of null (reading 'mainContainer')` The `TestPDFJSVersion.test_real_file` unit tests currently fails because `version._pdfjs_version()` returns `unknown (bundled)`, not sure why. I think this is pre-existing and it also wasn't being run on CI.
8 daysUpdate requirements and CI for PyQt6.7toofar
6.7 is released now, some distros are already shipping it! This commit: 1. adds a new 6.7 requirements file (the plain 6 one has already been updated by the bot) 2. adds a new tox env referring to the new requirements file 3. updates the mac and windows installer jobs to run with pyqt67 with the assumption we'll be including that in our next release 4. adds two new CI environments for 6.7, one each for python 3.11 and 3.12 (3.12 only came out like 6 months ago) 5. updates a couple of references to the py37 tox env that looked like they were missed, 3.7 support was dropped in 93c7fdd 6. updates various ubuntu containers to the latest LTS instead of the previous related one - this is quite unrelated to this change but I thought I would give it a go, no need to use the old one unless we are specifically testing on it? - linters - they use tox but probably use system libraries - these all run in nested containers anyway, should be fully isolated - codeql - eh, uses a third party action, check the docs if it fails - irc - as above
2024-04-06Pin eslint for now until we support v9+toofar
See https://github.com/qutebrowser/qutebrowser/issues/8159
2024-03-11build(deps): bump softprops/action-gh-release from 1 to 2dependabot/github_actions/softprops/action-gh-release-2dependabot[bot]
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25ci: don't fail all docker builds if one failstoofar
Currently the unstable docker images are failing to build (undefined symbol: _ZN5QFont11tagToStringEj, version Qt_6. Looks like Qt has upgraded to 6.7 but pyqt6 hasn't been patched to remove some symbols that are gone now). But we might as well let the stable ones rebuild right?
2024-02-25ci: fix --debug patching on all platforms (for real?)toofar
It seems `sed -i` is not very portable. Initially we were using this command: sed -i '' '/.-d., .--debug.,/s/$/ default=True,/' qutebrowser/qutebrowser.py and then that started breaking on windows, I'm not sure why, with "can't read /.-d., .--debug.,/s/$/ default=True,/: No such file or directory". Then we changed to: sed -i '/.-d., .--debug.,/s/$/ default=True,/' qutebrowser/qutebrowser.py so without the extension argument, but that broke on mac with "1: "qutebrowser/qutebrowser.py": extra characters at the end of q command" then we tried: sed -i'' '/.-d., .--debug.,/s/$/ default=True,/' qutebrowser/qutebrowser.py and that also broke on mac with the same error. On the recommendation of stackoverflow I just changed it no not use in-place editing and do a good old fashioned move afterwards. https://unix.stackexchange.com/questions/92895/how-can-i-achieve-portability-with-sed-i-in-place-editing ... record scratch ... Apparently these GHA steps are being run in powershell in windows where `mv` is implemented by `Move-Item` where you have to use -Force to overwrite destination files. But that's not portable. cp does happily overwrite without any additional instruction though. So I'm doing cp instead of mv and then removing the temp file. Probably if this drags out anymore we should download something off of pypi which is platform independent to handle it.
2024-02-13ci: Try more sed cross-platform madnessFlorian Bruhin
2024-02-05build(deps): bump peter-evans/create-pull-request from 5 to 6dependabot/github_actions/peter-evans/create-pull-request-6dependabot[bot]
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 6. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02ci: Remove weird sed usageFlorian Bruhin
Broke on Windows nightly builds for some reason
2024-01-22build(deps): bump actions/cache from 3 to 4dependabot/github_actions/actions/cache-4dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21Merge pull request #8042 from ↵toofar
qutebrowser/dependabot/github_actions/actions/upload-artifact-4 build(deps): bump actions/upload-artifact from 3 to 4
2023-12-18build(deps): bump actions/upload-artifact from 3 to 4dependabot/github_actions/actions/upload-artifact-4dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18build(deps): bump github/codeql-action from 2 to 3dependabot/github_actions/github/codeql-action-3dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11build(deps): bump actions/setup-python from 4 to 5dependabot/github_actions/actions/setup-python-5dependabot[bot]
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08Upgrade release Python to 3.12Florian Bruhin
2023-11-15Allow running nightly builds on any branchtoofar
The nightly jobs have a `workflow_dispatch` action, which means you can kick the job off on any branch. But the build steps has the branch to build on hardcoded. I would like to be able to build windows and mac builds without having a local build environment setup. The docs for the checkout action says it default to the main branch, so the scheduled actions should keep working fine. But now we'll be able to create builds off of other branches too. docs: https://github.com/actions/checkout#usage ref: https://github.com/qutebrowser/qutebrowser/issues/7989
2023-11-15Update mac and windows CI to target for next releasetoofar
It looks like our last release builds were done with python 3.11 and PyQt 6.5.3. I'm expecting that since PyQt6.6 is out now our next release will be on 6.6. So lets update the CI to match. Questions: * what about python12? I don't think there is a benefit to updating to that, so lets leave it. * what about pyqt6.5? Do we care about testing that? Maybe for homebrew users? We aren't providing new builds with an old Qt right? last release builds: https://github.com/qutebrowser/qutebrowser/actions/runs/6578864884 ref: https://github.com/qutebrowser/qutebrowser/issues/7989
2023-11-15bump py311 and py12 tests to use pyqt6.6toofar
I'm not sure if we need a py3.11 pyqt6.5 variant or a py3.10 pyqt6.6 one? Those might well be combinations that people have (debian has 3.11 and 6.5 at the moment) but how much coverage do we need? ref: https://github.com/qutebrowser/qutebrowser/issues/7989
2023-11-15py3.12 is released nowtoofar
ref: https://github.com/qutebrowser/qutebrowser/issues/7989
2023-11-13build(deps): bump actions/github-script from 6 to 7dependabot/github_actions/actions/github-script-7dependabot[bot]
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23build(deps): bump actions/setup-node from 3 to 4dependabot/github_actions/actions/setup-node-4dependabot[bot]
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19Revert "Use different PyPI token tempoarily"Florian Bruhin
This reverts commit 597873286c78c1a998367c565125d0c0cb45b905.
2023-09-20build(deps): bump docker/login-action from 2 to 3dependabot/github_actions/docker/login-action-3dependabot[bot]
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20Merge pull request #7922 from ↵Florian Bruhin
qutebrowser/dependabot/github_actions/docker/build-push-action-5 build(deps): bump docker/build-push-action from 4 to 5
2023-09-18build(deps): bump docker/setup-buildx-action from 2 to 3dependabot/github_actions/docker/setup-buildx-action-3dependabot[bot]
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18build(deps): bump docker/build-push-action from 4 to 5dependabot/github_actions/docker/build-push-action-5dependabot[bot]
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v4...v5) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04build(deps): bump actions/checkout from 3 to 4dependabot/github_actions/actions/checkout-4dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18ci: Fix changelog URL for releasesFlorian Bruhin
2023-08-18Use different PyPI token tempoarilyFlorian Bruhin
See https://github.com/pypi/support/issues/3111
2023-08-17ci: Fix JS style issuesauto-releasesFlorian Bruhin
2023-08-17ci: Switch from experimental to real releasesFlorian Bruhin
2023-08-17ci: Check for open milestone before releaseFlorian Bruhin
2023-08-17ci: Add IRC notification for main channelFlorian Bruhin
Releases are probably important enough
2023-08-17ci: Use -x for cherry picksFlorian Bruhin
2023-08-17ci: Use earlier release IDFlorian Bruhin
2023-08-17ci: Use github script to update releaseFlorian Bruhin
See https://github.com/softprops/action-gh-release/issues/163
2023-08-17ci: Set twine PyPI tokenFlorian Bruhin
2023-08-17ci: Set up asciidoc properly for releasesFlorian Bruhin
2023-08-17ci: More automatic release improvements/fixesFlorian Bruhin
2023-08-17ci: Use GitHub Script to get release branchFlorian Bruhin
By default, we only get a narrow checkout, so we don't know about any other branches. Use the GitHub API and some JS to get the release branch instead.
2023-08-17ci: Initial automatic release supportFlorian Bruhin
See #3725
2023-08-15ci: Use proper image for Qt 6 bleeding testsFlorian Bruhin
2023-08-15wip: Add Qt 6 bleeding tests to CIFlorian Bruhin
2023-08-15wip: Add Qt 6 bleeding tests to CIFlorian Bruhin
2023-08-10Merge pull request #7797 from pylbrecht/build-on-ciFlorian Bruhin
Run package building on CI with warnings turned into errors
2023-08-09Add CI job for package buildPhilipp Albrecht
We want to run a package build in CI with warnings turned into exceptions, in order to catch issues in CI (e.g. DeprecationWarning).
2023-07-27Drop 32bit Windows release supportdrop-32bit-windowsFlorian Bruhin
See #6050, still keeping open to track NSIS changes
2023-07-24Revert "Revert "Revert "ci: Remove Python 3.12 for now"""Florian Bruhin
This reverts commit 70e8dc63e87a57ecac2b626d496a0bc9517a632d. We're on PyQt 6.5.2 now, which should fix the segfaults on exit.
2023-07-24libxcb-cursor0 in dependencies job and install docstoofar
I don't think the dependencies jbos needs to be installing asciidoc anymore either but oh well. I just grepped for libxcb-shape0 and constituently added libxcb-cursor0 after it. I haven't checked it's in stretch but it should be. ref: 6f5de192e0d7a62c
2023-07-23Move master branch references to mainFlorian Bruhin
Closes #7097