Commit Graph

2044 Commits

Author SHA1 Message Date
Florian Bruhin 513fc2c329 Adjust diff_cover changelog name 2023-10-16 21:24:59 +02:00
toofar e5a7d5c7a3
Merge pull request #7958 from qutebrowser/update-dependencies
Update dependencies
2023-10-16 09:24:52 +13:00
toofar 750e2b0a72 pylint 3.0 deprectations
Changelog: https://pylint.pycqa.org/en/latest/whatsnew/3/3.0/index.html#summary-release-highlights

remove `__implements__`:
That attribute is apparently from a rejected PEP. They say to inherit
from BaseChecker, which we are already doing.
https://github.com/pylint-dev/pylint/pull/8404

check_messages -> only_required_for_messages:
Seems straightforward instructions. I haven't actually tested it.
https://github.com/pylint-dev/pylint/pull/8409

remove emptystring extension:
Looks like this has been replaced by https://pylint.readthedocs.io/en/stable/user_guide/messages/convention/use-implicit-booleaness-not-comparison-to-string.html
Which is disabled by default but we have `enable=ALL`, so I guess that means
we indeed have it enabled.

And update changelog URLs.
2023-10-11 19:16:01 +13:00
Florian Bruhin fcc6062e5b docker: Also downgrade qt5-declarative 2023-10-10 09:12:48 +02:00
Florian Bruhin 920262aaf9 Update cffi changelog 2023-10-10 09:12:31 +02:00
Florian Bruhin 98845f275a Adjust changelog URLs for new readme-renderer 2023-09-11 11:11:26 +02:00
Florian Bruhin ffbbc3d9e7 Remove old download_release.sh
Releases aren't hosted on qutebrowser.org anymore
2023-08-17 14:47:49 +02:00
Florian Bruhin 5567c9290b Update releasing docs 2023-08-17 14:47:49 +02:00
Florian Bruhin 67ae39561a ci: Use -x for cherry picks 2023-08-17 12:42:21 +02:00
Florian Bruhin 60bb247f0d scripts: Fix name for Windows installer
Regressed in c2210539a9e2be1deacf8df8f432e035d9b9b9f0:
The current NSIS installer still adds the suffix. Let's keep it there for now
until we switch to the rewritten one.

See #6050
2023-08-17 12:41:35 +02:00
Florian Bruhin ae150d3a97 scripts: Don't upload PGP signature to PyPI
See https://blog.pypi.org/posts/2023-05-23-removing-pgp/
2023-08-17 12:41:35 +02:00
Florian Bruhin 680a941e64 scripts: Fix artifact list on Windows
Regressed in c2210539a9e2be1deacf8df8f432e035d9b9b9f0:
We don't want to return a list of lists.
2023-08-17 12:40:24 +02:00
Florian Bruhin 66f654b95c scripts: Avoid inputs on CI when releasing 2023-08-17 12:39:00 +02:00
Florian Bruhin a59bf7bc5b ci: Set twine PyPI token 2023-08-17 12:39:00 +02:00
Florian Bruhin 0e07d3b7b6 scripts: Show more info when no release was found 2023-08-17 12:39:00 +02:00
Florian Bruhin ab820fe8a0 ci: Set up asciidoc properly for releases 2023-08-17 12:39:00 +02:00
Florian Bruhin 13ddb50170 ci: More automatic release improvements/fixes 2023-08-17 12:36:25 +02:00
Florian Bruhin 950d06ad5b ci: Initial automatic release support
See #3725
2023-08-17 12:35:53 +02:00
Florian Bruhin 3fd8e12949 Merge remote-tracking branch 'origin/pr/7809' 2023-08-15 20:04:30 +02:00
Florian Bruhin a196344742 ci: Use proper image for Qt 6 bleeding tests 2023-08-15 19:31:36 +02:00
Florian Bruhin aea803cffa docker: Install xcb-utils-cursor on Arch for Qt 6 2023-08-15 19:11:49 +02:00
bitraid f903ae4985 nsis: minimum OS version check for Qt6
The Qt docs for 6.5 say that the minimum supported version is Windows 10
1809.

Experimentally it seems qutebrowser and it's dependencies work fine on a
version as early 1607.

There should be no change in OS version requirements for the Qt5 build,
although we've dropped 32 bit support already and in a future version of
the installer we may bring the minimum OS version support in line with
the Qt6 requirements for simplicity too.

