kiwi-stackbuild-plugin 1.0.7__tar.gz → 1.0.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/.bumpversion.cfg +1 -2
  2. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/Makefile +1 -1
  3. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/PKG-INFO +5 -5
  4. kiwi_stackbuild_plugin-1.0.10/doc/build/man/kiwi::system::stackbuild.8 +160 -0
  5. kiwi_stackbuild_plugin-1.0.10/doc/build/man/kiwi::system::stash.8 +90 -0
  6. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin/tasks/system_stackbuild.py +2 -2
  7. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin/version.py +1 -1
  8. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin.egg-info/PKG-INFO +6 -6
  9. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin.egg-info/SOURCES.txt +2 -0
  10. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin.egg-info/entry_points.txt +0 -1
  11. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/tox.ini +40 -32
  12. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/.virtualenv.dev-requirements.txt +0 -0
  13. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/.virtualenv.requirements.txt +0 -0
  14. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/LICENSE +0 -0
  15. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/MANIFEST.in +0 -0
  16. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/README.rst +0 -0
  17. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin/__init__.py +0 -0
  18. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin/defaults.py +0 -0
  19. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin/exceptions.py +0 -0
  20. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin/tasks/__init__.py +0 -0
  21. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin/tasks/system_stash.py +0 -0
  22. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin.egg-info/dependency_links.txt +0 -0
  23. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin.egg-info/not-zip-safe +0 -0
  24. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin.egg-info/requires.txt +0 -0
  25. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/kiwi_stackbuild_plugin.egg-info/top_level.txt +0 -0
  26. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/package/python-kiwi_stackbuild_plugin-rpmlintrc +0 -0
  27. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/package/python-kiwi_stackbuild_plugin-spec-template +0 -0
  28. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/package/python-kiwi_stackbuild_plugin.changes +0 -0
  29. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/setup.cfg +0 -0
  30. {kiwi_stackbuild_plugin-1.0.7 → kiwi_stackbuild_plugin-1.0.10}/setup.py +0 -0
@@ -1,9 +1,8 @@
1
1
  [bumpversion]
2
- current_version = 1.0.7
2
+ current_version = 1.0.10
3
3
  commit = True
4
4
  tag = True
5
5
 
6
6
  [bumpversion:file:kiwi_stackbuild_plugin/version.py]
7
7
 
8
8
  [bumpversion:file:doc/source/conf.py]
9
-
@@ -10,7 +10,7 @@ version := $(shell \
10
10
  )
11
11
 
12
12
  tox:
13
- tox "-n 5"
13
+ tox
14
14
 
15
15
  install:
16
16
  # install plugin manual page and license/readme
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kiwi_stackbuild_plugin
3
- Version: 1.0.7
3
+ Version: 1.0.10
4
4
  Summary: KIWI - Stack Build Plugin
5
5
  Home-page: https://github.com/OSInside/kiwi-stackbuild-plugin
6
+ Download-URL: https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder
6
7
  Author: Marcus Schaefer
7
8
  Author-email: ms@suse.com
8
9
  License: GPLv3+
9
- Download-URL: https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder
10
- Platform: UNKNOWN
11
10
  Classifier: Development Status :: 5 - Production/Stable
12
11
  Classifier: Intended Audience :: Developers
13
12
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -16,6 +15,9 @@ Classifier: Programming Language :: Python :: 3.6
16
15
  Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Topic :: System :: Operating System
18
17
  License-File: LICENSE
18
+ Requires-Dist: docopt
19
+ Requires-Dist: mock
20
+ Requires-Dist: kiwi>=9.23.0
19
21
 
20
22
  KIWI - Stack Build Plugin
21
23
  =========================
