Project

General

Profile

Actions

tickets #116200

open

Improve performance of the build host of package python-svgwrite

Added by AdaLovelace over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Good First Issues
Target version:
-
Start date:
2022-09-02
Due date:
% Done:

0%

Estimated time:

Description

python-svgwrite is failing with the test TestPathDataParser.test_performance:
[ 214s] self =
[ 214s]
[ 214s] def test_performance(self):
[ 214s] start = time.time()
...
[ 214s] > self.assertLess(time.time()-start, 0.1, "Parsing path string is too slow")
[ 214s] E AssertionError: 0.1109471321105957 not less than 0.1 : Parsing path string is too slow
[ 214s]
[ 214s] tests/test_pathdataparser.py:146: AssertionError
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:zSystems/python-svgwrite/standard/s390x

We want to try to fix this issue with a selection of a build host with more CPU for the architecture s390x.

1) Branch https://build.opensuse.org/package/show/devel:languages:python/python-svgwrite
2) "osc co" of your home directory
3) Create a file with the name _constraints
4) Try to understand host configurations with this constraints file: https://build.opensuse.org/package/view_file/mozilla:Factory/MozillaFirefox/_constraints?expand=1
5) Write your own constraints file with an overwrite condition for s390x and more CPU
6) Ask the Representatives for help, if needed
7) "osc add _constraints"
8) osc commit

No data to display

Actions

Also available in: Atom PDF