Added a new QT5 version into the NSIS scripts so we can do the different
version check per installer build. It just uses the python bool
serialization format so should always be "True" or "False", but I've
added a fallback anyway for consistency.
2023-08-13 15:14:24 +12:00
toofar 0f2d34623c Merge remote-tracking branch 'upstream/main' into feat/mac_sandbox_pre_release_pyinstaller
Only conflict was the removal of support for 32bit builds in
build_release.py
2023-08-12 13:49:01 +12:00
Philipp Albrecht 80b4d2f243 Rename :later to :cmd-later
Group commands related to commands/commandline by prefixing them with `cmd-`.
2023-08-11 09:02:01 +02:00
toofar d084df8e3b Remove macOS exception for "sandbox disabled" error message 2023-08-05 17:03:50 +12:00
toofar c2092640e7 Remove local re-signing of macOS build.
Now that we aren't patching the build we shouldn't have to try to
re-sign in.
2023-08-05 17:03:50 +12:00
toofar 693e391410 Remove local patching/symlinking of macOS build.
In the past various workarounds have been put in place to move/copy/symlink
files in the macOS app build to make PyQt work and let us sign it.

As of https://github.com/pyinstaller/pyinstaller/pull/7619 our downstream
patching should not be required.

The application seems to run fine.
The app size is 155 MB.
Signing is still to be verified.
2023-07-30 14:53:06 +12:00
Florian Bruhin c2210539a9 Drop 32bit Windows release support
See #6050, still keeping open to track NSIS changes
2023-07-27 21:05:26 +02:00
Florian Bruhin 6d84462d68 scripts: Fix broken condition
Broken in ffc06e58d6
2023-07-25 11:00:33 +02:00
Florian Bruhin d145f0c253 scripts: Fix typo 2023-07-24 20:16:11 +02:00
Florian Bruhin 8fcd42fa12 Revert "Create a workaround to install PyQT 6.5.2 until release"
This reverts commit ed70741587.
2023-07-24 20:12:17 +02:00
Florian Bruhin e909f57f4f Fix lint/tests 2023-07-23 14:10:10 +02:00
Florian Bruhin 09fd975af7 reuse: Add linting for old license comments 2023-07-23 13:53:31 +02:00
Florian Bruhin a537ac3e49 reuse: Replace last copyright texts 2023-07-23 12:59:11 +02:00
Florian Bruhin 8ddaef35d0 reuse: Fix more copyright headers
See previous commit, forgot ? after year range
2023-07-23 12:56:13 +02:00
Florian Bruhin 3eb826f664 reuse: Update remaining copyright texts
git ls-files | \
    xargs sed -Ei 's/Copyright [0-9]{4}(-[0-9]{4}) ([^<]*)<([^>]*)>/SPDX-FileCopyrightText: \2<\3>/'
2023-07-23 12:52:01 +02:00
Florian Bruhin 0718b25796 reuse: Initial copyright text update for myself
git ls-files | \
    xargs sed -Ei 's/Copyright [0-9]{4}(-[0-9]{4}) Florian Bruhin \(The Compiler\) <mail@qutebrowser\.org>/SPDX-FileCopyrightText: Florian Bruhin (The Compiler) <mail@qutebrowser.org>/'
2023-07-23 12:49:05 +02:00
Florian Bruhin 77ca342cff reuse: Remove some more old license headers
git ls-files | \
xargs grep -l "This file is part of qutebrowser" | \
xargs grep -l SPDX-License-Identifier | \
xargs sed -i '/# This file is part of qutebrowser\./,/along with qutebrowser\.  If not, see <https:\/\/www\.gnu.org\/licenses\/>./d'
2023-07-23 12:15:03 +02:00
Florian Bruhin b2aaba6043 reuse: Adjust most license headers
git ls-files | xargs grep -l "is free software"  | xargs reuse annotate --license="GPL-3.0-or-later" --skip-unrecognised
2023-07-23 12:11:07 +02:00
Florian Bruhin ec34865168 Move master branch references to main
Closes #7097
2023-07-23 11:38:19 +02:00
Paul Mairo b9450a1356 fixup! fixup! mkvenv: Fix '--pyqt-type link' without --pyqt-version
I broke it oops
2023-07-22 15:03:13 +02:00
Paul Mairo 2a3993e5b8 fixup! mkvenv: Fix '--pyqt-type link' without --pyqt-version 2023-07-22 14:56:20 +02:00
Paul Mairo 5fa531e09e mkvenv: Fix '--pyqt-type link' without --pyqt-version
This is a follow-up of #7770 which was an attempt to fix the script broken in 9212ba9.
Before flipping the QT6 switch.
2023-07-22 14:38:06 +02:00
Florian Bruhin 273230eb07 Merge remote-tracking branch 'origin/pr/7789' 2023-07-22 12:36:31 +02:00
Paul Mairo ed70741587 Create a workaround to install PyQT 6.5.2 until release
Right now the version of PyQT available on PyPI is 6.5.1 and it's buggy with
Qutebrowser, this is a quick hack to get it working until it's released early next week.
2023-07-22 12:22:53 +02:00
Florian Bruhin 72aee69c9f Fix lint after dropping PyQt6-stubs 2023-07-10 10:14:03 +02:00
Florian Bruhin 9fcba3d61b Update changelog URLs 2023-07-10 10:07:36 +02:00
Florian Bruhin ee2c8c649c ci: Keep WebKit on life support for longer 2023-07-03 17:40:37 +02:00
toofar 9f9dfe7509 Add exceptiongroup changelog
Ref #7763
2023-07-03 20:44:52 +12:00
Florian Bruhin d48d85324e qt6: Reduce duplicate misc_checks.py code 2023-06-30 19:29:28 +02:00
Florian Bruhin 0e9f5e7e4f scripts: Upgrade to Qt 6
Using qutebrowser.qt where we import from qutebrowser already anyways
2023-06-30 19:29:28 +02:00
Florian Bruhin 67e3826e9a Update vulture 2023-06-30 19:29:28 +02:00
Florian Bruhin b5d5c7f4d3 More qt 6 tooling 2023-06-30 19:29:28 +02:00
Florian Bruhin ffc06e58d6 qt6: Switch most tooling/linting to Qt 6
Only mypy missing now...
2023-06-30 19:29:28 +02:00
Florian Bruhin 0ac074575d qt 6: Update mkvenv.py for Qt 6 by default 2023-06-30 19:29:28 +02:00
Florian Bruhin 8e024ee654
Merge pull request #7761 from pylbrecht/remove-vim-modelines
Remove vim modelines in favor of .editorconfig
2023-06-30 15:51:19 +02:00
Florian Bruhin 4cf2eea580 qt6 mypy: Fix lint 2023-06-30 11:59:45 +02:00
Philipp Albrecht 6f727664a9 Add misc check to prevent vim modelines
We deprecated vim modelines. The introduced misc check will keep old pull requests from
re-introducing vim modelines.
2023-06-30 11:03:19 +02:00
Philipp Albrecht d9e8b638bf Remove vim modelines
We're deprecating vim modelines in favor of `.editorconfig`.

Removing vim modelines could be done using two one-liners. Most of the vim modelines
were followed by an empty line, so this one-liner took care of these ones:

```sh
rg '^# vim: .+\n\n' -l | xargs sed -i '/^# vim: /,+1d'
```

Then some of the vim modelines were followed by a pylint configuration line, so running
this one-liner afterwards took care of that:

