From 0b517fc4c9aa662800b03d03ffe9813c9fec3808 Mon Sep 17 00:00:00 2001 From: "Arav K." Date: Fri, 14 Jun 2024 14:41:40 +0200 Subject: [PATCH 1/3] Remove the 'beet' wrapper script Apparently, this script isn't actually used for anything; the build system will automatically generate a script like this when installing `beets`. See . --- beet | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 beet diff --git a/beet b/beet deleted file mode 100755 index abf55ec27..000000000 --- a/beet +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python - -# This file is part of beets. -# Copyright 2016, Adrian Sampson. -# -# Permission is hereby granted, free of charge, to any person obtaining -# a copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Software, and to -# permit persons to whom the Software is furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be -# included in all copies or substantial portions of the Software. - - -import beets.ui - -if __name__ == '__main__': - beets.ui.main() From 0b10d84862f25d5ba81cd79d8b9c06c0bba99199 Mon Sep 17 00:00:00 2001 From: "Arav K." Date: Fri, 14 Jun 2024 14:44:29 +0200 Subject: [PATCH 2/3] Explicitly use Python 3 for scripts While Python 2 is long dead, and a 'bin/env python' shebang is probably perfectly fine, this is just a bit safer. See . --- test/rsrc/convert_stub.py | 2 +- test/testall.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rsrc/convert_stub.py b/test/rsrc/convert_stub.py index 14282c8ce..cba693c4e 100755 --- a/test/rsrc/convert_stub.py +++ b/test/rsrc/convert_stub.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """A tiny tool used to test the `convert` plugin. It copies a file and appends a specified text tag. diff --git a/test/testall.py b/test/testall.py index b96815eb8..27d852a77 100755 --- a/test/testall.py +++ b/test/testall.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This file is part of beets. # Copyright 2016, Adrian Sampson. From 8b3890bb4d4fd4fc63587f62c9fba8e7f891002a Mon Sep 17 00:00:00 2001 From: "Arav K." Date: Fri, 14 Jun 2024 14:55:06 +0200 Subject: [PATCH 3/3] [changelog] note the removal of the 'beet' script --- docs/changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index a245cc623..bdf221e41 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -14,6 +14,7 @@ Bug fixes: For packagers: * The minimum supported Python version is now 3.8. +* The `beet` script has been removed from the repository. Other changes: