Changelog:
===========
-[Feature] #2173: Accept single tabs as field separators (in addition to single
spaces) in <paramiko.hostkeys.HostKeyEntry.from_line> for parity with
OpenSSH’s KnownHosts parser.
-[Feature] #2013: (solving #2009, plus others) Add an explicit channel_timeout
keyword argument to paramiko.client.SSHClient.connect, allowing users to
configure the previously-hardcoded default value of 3600 seconds.
-[Support] #2178: Apply codespell to the codebase, which found a lot of very old
minor spelling mistakes in docstrings. Also modernize many instances of
*largs vs *args and **kwarg vs **kwargs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
------
An AbstractDiscreteInterval class to ease the creation of specialized discrete intervals (experimental).
A create_api function to generate an API similar to the one of portion but configured to use a given subclass of Interval (experimental, see Specialize & customize intervals).
Changed
-------
Speed up repr and to_string for Interval instances (see #76, adm271828).
Some internal changes to ease subclassing:
from_string and from_data accepts a klass parameter to specify which class should be used to create Interval instances (default is Interval).
Add a klass parameter for open, closed, openclosed, closedopen, singleton and empty (default is Interval).
Add a _klass class attribute in IntervalDict to specify how to create Interval instances (default is Interval).
IntervalDict uses self.__class__ to preserve subclasses when creating new instances.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
Breaking changes:
------------------
Remove not allowed attributes function-rate, functions-covered and functions-valid from cobertura report. (:issue:'671')
Remove "noncode" entries in JSON reports. (:issue:'663')
New :option:'--exclude-noncode-lines' to exclude noncode lines. Noncode lines are not excluded by default anymore. (:issue:'704', :issue:'705')
Changed :option:'--gcov-ignore-parse-errors' to accept list of errors to ignore. (:issue:'701')
The default filename for :option:'--cobertura' is changed from coverage.xml to cobertura.xml (:issue:'721')
Handling of gcov errors:
Do not ignore return code of gcov. (:issue:'653')
New :option:'--gcov-ignore-errors' to ignore gcov errors. Old behavior was to print a warning and continue. (:issue:'718')
Revert changes from :issue:'623' and add documentation entry :ref:'support keil uvision format'. (:issue:'727')
New features and notable changes:
---------------------------------
New :option:'--html-nested' for reports that summarize subdirectories with aggregated statistics per directory. (:issue:'687')
Accept NAN % which is used in GCOV 7.5.0 instead of an invalid value. (:issue:'651')
New :option:'--json-base' to define a base bath used in JSON reports. (:issue:'656')
New :option:'--calls' to report call coverage: function calls invoked/total (:issue:'666')
New nox session to generate a portable application with pyinstaller, see :ref:'standalone application'. (:issue:'661')
Print a warning if root directory contains symlinks. (:issue:'652')
Change :option:'--keep' when calling gcov internaly. (:issue:'703')
Allow annotations for never executed branches. (:issue:'711')
Add function merge mode for same function defined in different lines. (:issue:'700')
Update link to gcovr documentation in HTML report to point to the documentation of the used version. (:issue:'723')
Add environment SOURCE_DATE_EPOCH to set default for :option:'--timestamp'. (:issue:'729')
Bug fixes and small improvements:
--------------------------------
Fix :option:'--html-tab-size' feature. (:issue:'650')
Fix alphabetical sort of html report, for when there are symlinks. (:issue:'685')
Handle :option:'--version' before parsing the configuration file. (:issue:'696')
Fix reports of excluded coverage. (:issue:'409', :issue:'503', :issue:'663')
Fix handling for nonexistent source code for HTML-details and Coveralls reports. (:issue:'663')
Exclude functions with :ref:'Exclusion markers'. (:issue:'713')
Fix problem in decision parser if open block brace is on same line. (:issue:'681')
Add Python 3.11 to test matrix. (:issue:'717')
Fix casing of files if filesystem is case insensitive. (:issue:'694')
Fix deadlock if :option:'-j' is used and there are errors from gcov execution. (:issue:'719')
Fix problem in decision parser if case is not on a single line with the break statement. (:issue:'738')
Do not use realpath for DirectoryPrefixFilter to support symlinks in root directory. (:issue:'712')
Documentation:
-------------
Add detailed reference for the JSON output format. (:issue:'663')
Internal changes:
-----------------
Select the :option:'--html-theme' using CSS classes. (:issue:'650')
Change and extend cmake tests. (:issue:'676')
Detect gcc version for running tests. (:issue:'686')
Use scrubbed data for --update_reference option. (:issue:'698')
Install ninja with package manager instead of GitHub action. (:issue:'699')
Rename the reference files coverage.xml to cobertura.xml and the test from xml to cobertura (:issue:'721')
Add support for clang-14 in our test suite and improve startup performance of docker image. (:issue:'731')
Compare files by extension in test suite. (:issue:'733')
Split HTML templates into one file for each part of the page. (:issue:'735')
Change docker image to be able to use it like the nox command itself. (:issue:'734')
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import cmake".
Only build and ship the python parts, and don't download and
build cmake from sources. Use the already built cmake instead.
The CMakeLists.txt file is a crippled copy from this cmake
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so cmake is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import ninja".
Only build and ship the python parts, and don't download and
build ninja from sources. Use the already built ninja instead.
The CMakeLists.txt file is a crippled copy from this ninja
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so ninja is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Documentation and test improvements
Remove scripts for contrib-supported shells from global namespace
setup.py: exclude test.* subpackages from find_packages (#406)
Support PowerShell (#405)
CI updates
Revert "Support powershell (#392)"
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Support powershell (#392)
Update importlib-metadata dependency to include versions 5.x (#389)
Test and documentation improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added
-----
Argument should_rename_legacy for legacy function detect and disregard any new arguments without errors (PR #262)
Removed
-------
Support for Python 3.6 (PR #260)
Changed
-------
Optional speedup provided by mypy/c 1.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-pyproject.toml-Replace-with.patch
removed since it's included in 2.15.0
Changelog:
==========
* astroid now supports "TryStar" nodes from python 3.11 and should be fully compatible with python 3.11.
* "Formattedvalue.postinit" is now keyword only. This is to allow correct typing of the
"Formattedvalue" class.
* "Astroid" now supports custom import hooks.
* "astroid" now infers return values from match cases.
* "AstroidManager.clear_cache" now also clears the inference context cache.
* "Astroid" now retrieves the default values of keyword only arguments and sets them on
"Arguments.kw_defaults".
* "Uninferable" now has the type "UninferableBase". This is to facilitate correctly type annotating
code that uses this singleton.
* Deprecate "modutils.is_standard_module()". It will be removed in the next minor release.
Functionality has been replaced by two new functions,
"modutils.is_stdlib_module()" and "modutils.module_in_path()".
* Fix "are_exclusive" function when a walrus operator is used inside "IfExp.test" field.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix:
=======
[bug] [ops] Fixed regression where Alembic would not run with older SQLAlchemy 1.3
versions prior to 1.3.24 due to a missing symbol. Workarounds have been
applied for older 1.3 versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022.
Changelog:
===========
Security issues:
----------------
* Fixed ReDOS vulnerability in mpmathify() (CVE-2021-29063)
Features:
----------
* Added quadsubdiv() for numerical integration with adaptive path splitting
* Added the Cohen algorithm for inverse Laplace transforms
* Some speedup of matrix multiplication
* Optimizations to Carlson elliptic integrals
* Added signal functions (squarew(), trianglew(), sawtoothw(), unit_triangle()
sigmoidw())
Bug fixes:
----------
* Correct mpf initialization from tuple for finf and fninf
* Support QR decomposition for matrices of width 0 and 1
* Fixed some cases where elliprj() gave inaccurate results
* Fixed cases where digamma() hangs for complex input
* Fixed cases of polylog() with integer-valued parameter with complex type
* Fixed fp.nsum() with Euler-Maclaurin algorithm
Maintenance:
------------
* Dropped support for Python 3.4
* Documentation cleanup
* Removed obsolete files
* Added options to runtests.py to skip tests and exit on failure
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New
-----
- [doc] added the Jupyter notebook used in a.7-rest-api-extensive-
restsearch.
Fix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Run black on the entire source code
Bundle the requirements-tests.txt file in the source distribution (#939)
[watchmedo] Exclude FileOpenedEvent events from AutoRestartTrick, and ShellCommandTrick, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (#949)
[watchmedo] Log FileOpenedEvent, and FileClosedEvent, events in LoggerTrick
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fix incorrect behaviour of __or__ and __ior__, see #8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed
=======
Broken test on FreeBSD due to a broken locale.strxfrm. This change has no effect outside fixing tests (issue #161)
Added
=========
The PRESORT option to the ns enum to attain consistent sort order in certain corner cases (issue #149)
Logic to ensure None and NaN are sorted in a consistent order (issue #149)
Explict Python 3.11 support
Changed
========
Only convert to str if necessary in os_sorted (@Dobatymo, issues #157 and #158)
Attempt to use new fastnumbers functionality if available
Move non-API documentation to the GitHub wiki
Removed
========
Support for EOL Python 3.6
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Feature
=========
Collection of small improvements to pyav (#939) (b0dc210)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Call gcloud config get project to get project for user cred (#1243) (c078a13)
Do not use hardcoded string 'python', when you mean sys.executable. (#1233) (91ac8e6)
Don't retry if error or error_description is not string (#1241) (e2d263a)
Improve ADC related errors and warnings (#1237) (2dfa213)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Performance improvements, especially with the haversine_vector function #65 by jobh
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
--------
Added the map option to all try_* functions to enable very fast conversions of lists or other iterables (issues #61, #63 and #67)
Added try_array to enable very fast conversions directly to numpy arrays (issues #62 and #65)
Changed
---------
Move to a model where the return code is a value or error instead of a model where one has to check the error state after getting a value (issue #66)
Significantly simplified the type annotations (by 4000+ lines!)
Fixed
-------
Increased code coverage and fixed missing headers in codecov reaport (issue #64)
Add back missing key option in type hints for deprecated fast_* functions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add missing LONG_PRESS enum member for button events (#190)
Mark auto_dynamic attribute optional on scene resource (#189)
Fixes for some small schema parse errors (#188)
Make active_timeslot optional in smart_scene model (#177)
Add util methods for backwards compatibility in Scenes controller (#176)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Raise KeyError when key is not found in ini repositories
Fix infinite recursion on Windows
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix: the PyPI page had broken links to documentation pages, but no longer does, closing issue 1566.
Fix: public members of the coverage module are now properly indicated so that mypy will find them, fixing issue 1564.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The final libgpiod v2.0 release is out so update the recipe.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove deprecated 'setuptools-markdown' dependency
(https://github.com/ethereum/eth-keyfile/pull/37)
- Use twine to upload package to pypi
0001-setup-don-t-use-setuptools-markdown.patch
removed since it's not available in 0.6.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added a new setting "[report] exclude_also" to let you add more exclusions
without overwriting the defaults. Thanks, 'Alpha Chen <pull 1557_>'_,
closing 'issue 1391_'.
- Added a :meth:'.CoverageData.purge_files' method to remove recorded data for
a particular file. Contributed by 'Stephan Deibel <pull 1547_>'_.
- Fix: when reporting commands fail, they will no longer congratulate
themselves with messages like "Wrote XML report to file.xml" before spewing a
traceback about their failure.
- Fix: arguments in the public API that name file paths now accept pathlib.Path
objects. This includes the "data_file" and "config_file" arguments to
the Coverage constructor and the "basename" argument to CoverageData.
Closes 'issue 1552'_.
- Fix: In some embedded environments, an IndexError could occur on stop() when
the originating thread exits before completion. This is now fixed, thanks to
'Russell Keith-Magee <pull 1543_>'_, closing 'issue 1542'_.
- Added a "py.typed" file to announce our type-hintedness. Thanks,
'KotlinIsland <pull 1550_>'_.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfix:
Hold a strong reference to the query sender start task (#1128) (808c3b2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Ensure that URL rules using path converters will redirect with strict slashes
when the trailing slash is missing. #2533
- Type signature for get_json specifies that return type is not optional when
silent=False. #2508
- parse_content_range_header returns None for a value like bytes */-1 where the
length is invalid, instead of raising an AssertionError. #2531
- Address remaining ResourceWarning related to the socket used by run_simple.
Remove prepare_socket, which now happens when creating the server. #2421
- Update pre-existing headers for multipart/form-data requests with the test
client. #2549
- Fix handling of header extended parameters such that they are no longer
quoted. #2529
- LimitedStream.read works correctly when wrapping a stream that may not return
the requested size in one read call. #2558
- A cookie header that starts with = is treated as an empty key and discarded,
rather than stripping the leading ==.
- Specify a maximum number of multipart parts, default 1000, after which a
RequestEntityTooLarge exception is raised on parsing. This mitigates a DoS
attack where a larger number of form/file parts would result in
disproportionate resource use.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[inotify] Add support for IN_OPEN events: a FileOpenedEvent event will be fired
[watchmedo] Add optional event debouncing for auto-restart, only restarting once
if many events happen in quick succession (--debounce-interval) (#940)
[watchmedo] Exit gracefully on KeyboardInterrupt exception (Ctrl+C) (#945)
[watchmedo] Add option to not auto-restart the command after it exits
(--no-restart-on-command-exit) (#946)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Better handling of empty strings passed as input.
Fix the shift safe number issue from 0.9.12
More minor pylint / etc fixes / cleanups (general code quality)
separate .parse from #115
Allow setting up completely empty {} operators / functions ( #75 via #123 )
Add extra bit-ops from #87
Add @daxamin to contributors ?
Version bump stuff.
other readme tweaks
star expressions, eg x = {"a": 1, "b": 2, **c}
no-build.patch
removed since it's included in 0.9.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
NEW: Update to support changes related to :lang() in the official CSS spec. :lang("") should match unspecified
languages, e.g. lang="", but not lang=und.
NEW: Only :is() and :where() should allow forgiving selector lists according to latest CSS (as far as Soup
Sieve supports "forgiving" which is limited to empty selectors).
NEW: Formally drop Python 3.6.
NEW: Formally declare support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>