Merge lp:~jelmer/brz/merge-3.1-fix-build into lp:brz

Proposed by Jelmer Vernooij on 2021-02-19
Status: Merged
Approved by: Jelmer Vernooij on 2021-02-19
Approved revision: 7531
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/merge-3.1-fix-build
Merge into: lp:brz
Diff against target: 57 lines (+7/-13)
2 files modified
byov.conf (+4/-12)
setup.py (+3/-1)
To merge this branch: bzr merge lp:~jelmer/brz/merge-3.1-fix-build
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve on 2021-02-19
Review via email: mp+398324@code.launchpad.net

Commit message

Merge lp:brz/3.1.

Description of the change

Merge lp:brz/3.1.

To post a comment you must log in.
Jelmer Vernooij (jelmer) :
review: Approve
lp:~jelmer/brz/merge-3.1-fix-build updated on 2021-02-19
7531. By Jelmer Vernooij on 2021-02-19

FIx syntax.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'byov.conf'
2--- byov.conf 2020-07-28 02:11:05 +0000
3+++ byov.conf 2021-02-19 03:14:53 +0000
4@@ -2,18 +2,12 @@
5 # Start with an up to date system by default
6 vm.update = True
7 # External sources dependencies, packages are not recent enough
8-dulwich.clone = (git clone git://jelmer.uk/dulwich ../dulwich.git)
9-dulwich.install = (cd ../dulwich.git && python3 ./setup.py install --user)
10 subunit.clone = (git clone https://github.com/testing-cabal/subunit.git ../subunit)
11-fastimport.clone = (git clone git://jelmer.uk/python-fastimport.git ../fastimport.git)
12-fastimport.install = (cd ../fastimport.git && python3 ./setup.py install --user)
13 sphinx_epytext.install = (pip3 install sphinx_epytext)
14-flake8.install = (pip3 install flake8)
15-patiencediff.install = (pip3 install patiencediff)
16-cython.install = (pip3 install cython)
17+flake8.install3 = (pip3 install flake8)
18+brz.extras = fastimport,launchpad,workspace,git,cext,doc
19
20 [brz]
21-# FIXME: we're stuck on xenial
22 # because paramiko 2.0.0 is broken:
23 # breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh
24 # runs into a deprecation issue which is only fixed in 2.3.0 which is
25@@ -27,12 +21,10 @@
26 subunit.build_deps = python3-testscenarios, python3-testtools, cython, cython3, quilt
27 vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml
28 [brz-xenial]
29-vm.release = xenial
30-byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {fastimport.clone} && {fastimport.install} && {subunit.clone} && {flake8.install} && {patiencediff.install} && {sphinx_epytext.install} && {cython.install})
31+vm.release = bionic
32+byoci.setup.command = (pip3 install --upgrade pip && pip3 install --upgrade cython sphinx paramiko && {subunit.clone} && {flake8.install3} && python3 setup.py develop --user && pip3 install -e '.[{brz.extras}]')
33 # FIXME: bzr log -l2 should be by default -- vila 2018-03-09
34 byoci.tests.command = bash -o pipefail -c "bzr log -l2 && PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$HOME/.local/bin:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit"
35-[brz-bionic]
36-vm.release = bionic
37 [brz-cosmic]
38 vm.release = cosmic
39 [brz-disco]
40
41=== modified file 'setup.py'
42--- setup.py 2020-08-22 22:46:24 +0000
43+++ setup.py 2021-02-19 03:14:53 +0000
44@@ -71,10 +71,12 @@
45 'dulwich<0.20,>=0.19.12;python_version<"3.0"',
46 ],
47 'extras_require': {
48- 'fastimport': [],
49+ 'cext': ['cython>=0.29'],
50+ 'fastimport': ['fastimport'],
51 'git': [],
52 'launchpad': ['launchpadlib>=1.6.3'],
53 'workspace': ['pyinotify'],
54+ 'doc': ['setuptools<45;python_version<"3.0"', 'sphinx==1.8.5;python_version<"3.0"', 'sphinx_epytext'],
55 },
56 'tests_require': [
57 'testtools',

Subscribers

People subscribed via source and target branches