Commit Graph

1083 Commits

Author SHA1 Message Date
Florian Bruhin a22f60e385 scripts: Remove EasyProcess changelog URL 2022-02-14 16:18:18 +01:00
Florian Bruhin 10267f70e3 scripts: Move changelog URLs to JSON 2022-01-10 10:01:29 +01:00
Florian Bruhin d491da13cc scripts: Update cheroot changelog URL 2022-01-10 09:55:24 +01:00
Florian Bruhin f4714a9300 Use flake8-pytest-style 2022-01-04 10:30:24 +01:00
Florian Bruhin 11880a96f5 scripts: Update changelog URLs 2022-01-03 09:47:06 +01:00
Florian Bruhin e78c6699a0 scripts: More version parsing in recompile_requirements
Required for misc_checks.py
2021-12-20 15:08:02 +01:00
Florian Bruhin 6b66221dea scripts: Handle lines with == in marker correctly 2021-12-20 11:36:26 +01:00
Florian Bruhin 1ba9ab9ce4 Update changelog URLs 2021-12-13 15:07:41 +01:00
Florian Bruhin 5e6bae3983 Merge branch 'packaging-update'
# Conflicts:
#	misc/requirements/requirements-dev.txt
2021-12-03 15:58:48 +01:00
Florian Bruhin 2378ba7886 scripts: Use 'build' to build sdist
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
2021-12-03 15:52:03 +01:00
Florian Bruhin 733868ff87 scripts: Run 'twine check' 2021-12-03 15:42:14 +01:00
Florian Bruhin 42fac2a5c1 Update changelog URLs 2021-12-03 15:34:22 +01:00
Florian Bruhin a580079206 scripts: Handle packaging dependencies via tox 2021-12-03 15:28:04 +01:00
Florian Bruhin 04c71c4d44 pylint: Avoid conflicting message IDs 2021-12-03 14:11:18 +01:00
Florian Bruhin bbb44f6e50 Add some missing docstring params 2021-12-03 13:50:57 +01:00
Florian Bruhin f30df9c959 pylint: Remove open encoding checker
Now built into pylint
2021-12-03 12:04:59 +01:00
Florian Bruhin e4a667e06e pylint: Disable use-implicit-booleaness-not-comparison in tests 2021-12-03 12:04:59 +01:00
Florian Bruhin 2f69664c2a pylint: Disable wrong-import-order for tests 2021-12-02 17:38:29 +01:00
Florian Bruhin ed2342a430 pylint: Handle consider-using-with 2021-12-02 17:30:47 +01:00
Florian Bruhin 39b7f7dba0 Update charset_normalizer changelog URL 2021-11-30 07:48:28 +01:00
Florian Bruhin b655f56101 scripts: Adjust for new typing_extensions name 2021-11-17 10:25:12 +01:00
Florian Bruhin b04f7ec2f7 scripts: Better lxml changelog URL 2021-11-08 08:27:34 +01:00
Florian Bruhin ca114a0766 scripts: Fix changelog URLs for real 2021-10-21 18:26:57 +02:00
Florian Bruhin e6e7e95013 scripts: Use new Qt path in build_release 2021-10-21 18:18:36 +02:00
Florian Bruhin 51972fa4e2 Revert "scripts: Remove macOS symlinking"
This reverts commit a0bfb7c824.

It *is* required, just used the wrong path...

gg
2021-10-21 18:18:03 +02:00
Florian Bruhin a8dacd98fb scripts: Remove old -Qt5 PyQt packages 2021-10-21 18:03:21 +02:00
Florian Bruhin a0bfb7c824 scripts: Remove macOS symlinking
Seems to be fixed in PyInstaller 4.4? See #6611.
2021-10-21 17:07:53 +02:00
Florian Bruhin 8326ea0e9d scripts: Adjust changelog URLs 2021-10-21 16:49:33 +02:00
Florian Bruhin 82ee43a56a scripts: Update path to flake8 release notes 2021-10-11 14:38:38 +02:00
Florian Bruhin b75786560d scripts: Add cached-property changelog URL 2021-10-11 14:33:00 +02:00
Florian Bruhin 247e77fa10 scripts: Adjust py-filelock changelog URL 2021-10-04 11:02:51 +02:00
Florian Bruhin 3527f21121 scripts: Clean up pylint build files 2021-09-13 09:29:35 +02:00
Florian Bruhin caf6345251 requirements: Test --use-feature=in-tree-build 2021-09-13 08:38:45 +02:00
Florian Bruhin 8a61bd635a Improve docs for URL patterns
Closes #6454, see #5069
2021-09-08 16:18:28 +02:00
Florian Bruhin 650d9e4c34 Fix paths for scripts/dev/gen_resources.py 2021-09-04 17:39:58 +02:00
Florian Bruhin ba7f2dec0c Adjust changelog URLs 2021-07-19 19:45:00 +02:00
Florian Bruhin 2782b750ae scripts: Add bluetooth permission for macOS
Apple documentation claims this is for iOS/watchOS/tvOS only:
https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription

However, reality tells a different story - according to Console.app, when
visiting accounts.google.com, qutebrowser/Chromium needs this permission.

Reproducible as well using the following demo page:
https://googlechrome.github.io/samples/web-bluetooth/battery-level.html

Finally, Google Chrome has the key declared as well. Note that it has
NSBluetoothPeripheralUsageDescription as well:
https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothperipheralusagedescription

...but that is deprecated, and according to my tests on macOS 10.14 and 10.15,
it's not needed.

Thanks to Apple for their wonderful documentation.... not.

Fixes #6475, hopefully for real this time.
2021-06-15 15:22:26 +02:00
Florian Bruhin 698d2d6b8b Add new types packages for mypy
See http://mypy-lang.blogspot.com/2021/05/the-upcoming-switch-to-modular-typeshed.html
2021-06-14 12:19:25 +02:00
Florian Bruhin 41d488e11a scripts: Remove apipkg from requirements 2021-06-14 12:15:18 +02:00
Florian Bruhin bb33d145a4 scripts: Add changelog URL for Deprecated 2021-06-07 10:05:28 +02:00
Florian Bruhin bae08ae386 Set permission strings in Info.plist
Fixes #6475
2021-05-25 15:25:49 +02:00
Florian Bruhin 06e49efd3d Update changelog URLs for pallets projects 2021-05-18 19:05:25 +02:00
Florian Bruhin 9db7fbdc11 ci: Fix shell syntax 2021-04-30 10:11:18 +02:00
Florian Bruhin 874f843698 ci: Try harder to detach dmg
Speculatively fixes #6431
2021-04-29 13:56:31 +02:00
Florian Bruhin b1265cbeff Update PE checksum patching after PyInstaller update 2021-04-21 11:37:00 +02:00
Florian Bruhin 9aa8740ec9 scripts: Add --no-confirm to build_release 2021-04-13 12:48:51 +02:00
Florian Bruhin 76ee6f392d ci: Try working around macOS DMG timeouts 2021-04-08 19:48:29 +02:00
Florian Bruhin bbd71c4975 Support macOS dark mode for UI
Fixes #4430

Thanks to ftpd for testing!
2021-04-07 22:19:42 +02:00
Florian Bruhin a11e84dce2 ci: Add -debug for hdiutil 2021-03-31 17:39:01 +02:00
Florian Bruhin 5a4b51a784 Increase vim compatibility
Vim has this, and it's almost easter, so clearly we should have it too.
Also it's from Monty Python, which makes it even more fitting.

HEAD KNIGHT: Ni!
KNIGHTS: Ni! Ni! Ni!
ARTHUR: Who are you?
HEAD KNIGHT: We are the Knights Who Say... Ni!
ARTHUR: No! Not the Knights Who Say Ni!
HEAD KNIGHT: The same!
BEDEVERE: Who are they?
HEAD KNIGHT: We are the keepers of the sacred words: Ni, Pen, and Ni-wom!
RANDOM: Ni-wom!
ARTHUR: Those who hear them seldom live to tell the tale!
HEAD KNIGHT: The Knights Who Say Ni demand a sacrifice!
ARTHUR: Knights of Ni, we are but simple travellers who seek the enchanter who lives beyond these woods.
HEAD KNIGHT: Ni! Ni! Ni! Ni!
ARTHUR and PARTY: Oh, ow!
HEAD KNIGHT: We shall say 'nee' again to you if you do not appease us.
ARTHUR: Well, what is it you want?
HEAD KNIGHT: We want... a shrubbery!
[dramatic chord]
ARTHUR: A what?
HEAD KNIGHT: Ni! Ni!
ARTHUR and PARTY: Oh, ow!
ARTHUR: Please, please! No more! We shall find a shrubbery.
HEAD KNIGHT: You must return here with a shrubbery or else you will never pass through this wood alive!
ARTHUR: O Knights of Ni, you are just and fair, and we will return with a shrubbery.
HEAD KNIGHT: One that looks nice.
ARTHUR: Of course.
HEAD KNIGHT: And not too expensive.
ARTHUR: Yes.
HEAD KNIGHTS: Now... go!

ARTHUR: Old crone! Is there anywhere in this town where we could buy a shrubbery!
[dramatic chord]
CRONE: Who sent you?
ARTHUR: The Knights Who Say Nee.
CRONE: Agh! No! Never! We have no shrubberies here.
ARTHUR: If you do not tell us where we can buy a shrubbery, my friend
and I will say... we will say... `nee'.
CRONE: Agh! Do your worst!
ARTHUR: Very well! If you will not assist us voluntarily,... Ni!
CRONE: No! Never! No shrubberies!
ARTHUR: Ni!
BEDEVERE: Noo! Noo!
ARTHUR: No, no, no, no -- it's not that, it's 'Ni'.
BEDEVERE: Noo!
ARTHUR: No, no -- 'Ni'. You're not doing it properly.
BEDEVERE: Noo! Ni!
ARTHUR: That's it, that's it, you've got it.
ARTHUR and BEDEVERE: Ni! Ni!
ROGER: Are you saying 'Ni' to that old woman?
ARTHUR: Um, yes.
ROGER: Oh, what sad times are these when passing ruffians can say `Ni' at will to old ladies. There is a pestilence upon this land, nothing is sacred. Even those who arrange and design shrubberies are under considerable economic stress at this period in history.
ARTHUR: Did you say `shrubberies'?
ROGER: Yes, shrubberies are my trade -- I am a shrubber. My name is Roger the Shrubber. I arrange, design, and sell shrubberies.
BEDEVERE: Ni!
ARTHUR: No! No, no, no! No!
ARTHUR: O, Knights of Ni, we have brought you your shrubbery. May we go now?
HEAD KNIGHT: It is a good shrubbery. I like the laurels particularly. But there is one small problem.
ARTHUR: What is that?
HEAD KNIGHT: We are now... no longer the Knights Who Say Ni.
RANDOM: Ni!
HEAD KNIGHT: Shh shh. We are now the Knights Who Say Ecky-ecky-ecky- ecky-pikang-zoom-boing-mumble-mumble.
RANDOM: Ni!
HEAD KNIGHT: Therefore, we must give you a test.
ARTHUR: What is this test, O Knights of-- Knights Who 'Til Recently Said Ni?
HEAD KNIGHT: Firstly, you must find... another shrubbery!
[dramatic chord]
ARTHUR: Not another shrubbery!
HEAD KNIGHT: Then, when you have found the shrubbery, you must place it here beside this shrubbery, only slightly higher so you get a two-level effect with a little path running down the middle.
RANDOM: A path! A path! Ni!
HEAD KNIGHT: Then, when you have found the shrubbery, you must cut down the mightiest tree in the forest... with... a herring!
[dramatic chord]
ARTHUR: We shall do no such thing!
HEAD KNIGHT: Oh, please!
ARTHUR: Cut down a tree with a herring? It can't be done.
KNIGHTS: Aaaaugh! Aaaugh!
HEAD KNIGHT: Don't say that word.
ARTHUR: What word?
HEAD KNIGHT: I cannot tell, suffice to say is one of the words the Knights of Ni cannot hear.
ARTHUR: How can we not say the word if you don't tell us what it is?
KNIGHTS: Aaaaugh! Aaaugh!
ARTHUR: What, `is'?
HEAD KNIGHT: No, not `is' -- we couldn't get vary far in life not saying `is'.
BEDEVERE: My liege, it's Sir Robin!
MINSTREL (singing): Packing it in and packing it up
And sneaking away and buggering up
And chickening out and pissing about
Yes, bravely he is throwing in the sponge
ARTHUR: Oh, Robin!
ROBIN: My liege! It's good to see you!
KNIGHTS: Aaaaugh!
HEAD KNIGHT: He said the word!
ARTHUR: Surely you've not given up your quest for the Holy Grail?
MINSTREL (singing): He is sneaking away and buggering up--
ROBIN: Shut up! No, no no-- far from it.
HEAD KNIGHT: He said the word again!
ROBIN: I was looking for it.
KNIGHTS: Aaaaugh!
ROBIN: Uh, here, here in this forest.
ARTHUR: No, it is far from--
KNIGHTS: Aaaaugh!
HEAD KNIGHT: Aaaaugh! Stop saying the word!
ARTHUR: Oh, stop it!
KNIGHTS: Aaaaugh!
HEAD KNIGHT: Oh! He said it again!
ARTHUR: Patsy!
HEAD KNIGHT: Aaugh! I said it! I said it! Ooh! I said it again!
KNIGHTS: Aaaaugh!
2021-03-31 13:10:09 +02:00