Skip to content

Commit

Permalink
fastentrypoints: drop in favor of build system dependency for Python 3.7
Browse files Browse the repository at this point in the history
fastentrypoint's README [1] states:

  "fastentrypoints simply ensures that your user scripts will not
  automatically import pkg_resources, no matter how they are built.

  When using Python 3.8 and setuptools 47.2 (or newer), console scripts
  do not import pkg_resources."

So specify fastentrypoints as a build system dependency for Python 3.7
only, which is the only affected Python version supported by labgrid. We
can drop this in June 2023 when Python 3.7 is EOL [2].

[1] https://github.com/ninjaaron/fast-entry_points/blob/a3a26f320c7ae2191fde71b79d4f4bf325d162f3/README.rst
[2] https://devguide.python.org/versions/#supported-versions

Signed-off-by: Bastian Krause <[email protected]>
  • Loading branch information
Bastian-Krause committed Nov 3, 2022
1 parent f2a2b68 commit 142289d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 135 deletions.
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

27 changes: 0 additions & 27 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,6 @@ Files: man/*
Copyright: Copyright (C) 2016-2017 Pengutronix
License: LGPL-2.1+

Files: fastentrypoints.py
Copyright: Copyright (c) 2016, Aaron Christianson
All rights reserved.
License: BSD-2-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: LGPL-2.1+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand Down
107 changes: 0 additions & 107 deletions fastentrypoints.py

This file was deleted.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ requires = [
"setuptools>=47.2.0",
"wheel",
"setuptools_scm[toml]",
"fastentrypoints; python_version=='3.7'",
]

[project]
Expand Down

0 comments on commit 142289d

Please sign in to comment.