python-subunit
Advanced tools
+21
-0
@@ -5,2 +5,23 @@ --------------------- | ||
| NEXT (In development) | ||
| --------------------- | ||
| 1.4.4 (2023-11-17) | ||
| ------------------ | ||
| BUG FIXES | ||
| ~~~~~~~~~ | ||
| * Removed use of deprecated "utc" and "utcfromtimestamp" | ||
| methods of "datetime.datetime". (Jake Lishman) | ||
| * Fix an issue with date parsing exception handling | ||
| (Colin Watson) | ||
| IMPROVEMENTS | ||
| ~~~~~~~~~~~~ | ||
| * Add support for Python 3.12 | ||
| (Matthew Treinish) | ||
| 1.4.3 (2023-09-17) | ||
@@ -7,0 +28,0 @@ --------------------- |
+2
-1
| Metadata-Version: 2.1 | ||
| Name: python-subunit | ||
| Version: 1.4.3 | ||
| Version: 1.4.4 | ||
| Summary: Python implementation of subunit test streaming protocol | ||
@@ -21,2 +21,3 @@ Home-page: http://launchpad.net/subunit | ||
| Classifier: Programming Language :: Python :: 3.11 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Classifier: Topic :: Software Development :: Testing | ||
@@ -23,0 +24,0 @@ Requires-Python: >=3.7 |
| Metadata-Version: 2.1 | ||
| Name: python-subunit | ||
| Version: 1.4.3 | ||
| Version: 1.4.4 | ||
| Summary: Python implementation of subunit test streaming protocol | ||
@@ -21,2 +21,3 @@ Home-page: http://launchpad.net/subunit | ||
| Classifier: Programming Language :: Python :: 3.11 | ||
| Classifier: Programming Language :: Python :: 3.12 | ||
| Classifier: Topic :: Software Development :: Testing | ||
@@ -23,0 +24,0 @@ Requires-Python: >=3.7 |
@@ -1,3 +0,1 @@ | ||
| Apache-2.0 | ||
| BSD | ||
| COPYING | ||
@@ -7,7 +5,4 @@ MANIFEST.in | ||
| README.rst | ||
| all_tests.py | ||
| disperse.conf | ||
| pyproject.toml | ||
| setup.py | ||
| .github/workflows/main.yml | ||
| python/subunit/__init__.py | ||
@@ -14,0 +9,0 @@ python/subunit/_output.py |
@@ -154,3 +154,3 @@ # | ||
| __version__ = (1, 4, 3, 'final', 0) | ||
| __version__ = (1, 4, 4, 'final', 0) | ||
@@ -579,3 +579,3 @@ __all__ = [ | ||
| raise TypeError(_u("Failed to parse %r, got %r") | ||
| % (line, sys.exec_info[1])) | ||
| % (line, sys.exc_info()[1])) | ||
| self.client.time(event_time) | ||
@@ -582,0 +582,0 @@ |
@@ -195,3 +195,3 @@ # | ||
| return | ||
| time = datetime.datetime.utcnow().replace(tzinfo=iso8601.UTC) | ||
| time = datetime.datetime.now(tz=iso8601.UTC) | ||
| self.decorated.time(time) | ||
@@ -198,0 +198,0 @@ |
@@ -49,3 +49,3 @@ # | ||
| FLAG_FILE_CONTENT = 0x0040 | ||
| EPOCH = datetime.datetime.utcfromtimestamp(0).replace(tzinfo=iso8601.UTC) | ||
| EPOCH = datetime.datetime.fromtimestamp(0, tz=iso8601.UTC) | ||
| NUL_ELEMENT = b'\0'[0] | ||
@@ -52,0 +52,0 @@ # Contains True for types for which 'nul in thing' falsely returns false. |
+1
-0
@@ -46,2 +46,3 @@ #!/usr/bin/env python3 | ||
| 'Programming Language :: Python :: 3.11', | ||
| 'Programming Language :: Python :: 3.12', | ||
| 'Topic :: Software Development :: Testing', | ||
@@ -48,0 +49,0 @@ ], |
| name: Tests | ||
| on: | ||
| push: | ||
| branches: [ master ] | ||
| pull_request: | ||
| branches: [ master ] | ||
| jobs: | ||
| tests: | ||
| name: tests-python${{ matrix.python-version }}-${{ matrix.os }} | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.7'] | ||
| os: ['ubuntu-latest'] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Install Deps | ||
| run: sudo apt-get install check libcppunit-dev | ||
| - name: Install package | ||
| run: python -m pip install -U '.[test,docs]' | ||
| - name: Build | ||
| run: autoreconf -fi && ./configure && make | ||
| - name: Run make check | ||
| run: make check | ||
| - name: Run make distcheck | ||
| run: make distcheck | ||
| - name: Docs build | ||
| run: rst2html.py README.rst README.html |
-36
| # | ||
| # subunit: extensions to Python unittest to get test results from subprocesses. | ||
| # Copyright (C) 2013 Robert Collins <robertc@robertcollins.net> | ||
| # | ||
| # Licensed under either the Apache License, Version 2.0 or the BSD 3-clause | ||
| # license at the users choice. A copy of both licenses are available in the | ||
| # project source as Apache-2.0 and BSD. You may not use this file except in | ||
| # compliance with one of these two licences. | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT | ||
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
| # license you chose for the specific language governing permissions and | ||
| # limitations under that license. | ||
| # | ||
| import unittest | ||
| import subunit | ||
| class ShellTests(subunit.ExecTestCase): | ||
| def test_sourcing(self): | ||
| """./shell/tests/test_source_library.sh""" | ||
| def test_functions(self): | ||
| """./shell/tests/test_function_output.sh""" | ||
| def test_suite(): | ||
| result = unittest.TestSuite() | ||
| result.addTest(subunit.test_suite()) | ||
| result.addTest(ShellTests('test_sourcing')) | ||
| result.addTest(ShellTests('test_functions')) | ||
| return result |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
| # See https://github.com/jelmer/disperse | ||
| news_file: "NEWS" | ||
| timeout_days: 5 | ||
| tag_name: "$VERSION" | ||
| verify_command: "autoreconf -i && ./configure && make distcheck" | ||
| update_version { | ||
| path: "configure.ac" | ||
| new_line: "m4_define([SUBUNIT_MAJOR_VERSION], [$MAJOR_VERSION])" | ||
| } | ||
| update_version { | ||
| path: "configure.ac" | ||
| new_line: "m4_define([SUBUNIT_MINOR_VERSION], [$MINOR_VERSION])" | ||
| } | ||
| update_version { | ||
| path: "configure.ac" | ||
| new_line: "m4_define([SUBUNIT_MICRO_VERSION], [$MICRO_VERSION])" | ||
| } | ||
| update_version { | ||
| path: "python/subunit/__init__.py" | ||
| new_line: "__version__ = $STATUS_TUPLED_VERSION" | ||
| } | ||
| launchpad_project: "subunit" |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
439808
-3.35%56
-8.2%7807
-0.34%