@@ -29,5 +31,3 @@ This [KIWI](https://osinside.github.io/kiwi/) plugin allows to store
29
31
  and reuse KIWI built root-trees as OCI containers. The idea is using OCI images
30
32
  as portable format to store and distribute a root-tree, so they can be pushed
31
33
  and pulled from OCI registries.
32
-
33
-
@@ -0,0 +1,160 @@
1
+ .\" Man page generated from reStructuredText.
2
+ .
3
+ .
4
+ .nr rst2man-indent-level 0
5
+ .
6
+ .de1 rstReportMargin
7
+ \\$1 \\n[an-margin]
8
+ level \\n[rst2man-indent-level]
9
+ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10
+ -
11
+ \\n[rst2man-indent0]
12
+ \\n[rst2man-indent1]
13
+ \\n[rst2man-indent2]
14
+ ..
15
+ .de1 INDENT
16
+ .\" .rstReportMargin pre:
17
+ . RS \\$1
18
+ . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19
+ . nr rst2man-indent-level +1
20
+ .\" .rstReportMargin post:
21
+ ..
22
+ .de UNINDENT
23
+ . RE
24
+ .\" indent \\n[an-margin]
25
+ .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26
+ .nr rst2man-indent-level -1
27
+ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28
+ .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29
+ ..
30
+ .TH "KIWI::SYSTEM::STACKBUILD" "8" "May 13, 2024" "1.0.10" "KIWI - Stack Build Plugin"
31
+ .SH NAME
32
+ kiwi::system::stackbuild \- Stack Build Plugin
33
+ .SH SYNOPSIS
34
+ .INDENT 0.0
35
+ .INDENT 3.5
36
+ .sp
37
+ .nf
38
+ .ft C
39
+ kiwi\-ng system stackbuild \-h | \-\-help
40
+ kiwi\-ng system stackbuild \-\-stash=<name>... \-\-description=<directory> \-\-target\-dir=<directory>
41
+ [\-\-from\-registry=<URI>]
42
+ [\-\- <kiwi_build_command_args>...]
43
+ kiwi\-ng system stackbuild \-\-stash=<name>... \-\-target\-dir=<directory>
44
+ [\-\-from\-registry=<URI>]
45
+ [\-\- <kiwi_create_command_args>...]
46
+ kiwi\-ng system stackbuild help
47
+ .ft P
48
+ .fi
49
+ .UNINDENT
50
+ .UNINDENT
51
+ .SH DESCRIPTION
52
+ .sp
53
+ This [KIWI](\X'tty: link https://osinside.github.io/kiwi/'\fI\%https://osinside.github.io/kiwi/\fP\X'tty: link') plugin allows to store
54
+ and reuse KIWI built root\-trees as OCI containers. The idea is using OCI images
55
+ as portable format to store and distribute a root\-tree, so they can be pushed
56
+ and pulled from OCI registries.
57
+ .sp
58
+ This plugin allows the user to operate in two modes
59
+ .INDENT 0.0
60
+ .IP 1. 3
61
+ Rebuild an image from a stash
62
+ .sp
63
+ In this mode \fBstackbuild\fP takes a stash, makes it available to the
64
+ local registry and builds the image using the stash rootfs and
65
+ in stash stored image description.
66
+ .INDENT 3.0
67
+ .INDENT 3.5
68
+ .sp
69
+ .nf
70
+ .ft C
71
+ $ kiwi\-ng system stackbuild \-\-stash NAME \e
72
+ \-\-target\-dir /target/rebuild
73
+ .ft P
74
+ .fi
75
+ .UNINDENT
76
+ .UNINDENT
77
+ .IP 2. 3
78
+ Build an image based on a stash
79
+ .sp
80
+ In this mode \fBstackbuild\fP takes a stash, makes it available to the
81
+ local registry and uses the stash rootfs as the base for an image
82
+ build of another image description.
83
+ .INDENT 3.0
84
+ .INDENT 3.5
85
+ .sp
86
+ .nf
87
+ .ft C
88
+ $ kiwi\-ng system stackbuild \-\-stash NAME \e
89
+ \-\-description=/some/image\-description \-\-target\-dir /target/rebuild
90
+ .ft P
91
+ .fi
92
+ .UNINDENT
93
+ .UNINDENT
94
+ .sp
95
+ \fBNOTE:\fP
96
+ .INDENT 3.0
97
+ .INDENT 3.5
98
+ The stackbuild plugin does not perform any consistency check
99
+ if the used stash rootfs is compatible with the provided image
100
+ description. With that in mind there is nothing which would
101
+ prevent you from using a Leap stash and try to build a Fedora
102
+ image on top of it. That an attempt like this will not produce
103
+ anything useful should be clear to the user and is in the
104
+ users responsibility to prevent combining apples with pears
105
+ .UNINDENT
106
+ .UNINDENT
107
+ .UNINDENT
108
+ .SH OPTIONS
109
+ .INDENT 0.0
110
+ .TP
111
+ .BI \-\-stash\fB= <name>
112
+ Name of the stash. See \fBsystem stash \-\-list\fP for available stashes.
113
+ Multiple stashes will be stacked together in the given order
114
+ .TP
115
+ .BI \-\-from\-registry\fB= <URI>
116
+ Pull given stash container name from the provided
117
+ registry URI
118
+ .TP
119
+ .BI \-\-description\fB= <directory>
120
+ Path to the XML description. This is a directory containing at least
121
+ one _config.xml_ or _*.kiwi_ XML file.
122
+ .TP
123
+ .BI \-\-target\-dir\fB= <directory>
124
+ Path to store the build results.
125
+ .UNINDENT
126
+ .sp
127
+ \-\- <kiwi_build_command_args>...
128
+ .INDENT 0.0
129
+ .INDENT 3.5
130
+ List of command parameters as supported by the kiwi\-ng
131
+ build command. The information given here is passed
132
+ along to the \fBkiwi\-ng system build\fP command.
133
+ .UNINDENT
134
+ .UNINDENT
135
+ .sp
136
+ \-\- <kiwi_create_command_args>...
137
+ .INDENT 0.0
138
+ .INDENT 3.5
139
+ List of command parameters as supported by the kiwi\-ng
140
+ build command. The information given here is passed
141
+ along to the \fBkiwi\-ng system create\fP command.
142
+ .UNINDENT
143
+ .UNINDENT
144
+ .SH EXAMPLE
145
+ .INDENT 0.0
146
+ .INDENT 3.5
147
+ .sp
148
+ .nf
149
+ .ft C
150
+ $ kiwi\-ng system stackbuild \-\-stash NAME \-\-target\-dir /target/rebuild
151
+ .ft P
152
+ .fi
153
+ .UNINDENT
154
+ .UNINDENT
155
+ .SH AUTHOR
156
+ Marcus Schäfer
157
+ .SH COPYRIGHT
158
+ 2021, Marcus Schäfer
159
+ .\" Generated by docutils manpage writer.
160
+ .
@@ -0,0 +1,90 @@
1
+ .\" Man page generated from reStructuredText.
2
+ .
3
+ .
4
+ .nr rst2man-indent-level 0
5
+ .
6
+ .de1 rstReportMargin
7
+ \\$1 \\n[an-margin]
8
+ level \\n[rst2man-indent-level]
9
+ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10
+ -
11
+ \\n[rst2man-indent0]
12
+ \\n[rst2man-indent1]
13
+ \\n[rst2man-indent2]
14
+ ..
15
+ .de1 INDENT
16
+ .\" .rstReportMargin pre:
17
+ . RS \\$1
18
+ . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19
+ . nr rst2man-indent-level +1
20
+ .\" .rstReportMargin post:
21
+ ..
22
+ .de UNINDENT
23
+ . RE
24
+ .\" indent \\n[an-margin]
25
+ .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26
+ .nr rst2man-indent-level -1
27
+ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28
+ .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29
+ ..
30
+ .TH "KIWI::SYSTEM::STASH" "8" "May 13, 2024" "1.0.10" "KIWI - Stack Build Plugin"
31
+ .SH NAME
32
+ kiwi::system::stash \- Stack Build Plugin
33
+ .SH SYNOPSIS
34
+ .INDENT 0.0
35
+ .INDENT 3.5
36
+ .sp
37
+ .nf
38
+ .ft C
39
+ kiwi\-ng [global options] service <command> [<args>]
40
+
41
+ kiwi\-ng system stash \-h | \-\-help
42
+ kiwi\-ng system stash \-\-root=<directory>
43
+ [\-\-tag=<name>]
44
+ [\-\-container\-name=<name>]
45
+ kiwi\-ng system stash \-\-list
46
+ kiwi\-ng system stash help
47
+ .ft P
48
+ .fi
49
+ .UNINDENT
50
+ .UNINDENT
51
+ .SH DESCRIPTION
52
+ .sp
53
+ Create a container from the given root directory. The command
54
+ takes the contents of the given root directory at call time
55
+ and creates a container from it.
56
+ .SH OPTIONS
57
+ .INDENT 0.0
58
+ .TP
59
+ .BI \-\-root\fB= <directory>
60
+ The path to the root directory, usually the result of
61
+ a former system prepare or build call
62
+ .TP
63
+ .BI \-\-tag\fB= <name>
64
+ The tag name for the container. By default \(aqlatest\(aq
65
+ is used
66
+ .TP
67
+ .BI \-\-container\-name\fB= <name>
68
+ The name of the container. By default
69
+ set to the image name of the stash
70
+ .TP
71
+ .B \-\-list
72
+ list the available stashes
73
+ .UNINDENT
74
+ .SH EXAMPLE
75
+ .INDENT 0.0
76
+ .INDENT 3.5
77
+ .sp
78
+ .nf
79
+ .ft C
80
+ $ kiwi\-ng system stash \-\-root /tmp/mytest/build/image\-root
81
+ .ft P
82
+ .fi
83
+ .UNINDENT
84
+ .UNINDENT
85
+ .SH AUTHOR
86
+ Marcus Schäfer
87
+ .SH COPYRIGHT
88
+ 2021, Marcus Schäfer
89
+ .\" Generated by docutils manpage writer.
90
+ .
@@ -196,7 +196,7 @@ class SystemStackbuildTask(CliTask):
196
196
  )
197
197
  )
198
198
  validated_create_command = docopt(
199
- doc=kiwi.tasks.system_create.__doc__,
199
+ kiwi.tasks.system_create.__doc__,
200
200
  argv=kiwi_create_command
201
201
  )
202
202
  # rebuild kiwi create command from validated docopt parser result
@@ -221,7 +221,7 @@ class SystemStackbuildTask(CliTask):
221
221
  )
222
222
  )
