Skip to content
Snippets Groups Projects
Commit 3527391c authored by Jochen Sprickerhof's avatar Jochen Sprickerhof Committed by Ritesh Raj Sarraf
Browse files

Import Debian changes 0.8.1-4

parent b48e4bf0
No related branches found
No related tags found
1 merge request!1Update from debian/bookworm for apertis/v2024dev2
Pipeline #873702 passed
python-astor (0.8.1-4) unstable; urgency=medium
* Team upload.
* Add patch to fix failing test (Closes: #1020085)
* Use dh-sequence-python3
* Drop old build dependencies
* Enable autopkgtest-pkg-pybuild
* Add R³
* Bump policy version (no changes)
-- Jochen Sprickerhof <jspricke@debian.org> Fri, 30 Dec 2022 14:59:33 +0100
python-astor (0.8.1-3) unstable; urgency=medium
[ Tianon Gravi ]
* Update use of deprecated "-k-" pytest syntax; Closes: #1013726
-- Sandro Tosi <morph@debian.org> Sun, 26 Jun 2022 13:15:29 -0400
python-astor (0.8.1-2) unstable; urgency=medium
[ Debian Janitor ]
* Bump debhelper from old 9 to 12.
* Set field Upstream-Name in debian/copyright.
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.
[ Ondřej Nový ]
* d/control: Update Maintainer field with new Debian Python Team
contact address.
* d/control: Update Vcs-* fields with new Debian Python Team Salsa
layout.
[ Debian Janitor ]
* Bump debhelper from old 12 to 13.
-- Sandro Tosi <morph@debian.org> Thu, 02 Jun 2022 22:22:44 -0400
python-astor (0.8.1-1) unstable; urgency=medium python-astor (0.8.1-1) unstable; urgency=medium
* Update to 0.8.1 upstream release * Update to 0.8.1 upstream release
......
Source: python-astor Source: python-astor
Section: python Section: python
Priority: optional Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Paul Tagliamonte <paultag@debian.org>, Uploaders: Paul Tagliamonte <paultag@debian.org>,
Tianon Gravi <tianon@debian.org> Tianon Gravi <tianon@debian.org>
Build-Depends: debhelper-compat (= 9), Build-Depends: debhelper-compat (= 13),
dh-python, dh-sequence-python3,
python3-all (>= 3.2~), python3-all,
python3-pytest, python3-pytest <!nocheck>,
python3-setuptools, python3-setuptools,
python3-unittest2 Standards-Version: 4.6.2
Standards-Version: 3.9.6
Homepage: https://github.com/berkerpeksag/astor/ Homepage: https://github.com/berkerpeksag/astor/
Vcs-Git: https://salsa.debian.org/python-team/modules/python-astor.git Vcs-Git: https://salsa.debian.org/python-team/packages/python-astor.git
Vcs-Browser: https://salsa.debian.org/python-team/modules/python-astor Vcs-Browser: https://salsa.debian.org/python-team/packages/python-astor
Rules-Requires-Root: no
Testsuite: autopkgtest-pkg-pybuild
Package: python3-astor Package: python3-astor
Architecture: all Architecture: all
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/berkerpeksag/astor Source: https://github.com/berkerpeksag/astor
Upstream-Name: astor
Files: * Files: *
Copyright: 2012 Patrick Maupin Copyright: 2012 Patrick Maupin
......
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Fri, 30 Dec 2022 14:47:57 +0100
Subject: Reduce huge int in test (Closes: #212)
Int was above limits:
https://docs.python.org/3/library/stdtypes.html#int-max-str-digits
---
tests/test_code_gen.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_code_gen.py b/tests/test_code_gen.py
index 45df8c0..c9ccb90 100644
--- a/tests/test_code_gen.py
+++ b/tests/test_code_gen.py
@@ -285,7 +285,7 @@ class CodegenTestCase(unittest.TestCase, Comparisons):
self.assertAstRoundtripsGtVer(source, (2, 7))
def test_huge_int(self):
- for n in (10**10000,
+ for n in (10**1000,
0xdfa21cd2a530ccc8c870aa60d9feb3b35deeab81c3215a96557abbd683d21f4600f38e475d87100da9a4404220eeb3bb5584e5a2b5b48ffda58530ea19104a32577d7459d91e76aa711b241050f4cc6d5327ccee254f371bcad3be56d46eb5919b73f20dbdb1177b700f00891c5bf4ed128bb90ed541b778288285bcfa28432ab5cbcb8321b6e24760e998e0daa519f093a631e44276d7dd252ce0c08c75e2ab28a7349ead779f97d0f20a6d413bf3623cd216dc35375f6366690bcc41e3b2d5465840ec7ee0dc7e3f1c101d674a0c7dbccbc3942788b111396add2f8153b46a0e4b50d66e57ee92958f1c860dd97cc0e40e32febff915343ed53573142bdf4b):
self.assertEqual(astornum(n), n)
0001-Reduce-huge-int-in-test-Closes-212.patch
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
export PYBUILD_NAME := astor export PYBUILD_NAME := astor
# https://github.com/berkerpeksag/astor/issues/119 # https://github.com/berkerpeksag/astor/issues/196
export PYBUILD_TEST_ARGS_python3 := -k-test_convert_stdlib export PYBUILD_TEST_ARGS_python3 := -k 'not test_convert_stdlib'
%: %:
dh $@ --with python3 --buildsystem pybuild dh $@ --buildsystem pybuild
Bug-Database: https://github.com/berkerpeksag/astor/issues
Bug-Submit: https://github.com/berkerpeksag/astor/issues/new
Repository: https://github.com/berkerpeksag/astor.git
Repository-Browse: https://github.com/berkerpeksag/astor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment