Andreas Tille pushed to branch master at Debian Med / toil
Commits: 09d495c3 by Andreas Tille at 2023-12-12T17:46:08+01:00 Pytho3.12 does not feature imp any more - - - - - 43df8244 by Andreas Tille at 2023-12-12T18:15:15+01:00 TODO: #1058237 python-boto: FTBFS: ModuleNotFoundError: No module named 'imp' - - - - - 3 changed files: - debian/changelog - + debian/patches/python3.12.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,12 @@ +toil (5.12.0-3) UNRELEASED; urgency=medium + + * Team upload. + * Pytho3.12 does not feature imp any more + Closes: #1058195 + TODO: #1058237 python-boto: FTBFS: ModuleNotFoundError: No module named 'imp' + + -- Andreas Tille <[email protected]> Tue, 12 Dec 2023 16:57:57 +0100 + toil (5.12.0-2) unstable; urgency=medium * d/tests/run-unit-tests: fix typo. ===================================== debian/patches/python3.12.patch ===================================== @@ -0,0 +1,37 @@ +Description: Pytho3.12 does not feature imp any more +Bug-Debian: https://bugs.debian.org/1058195 +Author: Andreas Tille <[email protected]> +Last-Update: Tue, 12 Dec 2023 16:57:57 +0100 + +--- a/setup.py ++++ b/setup.py +@@ -11,8 +11,8 @@ + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. +-import imp + import os ++import subprocess + from tempfile import NamedTemporaryFile + + from setuptools import find_packages, setup +@@ -64,9 +64,11 @@ def run_setup(): + extras_require['htcondor:sys_platform!="darwin"'] = get_requirements("htcondor") + extras_require["all"] = all_reqs + ++ command = r"grep '^distVersion *=' src/toil/version.py | sed 's/^distVersion *= *[^0-9]\([0-9][-.0-9a-f]\+\).\.*$/\1/'" ++ distversion=subprocess.check_output(command, shell=True, text=True).strip() + setup( + name='toil', +- version=version.distVersion, ++ version=distversion, + description='Pipeline management software for clusters.', + author='Benedict Paten and the Toil community', + author_email='[email protected]', +@@ -149,5 +151,5 @@ def import_version(): + return imp.load_source('toil.version', 'src/toil/version.py') + + +-version = import_version() ++#version = import_version() + run_setup() ===================================== debian/patches/series ===================================== @@ -8,3 +8,4 @@ atomic_copy_as_alternative.patch python3_in_doc.patch avoid_boto fewer_cores +python3.12.patch View it on GitLab: https://salsa.debian.org/med-team/toil/-/compare/41b1e7da229f29b44b5849b046b151fb6ba1eb7a...43df82445dae21413e12c8f409831851189a99b4 -- View it on GitLab: https://salsa.debian.org/med-team/toil/-/compare/41b1e7da229f29b44b5849b046b151fb6ba1eb7a...43df82445dae21413e12c8f409831851189a99b4 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