223
223
  validated_build_command = docopt(
224
- doc=kiwi.tasks.system_build.__doc__,
224
+ kiwi.tasks.system_build.__doc__,
225
225
  argv=kiwi_build_command
226
226
  )
227
227
  # rebuild kiwi build command from validated docopt parser result
@@ -18,5 +18,5 @@
18
18
  """
19
19
  Global version information used in kiwi-rebuild-plugin and the package
20
20
  """
21
- __version__ = '1.0.7'
21
+ __version__ = '1.0.10'
22
22
  __githash__ = '$Format:%H$'
@@ -1,13 +1,12 @@
1
1
  Metadata-Version: 2.1
2
- Name: kiwi-stackbuild-plugin
3
- Version: 1.0.7
2
+ Name: kiwi_stackbuild_plugin
3
+ Version: 1.0.10
4
4
  Summary: KIWI - Stack Build Plugin
5
5
  Home-page: https://github.com/OSInside/kiwi-stackbuild-plugin
6
+ Download-URL: https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder
6
7
  Author: Marcus Schaefer
7
8
  Author-email: ms@suse.com
8
9
  License: GPLv3+
9
- Download-URL: https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder
10
- Platform: UNKNOWN
11
10
  Classifier: Development Status :: 5 - Production/Stable
12
11
  Classifier: Intended Audience :: Developers
