57 Commits

Author SHA256 Message Date
1aa2f78000 Accepting request 516178 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/516178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=29
2017-08-14 10:39:27 +00:00
Todd R
4258e6253d Accepting request 516177 from home:TheBlackCat:branches:devel:languages:python
- Handle cases where python2 is disabled 
  (needed for SLE backports compatibility)

OBS-URL: https://build.opensuse.org/request/show/516177
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=59
2017-08-11 15:30:30 +00:00
1d5f18f855 Accepting request 483388 from devel:languages:python
- uninstall alternatives in %postun

OBS-URL: https://build.opensuse.org/request/show/483388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=28
2017-04-19 16:05:16 +00:00
Jan Matejek
cc09800ae8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=57 2017-03-29 14:15:25 +00:00
Jan Matejek
476bfe99b2 - uninstall alternatives in %postun
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=56
2017-03-29 14:14:47 +00:00
30b420444c Accepting request 479620 from devel:languages:python
- update for singlespec
    (this relies on newest python-rpm-macros)
- update to 4.3.4:

OBS-URL: https://build.opensuse.org/request/show/479620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=27
2017-03-17 14:00:18 +00:00
Jan Matejek
4d12a83671 Accepting request 479281 from devel:languages:python:singlespec
- update for singlespec
- update to 4.3.4:
  - Using the --skip-covered option on an HTML report with 100% coverage would
    cause a “No data to report” error, as reported in issue 549. This is now
    fixed; thanks, Loïc Dachary.
  - If-statements can be optimized away during compilation, for example, if 0:
    or if __debug__:. Coverage.py had problems properly understanding these
    statements which existed in the source, but not in the compiled bytecode.
    This problem, reported in issue 522, is now fixed.
  - If you specified --source as a directory, then coverage.py would look for
    importable Python files in that directory, and could identify ones that had
    never been executed at all. But if you specified it as a package name, that
    detection wasn’t performed. Now it is, closing issue 426. Thanks to Loïc
    Dachary for the fix.
  - If you started and stopped coverage measurement thousands of times in your
    process, you could crash Python with a “Fatal Python error: deallocating
    None” error. This is now fixed. Thanks to Alex Groce for the bug report.
  - On PyPy, measuring coverage in subprocesses could produce a warning: “Trace
    function changed, measurement is likely wrong: None”. This was spurious,
    and has been suppressed.
  - Previously, coverage.py couldn’t start on Jython, due to that
    implementation missing the multiprocessing module (issue 551). This problem
    has now been fixed. Also, issue 322 about not being able to invoke coverage
    conveniently, seems much better: jython -m coverage run myprog.py works
    properly.
  - Let’s say you ran the HTML report over and over again in the same output
    directory, with --skip-covered. And imagine due to your heroic test-writing
    efforts, a file just acheived the goal of 100% coverage. With coverage.py
    4.3, the old HTML file with the less-than-100% coverage would be left
    behind. This file is now properly deleted.

OBS-URL: https://build.opensuse.org/request/show/479281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=54
2017-03-14 15:42:09 +00:00
7624db1a29 Accepting request 451184 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/451184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=26
2017-01-23 10:30:11 +00:00
53d560aee6 Accepting request 450363 from home:frispete:python
- update to Version 4.3.1 — 2016-12-28:
  - Some environments couldn’t install 4.3, as described in issue 540. This is
    now fixed.
  - The check for conflicting --source and --include was too simple in a few
    different ways, breaking a few perfectly reasonable use cases, described in
    issue 541. The check has been reverted while we re-think the fix for issue 265.
- update to Version 4.3 — 2016-12-27:
  Special thanks to Loïc Dachary, who took an extraordinary interest in
  coverage.py and contributed a number of improvements in this release.
  - The HTML report now supports a --skip-covered option like the other
    reporting commands. Thanks, Loïc Dachary for the implementation, closing
    issue 433.
  - Subprocesses that are measured with automatic subprocess measurement used
    to read in any pre-existing data file. This meant data would be incorrectly
    carried forward from run to run. Now those files are not read, so each
    subprocess only writes its own data. Fixes issue 510.
  - Coverage.py wouldn’t execute sys.excepthook when an exception happened in
    your program. Now it does, thanks to Andrew Hoos. Closes issue 535.
  - The coverage combine command will now fail if there are no data files to
    combine. The combine changes in 4.2 meant that multiple combines could lose
    data, leaving you with an empty .coverage data file. Fixes issues issue 525,
    issue 412, issue 516, and probably issue 511.
  - The branch coverage issues described in issue 493, issue 496, and issue 502
    are now fixed, thanks to Loïc Dachary.
  - Options can now be read from a tox.ini file, if any. Like setup.cfg,
    sections are prefixed with “coverage:”, so [run] options will be read from
    the [coverage:run] section of tox.ini. Implements part of issue 519. Thanks,
    Stephen Finucane.
  - Specifying both --source and --include no longer silently ignores the
    include setting, instead it fails with a message. Thanks, Nathan Land and