```sh
rg '^# vim:' -l | xargs sed -i '/^# vim: /d'
```
2023-06-30 11:03:06 +02:00
Philipp Albrecht 08ea751fe1 Remove modeline pylint checker
We're deprecating vim modelines in favor of `.editorconfig`.
2023-06-30 10:59:06 +02:00
Florian Bruhin 904cab911d mypy: Install more typeshed types 2023-06-30 00:49:30 +02:00
Florian Bruhin a6d4227578 qt6 mypy: Fix lint 2023-06-30 00:29:16 +02:00
Florian Bruhin 772c39cea2 scripts: Add a help to docker generate script 2023-06-29 10:30:55 +02:00
Florian Bruhin 93c7fdd60c Initial Python 3.7 drop 2023-06-26 14:39:54 +02:00
Florian Bruhin b9855b9104 Fix keyring changelog URL 2023-06-26 14:03:00 +02:00
toofar 937cfa41ad Pin for 3.8 and changelog URL for jaraco.functools 2023-06-26 18:01:15 +12:00
Florian Bruhin a7e6242fd6 Update changelog URLs 2023-06-19 17:35:10 +02:00
Florian Bruhin e97bcff9dc scripts: Allow --pyqt-version in mkvenv with --pyqt-type wheels
To adjust which version to use for the smoketest
2023-06-15 16:30:24 +02:00
Florian Bruhin 665cbfc45a scripts: Check if PyQt wheels directory exists 2023-06-15 15:41:59 +02:00
Florian Bruhin 1cf9d68aba qt: Fix lint 2023-06-13 15:21:28 +02:00
Florian Bruhin 63b4b95fd3 Fix vulture 2023-06-08 14:57:10 +02:00
Florian Bruhin c247634066 ci: Fix broken Docker condition 2023-05-31 12:56:33 +02:00
Florian Bruhin d7d1293569 ci: Fix pip installs for docker 2023-05-31 12:18:57 +02:00
Florian Bruhin 839c8b6fe9 ci: Keep QtWebKit on life support, part 2
Since Archlinux upgraded to Python 3.11, we need to downgrade Python
to 3.10 too, and install tox via pip instead.

This starts becoming somewhat questionable, but if this approach still
does indeed work, let's go for it.
2023-05-31 11:22:14 +02:00
toofar 8168fb983e update link_pyqt for tox 4
Although we updated the tox requirements files for tox4 in December, it
looks like the docker containers (or at least the one(s) that call this
script) are still using tox3. `.tox-config1` isn't written anymore with
tox4 (although my git-fu isn't strong enough to find the commit that
removed it).

The "Rebuild Docker CI images" run 912 was the last to have tox 3.26.0-2
and run 913 had version 4.4.12-1.

I'm not sure the new change does the same thing as whatever the old code
did. I honestly have no idea why we can't just follow the python symlink
and have to go to a config file. In what case does the python binary not
link to the system one?

In addition to this `.tox-info.json` file there is also the more
standard `pyvenv.cfg` file. I would prefer to use that over the tox
thing as generally I find tox to be a high barrier of entry for
contributors. But in that case the pyvenv one doesn't seem to be well
documented either...

Anyway, if anyone knows any cases where following the symlink of the
python in the venv isn't reliable that would be great. Because that
seems like the simpler method.
2023-05-07 13:49:19 +12:00
toofar 8b2b4fc61e Flask updates, pin for py37 and add blinker
Pin Flask and Werkzeug for py3.7
They've removed compatibility upstream.
Added example to readme file because I had to go dig for one in the
commit history.
Add blinker to changelog URLs as it's a required dependency of Flask
now.
2023-05-07 12:29:15 +12:00
Florian Bruhin 293a993b6b build_release: Also ignore GpuChannelMsg_CreateCommandBuffer for Qt 5
Looks like we have some failing smoke tests with:

