Benjamin Drung
6498a13f18
Drop unneeded X-Python3-Version from d/control
...
lintain says: "Your sources request a specific set of Python versions
via the control field X-Python3-Version but all declared autopkgtests
exercise all supported Python versions by using the command py3versions
--supported."
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-02-01 12:43:00 +01:00
Benjamin Drung
a11cb1f630
Bump Standards-Version to 4.6.2
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-02-01 12:39:50 +01:00
Benjamin Drung
ab64467f33
Run pylint during package build again
...
Commit ae74f71a1e9d4be043162b19d23f2d44c964c771 removed the pylint unit
test saying that unit tests are not needed to just run flake8 or pylint.
Since pylint is useful, add it back, but this time call it directly and
not embed it into a unit test.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 00:05:15 +01:00
Benjamin Drung
a685368ae9
Run isort import sorter during package build
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 21:34:24 +01:00
Benjamin Drung
db0e091e44
Run black code formatter during package build
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 19:48:49 +01:00
Benjamin Drung
c1e4b14a98
Demote bzr/brz from Recommends to Suggests
...
Nowadays git is used nearly everywhere. Therefore demoting bzr/brz to
Suggest is the right thing to do.
Bug-Debian: https://bugs.debian.org/940531
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2022-11-16 18:49:42 +01:00
Benjamin Drung
8f0005ce1d
Bump Standards-Version to 4.6.1
...
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
2022-06-16 10:54:41 +02:00
Dan Streetman
8fe22fbbb6
Remove hugdaylist script
...
The last email announcing a 'hug day' appears to have been over
5 years ago, and the hugdaylist script doesn't seem to work
right anymore anyway.
This also removes ubuntutools/lp/libsupport, which has no functions
used by anything else.
2021-11-22 13:00:52 -05:00
Stefano Rivera
a9e2a2689d
Replace nose with pytest (see: #997758 ).
2021-10-24 16:05:08 -07:00
Stefano Rivera
5eeb707142
Bump Standards-Version to 4.6.0, no changes needed.
2021-09-17 15:52:51 -07:00
Mattia Rizzolo
49527c36e1
d/control: Bump debhelper compat level to 13.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-07-17 17:56:30 +02:00
Mattia Rizzolo
14a8005d45
d/control: remove redudant Recommends that are already in Depends.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-07-17 17:56:08 +02:00
Dan Streetman
d598900df7
d/control: remove no longer needed requirements
...
Nothing uses termcolor or yaml anymore in the code
2021-07-14 17:41:10 -04:00
Dan Streetman
0eaf71737d
test: fix example package class
...
this class can be much simpler and more robust and doesn't require
checking in the example package files to git
2021-07-14 17:41:10 -04:00
Dan Streetman
3f2983c157
misc: Change download() method to use python requests and optional authentication
...
Since private PPAs require authentication, use python requests library instead
of urlopen(), since requests handles authentication easily
2021-07-14 17:41:10 -04:00
Dan Streetman
dbd453876e
flake8 tests no longer need to specifically exclude ubuntu-archive-assistant
...
Now that ubuntu-archive-assistant is removed, we can simply test everything
with flake8
2021-07-12 12:45:27 -04:00
Dan Streetman
3428a65b1c
d/rules: override build tests to use flake8 and nosetests3
2021-06-04 12:25:21 -04:00
Mattia Rizzolo
7118411b89
Drop coverage in the autopkgtest, as python3-nose-cov is not in Debian
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-02-19 12:12:02 +01:00
Dan Streetman
2cfcbdb300
Remove pull-revu-source
...
This script used a website that no longer exists.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
42c659555c
d/control: remove flake8 dep
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
120f15ca50
d/control: remove pylint dep
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
4e63b2cbb5
d/control: add dput dependency, remove runtime check
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
f2118d6e7f
d/control: add python3-debianbts dep, remove runtime check
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
48c7130008
test: remove dep on mock, use unittest.mock instead
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Michael R. Crusoe
5856b6a41f
Use arch-test to determine local arch support
...
Will work with qemu-user-static, if installed
2021-01-19 10:50:40 +01:00
Mattia Rizzolo
bafe94c5c7
Merge branch 'for-upstream/depends-on-tzdata' of git+ssh://git.launchpad.net/~vicamo/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~vicamo/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/395578
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-12-22 17:54:05 +01:00
Mattia Rizzolo
6a9bcc6e14
Bump Standards-Version to 4.5.1, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-12-22 17:52:27 +01:00
You-Sheng Yang
322df409c2
d/control: explicitly depends on tzdata
...
mk-sbuild would copy /etc/timezone and /etc/localtime from the host
environment, and it fails without them.
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
2020-12-23 00:21:25 +08:00
Mattia Rizzolo
41df9a33a4
d/control: Bump Standards-Version to 4.5.0, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-02-23 13:02:49 +01:00
Mattia Rizzolo
41345dd546
d/control: Bump Standards-Version to 4.4.1, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-12-01 19:35:49 +01:00
Dan Streetman
e3268a62f4
pull-pkg: create pull-[lp|debian|uca]-* scripts
...
for backwards compatibility (i.e. to keep pull-lp-source,
pull-debian-source, and pull-uca-source) and for ease of use,
create scripts that default the pull-pkg -p and -D params
re-create pull-pkg script also, to call ubuntutools/pullpkg.py
without any default pull or distro parameters
2019-11-25 10:10:06 -05:00
Dan Streetman
51231f116c
debian/control: add python3-lazr.restfulclient dep to python3-ubuntutools
2019-11-25 09:57:54 -05:00
Mattia Rizzolo
e083529784
import-bug-from-debian: revert a change from the last merge: keep debianbts an optional dependency
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-26 10:56:48 +02:00
Dan Streetman
0d9d78a721
import-bug-from-debian fixes
...
change PEP263 coding value from invalid UTF-8 to valid utf-8
don't try to import debianbts, just import debianbts
migrate to argparge
add --verbose option
actually make --dry-run do a dry run
handle multiple cmdline bug numbers
correctly get the bug summary
2019-09-11 17:02:14 -04:00
Mattia Rizzolo
228c5710e7
Explicitly require Python3 >= 3.6.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 14:27:42 +02:00
Mattia Rizzolo
2c4fcfc0b9
De-duplicate Depends field
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 14:25:55 +02:00
Mattia Rizzolo
434ca8952e
Merge branch 'python3' of git+ssh://git.launchpad.net/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/372305
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 14:19:07 +02:00
Dan Streetman
72a3420944
make ubuntu-dev-tools require matching version of python-ubuntutools
...
without specific version matching, a simple 'apt install ubuntu-dev-tools'
on a system with an older version of ubuntu-dev-tools and deps will leave
the older python-ubuntutools installed, which may not work with the updated
ubuntu-dev-tools code.
2019-09-09 14:55:16 -04:00
Stefano Rivera
bb765237db
Port Python scripts to Python 3, remove python 2 modules. ( Closes : #938740 , LP: #1099537 )
2019-09-04 19:24:44 -03:00
Stefano Rivera
66afe7c6fc
Port import-bug-from-debian to Python 3
...
Use python3-debianbts for BTS wrangling, rather than SOAPPy, which
wasn't ported to Python 3.
2019-09-04 19:24:44 -03:00
Stefano Rivera
b311cebaed
More requestsync porting and cleanup
2019-09-04 19:24:44 -03:00
Scott Kitterman
81b17cd323
Update requestsync to python3 ( Closes : #927147 )
2019-09-04 19:24:44 -03:00
Stefano Rivera
0de4509da6
Port pull-uca-source to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
d1949a72aa
Port pbuilder-dist to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
071ff40f20
Port check-mir to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
7f9949fc4c
Port backportpackage to Python 3.
2019-09-04 19:24:44 -03:00
Stefano Rivera
7c5f2431db
Drop 404main, it's been totally broken for years.
2019-09-04 19:24:44 -03:00
Stefano Rivera
7fd1a6a766
Install pull-debian-source as python 3. It was ported, and doesn't work under python 2 any more. (LP: #1841127 )
2019-09-03 21:16:43 -03:00
Stefano Rivera
caaea17eec
dh_python2 doesn't generate a python dependency in ubuntu-dev-tools, now that it's scripts-only, so manually declare one.
2019-09-03 21:16:11 -03:00
Stefano Rivera
8ab21ea485
Explicitly declare python dependencies in the python library modules (the setup.py doesn't provide these) and ubuntu-dev-tools itself.
2019-09-03 21:15:21 -03:00