OBS-URL: https://build.opensuse.org/request/show/450363
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=52
2017-01-18 13:54:24 +00:00
ac2ec10d17 - update to 4.2:
- Since ``concurrency=multiprocessing`` uses subprocesses, options specified on
    the coverage.py command line will not be communicated down to them.  Only
    options in the configuration file will apply to the subprocesses.
    Previously, the options didn't apply to the subprocesses, but there was no
    indication.  Now it is an error to use ``--concurrency=multiprocessing`` and
    other run-affecting options on the command line.  This prevents
    failures like those reported in `issue 495`_.
  - Filtering the HTML report is now faster, thanks to Ville Skyttä.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=51
2016-11-15 10:06:55 +00:00
7471c7ffb7 Accepting request 351854 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/351854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=25
2016-01-05 20:53:52 +00:00
7f2df14eeb Accepting request 351067 from home:marec2000:branches:devel:languages:python
update to 4.0.3

OBS-URL: https://build.opensuse.org/request/show/351067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=49
2016-01-04 09:33:21 +00:00
7f5924677b Accepting request 341773 from devel:languages:python
- add LICENSE.txt

OBS-URL: https://build.opensuse.org/request/show/341773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=24
2015-11-16 17:51:09 +00:00
a56d4460d2 - add LICENSE.txt
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=47
2015-10-31 07:52:41 +00:00
Stephan Kulow
be353729d8 Accepting request 339761 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/339761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=23
2015-10-24 08:24:35 +00:00
c7293a545c Accepting request 339251 from home:bgeuken:branches:devel:languages:python
- Pre require coreutils. This package is needed for the rm call in the pre section.
    Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.gONanE: line 3: rm: command not found

OBS-URL: https://build.opensuse.org/request/show/339251
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=45
2015-10-19 07:29:36 +00:00
Todd R
ce04338919 Accepting request 336880 from home:apersaud:branches:devel:languages:python
update to latest version, also updated update-alternatives (together with a SR for python3)

OBS-URL: https://build.opensuse.org/request/show/336880
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=44
2015-10-08 10:38:14 +00:00
40eca6f404 Accepting request 318752 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/318752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=22
2015-07-28 09:42:39 +00:00
Denisart Benjamin
193c43458f Accepting request 318673 from home:seife:OpenStack:Master
fix rhel deps by depending on /usr/sbin/update-alternatives

OBS-URL: https://build.opensuse.org/request/show/318673
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=42
2015-07-26 12:40:17 +00:00
995985bf6e Accepting request 260881 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/260881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=21
2014-11-15 10:40:54 +00:00
Denisart Benjamin
c03ce0eab6 Accepting request 260553 from home:Ledest:misc
fix bashism in pre script