[6636:16643:0329/041427.206197:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
2023-03-29 10:28:30 +02:00
Florian Bruhin 41ebbc0d73 scripts: Fix indent 2023-03-23 22:17:17 +01:00
Florian Bruhin dabd8ede86 scripts: Use proper Qt version for smoke test
See https://github.com/qutebrowser/qutebrowser/issues/7202#issuecomment-1481877459
2023-03-23 22:01:48 +01:00
Florian Bruhin dbc7871b47 Update changelog URLs 2023-03-23 17:32:39 +01:00
toofar f68798a081 ci: attempt to make the qt6 docker run work
On CI were were getting "Could not import sip" because link_pyqt was
looking for PyQt5.sip.
I made that look at QUTE_QT_WRAPPER since that's being set already on
tox.ini
There are probably a few other changes around link_pyqt and the makefile
etc we need to change when we switch the default wrapper.

I overrode the default `py` tox environment with py-qt6 to override
those wrapper related variables. I probably could have done something
sneaky with curly braces to make it so we don't have to add a few more
lines to the file. But in my opinion in config file is far to obfuscated
and hard to maintain already.

I changed the docker file to call the new py-qt6 env if it's a qt6
container. I'm not 100% sure that is required though since there is also
a tox invocation in the GH action definition, maybe that overrides the
container entrypoint? Also changed the indentation in the dockerfile
template a bit to make it easier to see where the conditionals start and
end.

Speaking of which I changed the matrix definition and tox invocation to
match a later one to hopefully make it so we can invoke different tox
environments in the containers without having to rebuild the containers.
Not sure I did that right, I'll see soon.

I added the unstable-qt6 container generation line so we can use it in
the future, and to match the not-qt6 one. I'm not switching to that in
CI though because the pyqt used by that is broken at the moment
(ref https://www.riverbankcomputing.com/pipermail/pyqt/2023-March/045214.html)

Also fixed the vim modeline in generate.py so my syntax highlighting
works.
2023-03-18 17:29:25 +13:00
toofar 856fe781a1 Merge remote-tracking branch 'upstream/qt6-v2' into master-qt6 2023-03-18 16:24:58 +13:00
Florian Bruhin 1c4b5cc3d2 Make vulture happy 2023-03-17 21:28:07 +01:00
Florian Bruhin 4793070db3 Merge branch 'qt6-v2' into master-qt6 2023-03-17 20:30:13 +01:00
Florian Bruhin ab7245732e scripts: Patch relative links for correct doc generation
In doc/help/index.asciidoc, we have links like this:
    * link:../quickstart{outfilesuffix}[Quick start guide]

That is correct in e.g. the GitHub file structure, as those files are
stored in e.g. doc/quickstart.asciidoc indeed.

It's *no* longer true when we view the built files via qute://help,
however: There, this turns into a flat file structure, with those pages
being at qute://help/index.html and qute://help/quickstart.html,
respectively.

It looks like QtWebEngine < 6.5 did just ignore the
<a href="../quicktart.html"> and pointed from qute://help/index.html to
qute://help/quickstart.html anyways, weirdly.

With QtWebEngine 6.5, however, this is now interpreted as a link
pointing to qute://quickstart.html instead, which is clearly wrong.

Until we have a less messy doc generation (probably as part of #345),
let's just patch the link to be correct.

See #7624
2023-03-17 17:44:38 +01:00
toofar f069d1188b Remove pep517 changelog entry
It got split to pyproject-hooks and build. Most of our requirements
switched a while ago, pyorama was the last to do so.

ref: #7593
2023-03-05 18:32:00 +13:00
Florian Bruhin 934e87c133 Update changelog URLs 2023-02-14 18:57:33 +01:00
toofar 1e67b26df1
Merge pull request #7576 from qutebrowser/update-dependencies
Update dependencies
2023-02-07 20:16:21 +13:00
Florian Bruhin 3d3e4dc554 Update changelog URLs 2023-02-06 11:33:14 +01:00
toofar bbaffa3e34 lint: no-else-raise
Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it
2023-02-06 19:50:22 +13:00
toofar ff8dbc4580 lint: broad-exception-raised
Mostly pretty lazy fixes. Most of the places in the tests we were
already matching on error message, a couple of places we weren't. The
tick-tock one was the only one that wasn't being used right where it was
raised.

Some of them I just changed to RuntimeError because it was shorter than
adding the pylint directive.
2023-02-06 18:53:56 +13:00
toofar 35daf8e783 update changelog for sphinxcontrib-applehelp again 2023-02-03 07:38:50 +13:00
Florian Bruhin f4f5ca2663 Fix missing raw string prefix 2023-01-29 15:43:08 +01:00
toofar 62245cbd98 Add changelog entries for markdown-it-py for rich
Apparently commonmark is unmaintained: https://github.com/Textualize/rich/pull/2439
2023-01-23 19:36:04 +13:00
toofar 89744a9e70 Add changelog url for pyproject_hooks
This is actually the renamed pep517, but I'm not removing that as
pyorama still depends on it. Even though pyproject_hooks got added to
the pyorama requirements file, huh???
2023-01-23 19:17:28 +13:00
Florian Bruhin 391623d5ec tox: Don't use environment names ending in digits
This fails now with 'failed with env name pyinstaller-32 conflicting with base python C:\hostedtoolcache\windows\Python\3.10.9\x86\python.exe'

See https://github.com/tox-dev/tox/pull/2824
2023-01-19 09:58:06 +01:00
Florian Bruhin d2e31aa1e6 Update changelog URLs 2023-01-10 11:31:09 +01:00
Florian Bruhin 57cc93da89 scripts: Fix isort changelog URL 2022-12-19 10:37:50 +01:00
Florian Bruhin 5ea48c6e78 scripts: Ignore CreateCommandBuffer warning for release smoketest 2022-12-16 21:05:35 +01:00
Florian Bruhin 253789d8c0 Revert "bleeding tests: Downgrade broken mesa"
This reverts commit 3f5febf227.

ec144824e8
Fixes #7509
2022-12-15 14:44:35 +01:00
Florian Bruhin 78f7784331 docker: Init archlinux keyring 2022-12-15 08:20:07 +01:00
Florian Bruhin cdef889b4c docker: Make sure to upgrade archlinux-keyring first 2022-12-15 08:16:16 +01:00
Florian Bruhin b4d32e04f4 Merge branch 'master' into qt6-v2 2022-12-13 09:05:32 +01:00
Florian Bruhin 2d7f1b6595 Update changelog URLs for tox 4 2022-12-12 13:56:30 +01:00
Florian Bruhin bbdc83f638 Fix lint/ci 2022-12-12 13:37:07 +01:00
Florian Bruhin af176f749f scripts: Use pip-installed asciidoc
Fixes #7352, closes #6793
2022-12-12 11:06:28 +01:00
Florian Bruhin b63cdf19f4 scripts: Show asciidoc errors while discovering 2022-12-12 09:51:22 +01:00
Florian Bruhin 3f5febf227 bleeding tests: Downgrade broken mesa
See https://archlinux.org/packages/extra/x86_64/mesa/download/
2022-12-06 10:38:53 +01:00
Florian Bruhin 8ac1cb6867 Merge remote-tracking branch 'origin/pr/7479' 2022-11-28 11:07:33 +01:00
Florian Bruhin 02274b7641 scripts: Add trove-classifiers changelog URL 2022-11-28 10:41:47 +01:00
Florian Bruhin 938392f93d requirements: Drop flake8-copyright for now
See #7499, #7104 and https://github.com/savoirfairelinux/flake8-copyright/issues/19
2022-11-28 10:40:48 +01:00
toofar ca667d6429 Fixup dockerfile template for qt6 configurations
The merge resolution I did in 2d66466194 was a bit hasty. Hopefully
all supported configurations should work now.
2022-11-20 16:15:06 +13:00
toofar 2d66466194 Merge branch 'master' into qt6-v2
Just a few conflicts around CI and dependencies.
2022-11-20 15:48:00 +13:00
Florian Bruhin f277876ce0 dictcli: Switch from master to main
Fixes #7481
2022-11-19 16:00:15 +01:00
Kian-Meng Ang d77b0fb8a3 Fix typos
Found via `codespell -S *.js -L
technik,gir,nam,ans,wih,wil,ro,nowe,te,datas,qutie,ned,fo,clude,alph,crashers,nd,wasn,cros,ue,possition`

Co-authored-by: Marcel Schilling <marcel.schilling@uni-luebeck.de>
2022-11-19 13:03:39 +08:00
Florian Bruhin a03109dad2 ci: Fix docker build and add sanity check 2022-11-16 09:42:19 +01:00
Florian Bruhin f0489cb6a5 ci: Keep QtWebKit on live support a bit longer
See #7478, #4039
2022-11-16 09:28:38 +01:00
Florian Bruhin 0cd682afbd Revert "ci: Drop QtWebKit"
This reverts commit 00ee3fad34.
2022-11-16 09:10:42 +01:00
Florian Bruhin d4397b6b63 Update changelog URL 2022-11-16 09:10:16 +01:00
Florian Bruhin 00ee3fad34 ci: Drop QtWebKit
See #7478, #4039
2022-11-14 21:24:03 +01:00
toofar 756e23f57b remove glob2 from changelog urls
Got dropped from pytest-bdd: https://github.com/pytest-dev/pytest-bdd/pull/570
2022-11-07 18:10:52 +13:00
Florian Bruhin 80cf0c5bdd Revert to recompile_requirements.py with set-output
Newlines don't work anymore, see #7459

Partially reverts 0ff0eaa, see #7439
2022-11-03 14:58:27 +01:00
Florian Bruhin 0ff0eaa703 ci: Get rid of set-output
Fixes #7439
2022-11-03 11:53:28 +01:00
Florian Bruhin bc225557a5 Adjust warnings and changelog URLs for new pytest 2022-10-31 08:19:25 +01:00
Florian Bruhin c610579885 scripts: Remove changelog URL for types-cryptography 2022-10-24 09:29:44 +02:00
Florian Bruhin fa62360357 Remove unneeded str
Only needed in Python 3.5 times
2022-09-30 20:23:38 +02:00
Florian Bruhin 03e510acff Update pylint ignores 2022-09-19 11:21:11 +02:00
Florian Bruhin 3f542636af Update changelog URLs 2022-09-19 11:16:03 +02:00
Florian Bruhin ee4d6e0396 sql: Add *all* primary sqlite result codes
For three reasons:

- There are only 31 of them, and we don't really expect any more to
  turn up (last happened in 2013, and we have a test for it happening)
- It makes for nicer debug output
- It always felt strange to only have a small subset in the enum
2022-08-26 19:11:15 +02:00
Florian Bruhin bb19aea7c9 Add missing copyright blurbs 2022-08-23 18:31:42 +02:00
Florian Bruhin 0a6448bcb3 Fix changelog URLs 2022-08-23 18:31:42 +02:00
Florian Bruhin a516ad98fd tox: Simplify tox syntax
We can use negative factors now, and Qt 6.2/6.3 can be simplified too.

See https://tox.wiki/en/latest/config.html#complex-factor-conditions
2022-08-23 18:31:42 +02:00
Florian Bruhin 03e383a18f build-release: Add suffixes for Qt 6 2022-08-23 18:31:42 +02:00
Florian Bruhin 8c8f05d538 build-release: Make whitelist more fine-grained 2022-08-23 18:31:42 +02:00
Florian Bruhin b4b5c1d755 build-release: Reenable partial macOS symlinking
See #7252
2022-08-23 18:31:42 +02:00
Florian Bruhin 7f4f072629 build-release: Ignore sandboxing disabled message
See #7278
2022-08-23 18:31:42 +02:00
Florian Bruhin c8378d0872 Switch to PyInstaller master branch
Closes #7258
2022-08-23 18:31:42 +02:00
Florian Bruhin a6becca540 scripts: Add check for direct PyQt imports 2022-08-23 18:31:42 +02:00
Florian Bruhin 7623875a18 mkvenv: Work around QT_DEBUG_PLUGINS crash
Fixes https://github.com/qutebrowser/qutebrowser/issues/7257
2022-08-23 18:31:42 +02:00
Florian Bruhin e956e7b8c7 build-release: Ignore new macOS warnings temporarily
See #7255 and #7256
2022-08-23 18:31:42 +02:00
Florian Bruhin 2baa590043 build-release: Increase macOS template size once again
See #7252
2022-08-23 18:31:42 +02:00
Florian Bruhin 6ff6ce23e5 pyinstaller: Disable symlink patching for now
See #7252
2022-08-23 18:31:42 +02:00
Florian Bruhin 42ab19b63b macOS: Use patched PyInstaller
See #7258
2022-08-23 18:31:42 +02:00
Florian Bruhin c64a43d44d scripts: Adjust supported architectures for PyQt6
32-bit Windows support got dropped, macOS arm64 (M1) support added.
2022-08-23 18:31:42 +02:00
Florian Bruhin 66b210ea7d scripts: Add _is_qt6_version to mkvenv 2022-08-23 18:31:42 +02:00
Florian Bruhin 0dbad34b39 Revert "Patch PyQt6 QUrl flag behavior for Python 3.11"
This reverts commit 14c1593de2abd9f24a223805a4740d8d9fd93622.
Fixed in Python 3.11b2: https://github.com/python/cpython/pull/93302
2022-08-23 18:31:42 +02:00
Florian Bruhin 38f6de4b0c mkvenv: Apply workaround with --pyqt-version 5 2022-08-23 18:31:42 +02:00
Florian Bruhin 769ef6859f Adjust some fixme comments 2022-08-23 18:31:42 +02:00
Florian Bruhin 4de0e90fd0 Patch PyQt6 QUrl flag behavior for Python 3.11
See https://www.riverbankcomputing.com/pipermail/pyqt/2022-May/044668.html
and https://github.com/python/cpython/issues/93250

TODO: Revert again?
2022-08-23 18:31:41 +02:00
Florian Bruhin f4cb011432 mkvenv: Remove sip packages from binary args
e.g. not available for Python 3.11 yet
2022-08-23 18:31:41 +02:00