13
12
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -16,6 +15,9 @@ Classifier: Programming Language :: Python :: 3.6
16
15
  Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Topic :: System :: Operating System
18
17
  License-File: LICENSE
18
+ Requires-Dist: docopt
19
+ Requires-Dist: mock
20
+ Requires-Dist: kiwi>=9.23.0
19
21
 
20
22
  KIWI - Stack Build Plugin
21
23
  =========================
@@ -29,5 +31,3 @@ This [KIWI](https://osinside.github.io/kiwi/) plugin allows to store
29
31
  and reuse KIWI built root-trees as OCI containers. The idea is using OCI images
30
32
  as portable format to store and distribute a root-tree, so they can be pushed
31
33
  and pulled from OCI registries.
32
-
33
-
@@ -8,6 +8,8 @@ README.rst
8
8
  setup.cfg
9
9
  setup.py
10
10
  tox.ini
11
+ doc/build/man/kiwi::system::stackbuild.8
12
+ doc/build/man/kiwi::system::stash.8
11
13
  kiwi_stackbuild_plugin/__init__.py
12
14
  kiwi_stackbuild_plugin/defaults.py
13
15
  kiwi_stackbuild_plugin/exceptions.py
@@ -1,4 +1,3 @@
1
1
  [kiwi.tasks]
2
2
  system_stackbuild = kiwi_stackbuild_plugin.tasks.system_stackbuild
3
3
  system_stash = kiwi_stackbuild_plugin.tasks.system_stash
4
-
@@ -10,26 +10,35 @@
10
10
  # $ tox -e doc
11
11
  #
12
12
  [tox]
13
+ minversion = 3.3.0
14
+ isolated_build = True
13
15
  skip_missing_interpreters = True
14
16
  skipsdist = True
15
17
  envlist =
16
18
  check,
17
- unit_py3_8,
18
- unit_py3_6,
19
+ unit_py3_11,
20
+ unit_py3_10,
19
21
  doc
20
22
 
23
+
21
24
  [testenv]
22
- whitelist_externals = *
25
+ description =
26
+ {unit_py3_10,unit_py3_11}: Unit Test run with basepython set to {basepython}
27
+ allowlist_externals =
28
+ bash
29
+ travis-sphinx
30
+ cp
31
+ make
32
+ rm
33
+ mv
34
+ flake8
35
+ python
36
+ pytest
23
37
  basepython =
24
38
  {check,devel,doc}: python3
25
- unit_py3_8: python3.8
26
- unit_py3_6: python3.6
27
- release: python3.6
28
- envdir =
29
- {check,devel,doc}: {toxworkdir}/3
30
- unit_py3_8: {toxworkdir}/3.8
31
- unit_py3_6: {toxworkdir}/3.6
32
- release: {toxworkdir}/3.6
39
+ unit_py3_11: python3.11
40
+ unit_py3_10: python3.10
41
+ release: python3.10
33
42
  passenv =
34
43
  *
35
44
  usedevelop = True
@@ -37,32 +46,29 @@ deps =
37
46
  -r.virtualenv.dev-requirements.txt
38
47
 
39
48
 
40
- # Unit Test run with basepython set to 3.6
41
- [testenv:unit_py3_6]
42
- skip_install = True
43
- usedevelop = True
49
+ # Unit Test run with basepython set to 3.10
50
+ [testenv:unit_py3_10]
44
51
  setenv =
45
52
  PYTHONPATH={toxinidir}/test
46
- PYTHONUNBUFFERED=yes
47
- WITH_COVERAGE=yes
48
- passenv =
49
- *
50
- deps = {[testenv]deps}
51
53
  changedir=test/unit
52
54
  commands =
53
- bash -c 'cd ../../ && ./setup.py develop'
54
- bash -c 'cd ../../ && mypy kiwi_stackbuild_plugin test/unit'
55
- pytest --no-cov-on-fail --cov=kiwi_stackbuild_plugin \
56
- --cov-report=term-missing \
57
- --cov-fail-under=100 {posargs}
55
+ {[testenv:unit]commands}
58
56
 
59
57
 
60
- # Unit Test run with basepython set to 3.8
61
- [testenv:unit_py3_8]
58
+ # Unit Test run with basepython set to 3.11
59
+ [testenv:unit_py3_11]
60
+ setenv =
61
+ PYTHONPATH={toxinidir}/test
62
+ changedir=test/unit
63
+ commands =
64
+ {[testenv:unit]commands}
65
+
66
+
67
+ [testenv:unit]
68
+ description = Unit Test Base
62
69
  skip_install = True
63
70
  usedevelop = True
64
71
  setenv =
65
- PYTHONPATH={toxinidir}/test
66
72
  PYTHONUNBUFFERED=yes
67
73
  WITH_COVERAGE=yes
68
74
  passenv =
@@ -71,10 +77,11 @@ deps = {[testenv]deps}
71
77
  changedir=test/unit
72
78
  commands =
73
79
  bash -c 'cd ../../ && ./setup.py develop'
74
- bash -c 'cd ../../ && mypy kiwi_stackbuild_plugin test/unit'
80
+ bash -c 'cd ../../ && mypy --install-types --non-interactive kiwi_stackbuild_plugin'
75
81
  pytest --doctest-modules --no-cov-on-fail --cov=kiwi_stackbuild_plugin \
76
- --cov-report=term-missing \
77
- --cov-fail-under=100 {posargs}
82
+ --cov-report=term-missing --cov-fail-under=100 \
83
+ --cov-config .coveragerc {posargs}
84
+
78
85
 
79
86
  # Documentation build suitable for local review
80
87
  [testenv:doc]
@@ -85,6 +92,7 @@ changedir=doc
85
92
  commands =
86
93
  {[testenv:doc.man]commands}
87
94
 
95
+
88
96
  # Documentation build man pages
89
97
  [testenv:doc.man]
90
98
  skip_install = True
@@ -104,7 +112,7 @@ commands =
104
112
  flake8 --statistics -j auto --count {toxinidir}/test/unit
105
113
 
106
114
 
107
- # PyPi prepare for upload
115
+ # PyPi upload
108
116
  [testenv:release]
109
117
  deps = {[testenv]deps}
110
118
  skip_install = True