OBS-URL: https://build.opensuse.org/request/show/260553
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=40
2014-11-11 13:33:52 +00:00
Stephan Kulow
fac31fd919 Accepting request 233053 from devel:languages:python
update to 3.7.1 (forwarded request 233052 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/233053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=19
2014-05-10 06:32:16 +00:00
Todd R
64fe1f8d19 Accepting request 233052 from home:TheBlackCat:branches:devel:languages:python
update to 3.7.1

OBS-URL: https://build.opensuse.org/request/show/233052
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=38
2014-05-08 12:05:41 +00:00
Tomáš Chvátal
7fee47489c Accepting request 204704 from devel:languages:python
- Require python-setuptools instead of distribute (upstreams merged)

OBS-URL: https://build.opensuse.org/request/show/204704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=18
2013-10-25 09:12:49 +00:00
Sascha Peilicke
e0d428348a - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=36
2013-10-24 13:40:59 +00:00
Sascha Peilicke
ad396f7e37 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=33 2013-10-24 11:00:41 +00:00
Tomáš Chvátal
3fc493c581 Accepting request 204143 from devel:languages:python
- update to 3.7:
   * Added the ``--debug`` switch to ``coverage run``.  It accepts a list of
   options indicating the type of internal activity to log to stderr.
   * Running code with ``coverage run -m`` now behaves more like Python does,
   setting sys.path properly, which fixes `issue 207`_ and `issue 242`_.
   * Coverage can now run .pyc files directly, closing `issue 264`_.
   Over 15 other bugfixes, see included CHANGELOG (forwarded request 204138 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/204143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=17
2013-10-21 18:01:20 +00:00
Sascha Peilicke
fa07bd858d Accepting request 204138 from home:dirkmueller:branches:devel:languages:python
- update to 3.7:
   * Added the ``--debug`` switch to ``coverage run``.  It accepts a list of
   options indicating the type of internal activity to log to stderr.
   * Running code with ``coverage run -m`` now behaves more like Python does,
   setting sys.path properly, which fixes `issue 207`_ and `issue 242`_.
   * Coverage can now run .pyc files directly, closing `issue 264`_.
   Over 15 other bugfixes, see included CHANGELOG

OBS-URL: https://build.opensuse.org/request/show/204138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=31
2013-10-21 12:30:35 +00:00
Stephan Kulow
e337a48f1e Accepting request 179765 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=15
2013-06-19 14:27:32 +00:00
Sascha Peilicke
8089c854c2 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=29
2013-06-17 12:50:28 +00:00
Stephan Kulow
576b75a262 Accepting request 175850 from devel:languages:python
- Fix update-alternatives and support upgrade from previous versions

- Fix update-alternatives and support upgrade from previous versions

OBS-URL: https://build.opensuse.org/request/show/175850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=14
2013-05-16 14:15:40 +00:00
Sascha Peilicke
f287b9d310 - Fix update-alternatives and support upgrade from previous versions
- Fix update-alternatives and support upgrade from previous versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=27
2013-05-15 14:48:13 +00:00
Stephan Kulow
e637f440de Accepting request 174418 from devel:languages:python
- Apply update-alternatives for binaries and man-pages
- Drop buildrequires on python-xml, I don't see it being used

- update to 3.6:
  * Fix Nose support
  * Add --fail-under
  * Over 20 bug fixes, for details see included CHANGELOG

- Buildrequire python3 to get acces to the 'sha512' module (not part
  of python3-base which comes through python3-devel)

- Apply update-alternatives for binaries and man-pages
- Drop buildrequires on python-xml, I don't see it being used

- update to 3.6:
  * Fix Nose support
  * Add --fail-under
  * Over 20 bug fixes, for details see included CHANGELOG

OBS-URL: https://build.opensuse.org/request/show/174418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=13
2013-05-03 11:44:18 +00:00
Sascha Peilicke
f820e2ec3c - Buildrequire python3 to get acces to the 'sha512' module (not part
of python3-base which comes through python3-devel)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=25
2013-05-03 10:08:08 +00:00
Sascha Peilicke
6aaf867aa4 - Update to version 1.3.3:
+ Upstreamed:
    - 0001-Restore-compatibility-with-Prettytable-0.7.2.patch 
    - ignore-cmd2-requires.diff:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=24
2013-05-03 10:02:59 +00:00
Sascha Peilicke
9ce3271a6d - Apply update-alternatives for binaries and man-pages
- Drop buildrequires on python-xml, I don't see it being used

- Apply update-alternatives for binaries and man-pages
- Drop buildrequires on python-xml, I don't see it being used

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=23
2013-05-03 09:14:06 +00:00
Sascha Peilicke
0b5fe3bc85 Accepting request 173961 from home:dirkmueller:branches:devel:languages:python
- update to 3.6:
  * Fix Nose support
  * Add --fail-under
  * Over 20 bug fixes, for details see included CHANGELOG

- update to 3.6:
  * Fix Nose support
  * Add --fail-under
  * Over 20 bug fixes, for details see included CHANGELOG

OBS-URL: https://build.opensuse.org/request/show/173961
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=22
2013-05-02 09:11:59 +00:00
Stephan Kulow
7848406a54 Accepting request 143339 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/143339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=11
2012-11-28 13:32:50 +00:00
Sascha Peilicke
61fe48b4a0 - Update to version 3.5.3:
+ Line numbers in the HTML report line up better with the source lines, fixing
    issue 197
  + When specifying a directory as the source= option, the directory itself no
    longer needs to have a __init__.py file, though its subdirectories do, to
    be considered as source files.
  + Files encoded as UTF-8 with a BOM are now properly handled, fixing
    issue 179_.
  + Fixed more cases of non-Python files being reported as Python source, and
    then not being able to parse them as Python.  Closes issue 82 (again).
  + Fixed memory leaks under Python 3, thanks, Brett Cannon. Closes issue 147_.
  + Optimized .pyo files may not have been handled correctly, issue 195_.
  + Certain unusually named file paths could have been mangled during reporting,
    issue 194_.
  + Try to do a better job of the impossible task of detecting when we can't
    build the C extension, fixing issue 183_.
  + Testing is now done with tox
- Changes from version 3.5.2:
  + No changes since 3.5.2.b1
- Changes from version 3.5.2b1
  + The HTML report has slightly tweaked controls: the buttons at the top of
    the page are color-coded to the source lines they affect.
  + Custom CSS can be applied to the HTML report by specifying a CSS file as
    the extra_css configuration value in the [html] section.
  + Source files with custom encodings declared in a comment at the top are now
    properly handled during reporting on Python 2.  Python 3 always handled them
    properly.  This fixes issue 157_.
  + Backup files left behind by editors are no longer collected by the source=
    option, fixing issue 168_.
  + If a file doesn't parse properly as Python, we don't report it as an error

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=20
2012-11-20 18:20:40 +00:00
Stephan Kulow
1380a9da91 Accepting request 132968 from devel:languages:python
Restore BuildRequires: python3  This package depends on hash algorithms that are only available if python3 is installed, python3-devel will not pull them in.  Building will fail if  BuildRequires: python3 is removed. (forwarded request 132966 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/132968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=10
2012-09-11 07:15:33 +00:00
Todd R
07abd18bdf Accepting request 132966 from devel:languages:python
Restore BuildRequires: python3  This package depends on hash algorithms that are only available if python3 is installed, python3-devel will not pull them in.  Building will fail if  BuildRequires: python3 is removed.

OBS-URL: https://build.opensuse.org/request/show/132966
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=18
2012-09-06 12:58:03 +00:00
Stephan Kulow
e664ce04d5 Accepting request 122066 from devel:languages:python
license update: BSD-2-Clause and (GPL-2.0+ or MIT)
__init__.py is the only file with a definitive license statement (BSD-2-Clause). Also, package contains jquery components (GPL-2.0+ or MIT) (forwarded request 122056 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/122066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=8
2012-05-29 08:35:12 +00:00
Sascha Peilicke
48a380f63f Accepting request 122056 from home:babelworx:ldig:branches:devel:languages:python
license update: BSD-2-Clause and (GPL-2.0+ or MIT)
__init__.py is the only file with a definitive license statement (BSD-2-Clause). Also, package contains jquery components (GPL-2.0+ or MIT)

OBS-URL: https://build.opensuse.org/request/show/122056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=16
2012-05-24 14:07:00 +00:00
Todd R
ed8c9b47eb Accepting request 121937 from home:HighwayStar:branches:devel:languages:python
python3 package added

OBS-URL: https://build.opensuse.org/request/show/121937
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=15
2012-05-23 15:41:38 +00:00
Stephan Kulow
b739209ccf Accepting request 108729 from devel:languages:python
- Simplify macro usage

OBS-URL: https://build.opensuse.org/request/show/108729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=7
2012-03-11 19:04:49 +00:00
Sascha Peilicke
bd846ba354 - Simplify macro usage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=13
2012-03-10 16:54:12 +00:00
Stephan Kulow
333009c9e6 Accepting request 90920 from devel:languages:python
- Update to version 3.5.1:
  * The [paths] feature unfortunately didn't work in real world situations
    where you wanted to, you know, report on the combined data.  Now all paths
    stored in the combined file are canonicalized properly.

- Add python-distribute runtime requirement

OBS-URL: https://build.opensuse.org/request/show/90920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=5
2011-11-14 12:35:03 +00:00
Sascha Peilicke
31f46a45b9 - Update to version 3.5.1:
* The [paths] feature unfortunately didn't work in real world situations
    where you wanted to, you know, report on the combined data.  Now all paths
    stored in the combined file are canonicalized properly.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=10
2011-11-10 11:12:30 +00:00
Sascha Peilicke
38ae8e645b - Add python-distribute runtime requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=9
2011-09-27 08:33:34 +00:00
Lars Vogdt
a35459102f Accepting request 81571 from devel:languages:python
- Update to version 3.5.1b1:
  * for-else constructs are understood better, and don't cause erroneous partial
    branch warnings.  Fixes issue 122.
  * Branch coverage for with statements is improved, fixing issue 128.
  * The number of partial branches reported on the HTML summary page was
    different than the number reported on the individual file pages.  This is
    now fixed.
  * An explicit include directive to measure files in the Python installation
    wouldn't work because of the standard library exclusion.  Now the include
    directive takes precendence, and the files will be measured.  Fixes
    issue 138.
  * The HTML report now handles Unicode characters in Python source files
    properly. This fixes issue 124 and issue 144. Thanks, Devin
    Jeanpierre.
  * In order to help the core developers measure the test coverage of the
    standard library, Brandon Rhodes devised an aggressive hack to trick Python
    into running some coverage code before anything else in the process.
    See the coverage/fullcoverage directory if you are interested.
  ...see CHANGES.txt for more
- Spec file cleanup:
  * Use python-distribute instead of python-setuptools
  * Changed license to BSD-3-Clause (SPDX style)

OBS-URL: https://build.opensuse.org/request/show/81571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=3
2011-09-12 21:45:37 +00:00