Merge ~aciba/ubuntu/+source/python-boto3:add-tests into ubuntu/+source/python-boto3:ubuntu/devel

Proposed by Alberto Contreras
Status: Merged
Merged at revision: 8bb3007ba5f5acd455febb92457a44555a37f63e
Proposed branch: ~aciba/ubuntu/+source/python-boto3:add-tests
Merge into: ubuntu/+source/python-boto3:ubuntu/devel
Diff against target: 110 lines (+55/-6)
3 files modified
debian/changelog (+10/-1)
debian/control (+4/-1)
debian/rules (+41/-4)
Reviewer Review Type Date Requested Status
Paride Legovini (community) Approve
git-ubuntu import Pending
Review via email: mp+464411@code.launchpad.net

Commit message

add tests

To post a comment you must log in.
Revision history for this message
Alberto Contreras (aciba) wrote :
Revision history for this message
Alberto Contreras (aciba) wrote :
Revision history for this message
Paride Legovini (paride) wrote :

LGTM

review: Approve
Revision history for this message
Paride Legovini (paride) wrote :

Uploading python-boto3_1.34.46+dfsg-1ubuntu1.dsc
Uploading python-boto3_1.34.46+dfsg-1ubuntu1.debian.tar.xz
Uploading python-boto3_1.34.46+dfsg-1ubuntu1_source.buildinfo
Uploading python-boto3_1.34.46+dfsg-1ubuntu1_source.changes

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 93c892f..f5bcf0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
1python-boto3 (1.34.46+dfsg-1ubuntu1) noble; urgency=medium
2
3 * d/control: add python3-pytest as build dependency and
4 disable tests that require internet
5 * d/rules: enable unit tests during build
6 * d/control: add autopkgtest-pkg-pybuild
7
8 -- Alberto Contreras <alberto.contreras@canonical.com> Tue, 16 Apr 2024 13:49:48 +0200
9
1python-boto3 (1.34.46+dfsg-1) unstable; urgency=medium10python-boto3 (1.34.46+dfsg-1) unstable; urgency=medium
211
3 * Drop obsolete dependency on python3-six (Closes: #1040425)12 * Drop obsolete dependency on python3-six (Closes: #1040425)
@@ -77,7 +86,7 @@ python-boto3 (1.13.14-1) unstable; urgency=medium
77 * Move the package to the cloud-team for maintenance. Thank you to Eric86 * Move the package to the cloud-team for maintenance. Thank you to Eric
78 Evans and Alexander GQ Gerasiov for past maintenance87 Evans and Alexander GQ Gerasiov for past maintenance
79 * Configure a standard salsa.debian.org CI pipeline88 * Configure a standard salsa.debian.org CI pipeline
80 89
81 -- Noah Meyerhans <noahm@debian.org> Wed, 20 May 2020 12:47:51 -070090 -- Noah Meyerhans <noahm@debian.org> Wed, 20 May 2020 12:47:51 -0700
8291
83python-boto3 (1.13.3-1) unstable; urgency=medium92python-boto3 (1.13.3-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index bd4a599..6f89dda 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,21 @@
1Source: python-boto31Source: python-boto3
2Section: python2Section: python
3Priority: optional3Priority: optional
4Maintainer: Debian Cloud Team <debian-cloud@lists.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Cloud Team <debian-cloud@lists.debian.org>
5Uploaders: Alexander GQ Gerasiov <gq@debian.org>,6Uploaders: Alexander GQ Gerasiov <gq@debian.org>,
6 Noah Meyerhans <noahm@debian.org>7 Noah Meyerhans <noahm@debian.org>
7Build-Depends: debhelper-compat (= 12),8Build-Depends: debhelper-compat (= 12),
8 dh-python,9 dh-python,
9 python3-all:any,10 python3-all:any,
11 python3-pytest,
10 python3-s3transfer (>= 0.1.10),12 python3-s3transfer (>= 0.1.10),
11 python3-setuptools13 python3-setuptools
12Standards-Version: 4.6.214Standards-Version: 4.6.2
13Homepage: https://github.com/boto/boto315Homepage: https://github.com/boto/boto3
14Vcs-Git: https://salsa.debian.org/cloud-team/python-boto3.git16Vcs-Git: https://salsa.debian.org/cloud-team/python-boto3.git
15Vcs-Browser: https://salsa.debian.org/cloud-team/python-boto317Vcs-Browser: https://salsa.debian.org/cloud-team/python-boto3
18Testsuite: autopkgtest-pkg-pybuild
1619
17Package: python3-boto320Package: python3-boto3
18Architecture: all21Architecture: all
diff --git a/debian/rules b/debian/rules
index c0b17c0..eecb5d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,48 @@
4#export DH_VERBOSE = 14#export DH_VERBOSE = 1
55
6export PYBUILD_NAME = boto36export PYBUILD_NAME = boto3
7export PYBUILD_TEST_ARGS={dir}/tests/unit/ \
8 --ignore={dir}/tests/unit/resources/test_collection_smoke.py \
9 --deselect tests/unit/docs/test_action.py::TestActionDocumenter::test_document_nonservice_resource_actions \
10 --deselect tests/unit/docs/test_action.py::TestActionDocumenter::test_document_service_resource_actions \
11 --deselect tests/unit/docs/test_attr.py::TestDocumentAttribute::test_document_attr_scalar \
12 --deselect tests/unit/docs/test_attr.py::TestDocumentAttribute::test_document_attr_structure \
13 --deselect tests/unit/docs/test_client.py::TestBoto3ClientDocumenter::test_document_client \
14 --deselect tests/unit/docs/test_collection.py::TestCollectionDocumenter::test_document_collections \
15 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_action_help \
16 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_attribute_help \
17 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_batch_action_help \
18 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_collection_all_method_help \
19 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_collection_chaining_help \
20 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_collection_filter_method_help \
21 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_collection_help \
22 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_collection_limit_method_help \
23 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_collection_page_size_method_help \
24 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_identifier_help \
25 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_load_help \
26 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_reference_help \
27 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_resource_waiter_help \
28 --deselect tests/unit/docs/test_docstring.py::TestResourceDocstrings::test_sub_resource_help \
29 --deselect tests/unit/docs/test_method.py::TestDocumentModelDrivenResourceMethod::test_default \
30 --deselect tests/unit/docs/test_method.py::TestDocumentModelDrivenResourceMethod::test_exclude_input \
31 --deselect tests/unit/docs/test_method.py::TestDocumentModelDrivenResourceMethod::test_exclude_output \
32 --deselect tests/unit/docs/test_method.py::TestDocumentModelDrivenResourceMethod::test_include_input \
33 --deselect tests/unit/docs/test_method.py::TestDocumentModelDrivenResourceMethod::test_include_output \
34 --deselect tests/unit/docs/test_method.py::TestDocumentModelDrivenResourceMethod::test_returns_list_of_resource \
35 --deselect tests/unit/docs/test_method.py::TestDocumentModelDrivenResourceMethod::test_returns_resource \
36 --deselect tests/unit/docs/test_resource.py::TestResourceDocumenter::test_document_resource \
37 --deselect tests/unit/docs/test_resource.py::TestServiceResourceDocumenter::test_document_resource \
38 --deselect tests/unit/docs/test_service.py::TestServiceDocumenter::test_creates_correct_path_to_examples_based_on_service_name \
39 --deselect tests/unit/docs/test_service.py::TestServiceDocumenter::test_document_service \
40 --deselect tests/unit/docs/test_service.py::TestServiceDocumenter::test_document_service_no_paginators \
41 --deselect tests/unit/docs/test_service.py::TestServiceDocumenter::test_document_service_no_resource \
42 --deselect tests/unit/docs/test_service.py::TestServiceDocumenter::test_document_service_no_waiter \
43 --deselect tests/unit/docs/test_service.py::TestServiceDocumenter::test_injects_examples_when_found \
44 --deselect tests/unit/docs/test_service.py::TestServiceDocumenter::test_service_with_context_params \
45 --deselect tests/unit/docs/test_subresource.py::TestSubResourceDocumenter::test_document_sub_resources \
46 --deselect tests/unit/docs/test_waiter.py::TestWaiterResourceDocumenter::test_document_resource_waiters \
47 --deselect tests/unit/ec2/test_createtags.py::TestCreateTagsInjection::test_create_tags_injected_to_resource
748
8# main packaging script based on dh7 syntax49# main packaging script based on dh7 syntax
9%:50%:
10 dh $@ --with python3 --buildsystem=pybuild51 dh $@ --with python3 --buildsystem=pybuild
11
12override_dh_auto_test:
13 #autotests are disabled, run them manually with
14 #python<version> -m nose

Subscribers

People subscribed via source and target branches