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>
Improved Documentation
----------------------
- #863: Document limitations for debugging due to standard I/O of workers not
being forwarded. Also, mention remote debugging as a possible workaround.
Features
----------
- #855: Users can now configure load scheduling precision using --maxschedchunk
command line option.
- #858: New worksteal scheduler, based on the idea of work stealing. It's
similar to load scheduler, but it should handle tests with significantly
differing duration better, and, at the same time, it should provide similar
or better reuse of fixtures.
Trivial Changes
---------------
- #870: Make the tests pass even when $PYTEST_XDIST_AUTO_NUM_WORKERS is set.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Relaxed dependency requirements (#77).
Dropped support for Python 3.6.
Added official support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fix broken parametrized bases handling with GenericModels with complex sets of models
Invalidate mypy cache if plugin config changes
Fix RecursionError when deep-copying dataclass types wrapped by pydantic
Fix X | Y union syntax breaking GenericModel
Switch coverage badge to show coverage for this branch/release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
========
#1881 DocumentProperties times set by module import only
#1947 Worksheet-specific definitions are missing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix
----
Format hint test doesn't need to establish a connection (#941) (b7a0f35)
Other
------
Don't build pdfs on RTD (#944) (d200673)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improves propagation of errors in task results and includes fix for newer versions of pip.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Autoescape is enabled by default for ".svg" template files. :issue:'4831'
-Fix the type of "template_folder" to accept "pathlib.Path". :issue:'4892'
-Add "--debug" option to the "flask run" command. :issue:'4777'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fixes a security issue with severity "moderate" (CVE-2023-24580)
Fixed a bug in Django 4.1 that caused a crash of model validation on ValidationError with no code (#34319).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* fix popcount64 name conflict on NetBSD, #189
* even though PyPy is not actively supported, allow running tests for
PyPy 3.7 and 3.8, see also #188
* allow running `python setup.py test`
* add official Python 3.12 support
* simplify count functionality in util module
* retire `bitcount_lookup[256]` table
* improve `util.count_n()` error messages
* avoid `util` module tests from being run more than once in each
call to `bitarray.test()` when called multiple times in the same
Python process, see #6e52e49a
* improve testing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Text encoding and errors to compile().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
'_infer_str_format_call' won't crash anymore when the string it analyses are uninferable.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
[bug] [mssql] Ongoing fixes for SQL Server server default comparisons under autogenerate,
adjusting for SQL Server's collapsing of whitespace between SQL function
arguments when reporting on a function-based server default, as well as its
arbitrary addition of parenthesis within arguments; the approach has now
been made more aggressive by stripping the two default strings to compare
of all whitespace, parenthesis, and quoting characters.
References: #1177
[bug] [postgresql] Fixed PostgreSQL server default comparison to handle SQL expressions
sent as text() constructs, such as text("substring('name', 1, 3)"),
which previously would raise errors when attempting to run a server-based
comparison.
[bug] [autogenerate] Removed a mis-use of the
EnvironmentContext.configure.render_item callable where the
"server_default" renderer would be erroneously used within the server
default comparison process, which is working against SQL expressions, not
Python code.
References: #1180
[bug] [commands] Fixed regression introduced in 1.7.0 where the "config" object passed to
the template context when running the merge() command
programmatically failed to be correctly populated. Pull request courtesy
Brendan Gann.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed incorrectly overwriting cookies with the same name and domain, but different path.
Fixed ConnectionResetError not being raised after client disconnection in SSL environments.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
ptest results:
====== 3600 passed, 324 skipped, 2 xfailed, 1 xpassed in 74.41s (0:01:14) ======
for qemux86-64 with 2 GB RAM which is the same as seen on master.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Includes bugfix from v234 which won't run on python3.10
See: https://github.com/systemd/python-systemd/issues/107
Removes patches now no longer required as they are implemented in v235
drop setting md5 checksum for src_uri as it is no longer needed
rename patch directory to match recipe name as python2 version of recipe
is gone
V235 released to PyPI on 11 Feb 23
https://pypi.org/project/systemd-python/235/
Signed-off-by: Samuel Cook <samuel.cook@cornelisnetworks.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for libgpiod v2 python bindings. This is a release
candidate but once the proper v2.0 is released, it will be made public
on pypi and the recipe modified accordingly.
As libgpiod python bindings now use setuptools and not make, we can
separate the recipe from the rest of the library.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python-daemon was part of meta-python2 this has now been updated to
python3 and v2.3.2
Signed-off-by: Bhargav Das <bhargav_das@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix mixed content extension without explicit mixed attribute (issue #334)
Refine string serialization of XML resources and data elements
Switch to use elementpath v4
Fix sequence_type property for XSD types
Remove XsdElement.get_attribute(): unused and doesn't work as expected
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fix for "autofit()" exception when user defined column width was "None".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix logic bug that can cause disconnects (#893)
- Refactor and improve ping/pong logic to resolve several issues, including
an infinite loop issue during reconnect (#862)
- Fix issue where `skip_utf8_validation = True` is ignored (#886)
- Fix issue where sslopt `is_ssl` is ignored (#875)
- Downgrade "websocket connected" message from logging.warning to logging.info (#888)
- Update github actions to newer versions (669fe1b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
sql
------
- Fixed critical regression in SQL expression formulation in the 2.0 series due
to #7744 which improved support for SQL expressions that contained many
elements against the same operator repeatedly; parenthesis grouping would be
lost with expression elements beyond the first two elements.
typing
-------
Remove typing.Self workaround, now using PEP 673 for most methods that return
Self.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Polishing argcomplete support #829
Test that name and description can be set via constructor. #826
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fix regression in sdist archive
* Distribute a pure python wheel for Pyodide
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Allow pypng factory to allow for saving to a string
(like qr.save("some_file.png")) in addition to file-like objects.
- Fix bad over-optimization in v7.4 that broke large QR codes. Thanks to
mattiasj-axis!
- Restructure the factory drawers, allowing different shapes in SVG image
factories as well.
- Add a --factory-drawer option to the qr console script.
- Optimize the output for the SVGPathImage factory (more than 30% reduction in
file sizes).
- Add a pypng image factory as a pure Python PNG solution. If pillow is not
installed, then this becomes the default factory.
- The pymaging image factory has been removed, but its factory shortcut and the
actual PymagingImage factory class now just link to the PyPNGImage factory.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Various fixes & improvements
=============================
New: Add Huey Integration
Profiling: Do not send single sample profiles (#1879)
Profiling: Add additional test coverage for profiler (#1877)
Profiling: Always use builtin time.sleep (#1869)
Profiling: Defaul in_app decision to None (#1855)
Profiling: Remove use of threading.Event (#1864)
Profiling: Enable profiling on all transactions (#1797)
FastAPI: Fix check for Starlette in FastAPI integration (#1868)
Flask: Do not overwrite default for username with email address in FlaskIntegration (#1873)
Tests: Add py3.11 to test-common (#1871)
Fix: Don't log whole event in before_send / event_processor drops (#1863)
Add before_send_transaction (#1840)
Django: Always remove values of Django session related cookies. (#1842)
Profiling: Enable profiling for ASGI frameworks (#1824)
Profiling: Better gevent support (#1822)
Profiling: Use co_qualname in python 3.11 (#1831)
OpenTelemetry: fix Use dict for sentry-trace context instead of tuple (#1847)
OpenTelemetry: fix extra dependency (#1825)
OpenTelemetry: fix NoOpSpan updates scope (#1834)
OpenTelemetry: Make sure to noop when there is no DSN (#1852)
FastAPI: Fix middleware being patched multiple times (#1841)
Starlette: Avoid import of pkg_resource with Starlette integration (#1836)
Removed code coverage target (#1862)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add codespell to pre-commit config
Allow venv_install in config file
Avoid problematic tox 4.0 and 4.1
Update macos instances on Cirrus CI
Replace deprecated set-output
Update CI templates
Add comments about building sdist in tox.ini and FAQ
Update Python version in Read The Docs configuration
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Solve log problem in payload.
Fix register type check for size bigger than 3 registers (6 bytes) (#1323)
Re-add SQL tests. (#1329)
Central logging. (#1324)
Skip sqlAlchemy test. (#1325)
Solve 1319 (#1320)
Update README.rst
Correct README link. (#1316)
More direct readme links for REPL (#1314)
Add classifier for 3.11 (#1312)
Update README.rst (#1313)
Delete ModbusCommonBlock.png (#1311)
Add modbus standard to README. (#1308)
fix no auto reconnect after close/connect in TCPclient (#1298)
Update examples.rst (#1307)
var name clarification (#1304)
Bump external libraries. (#1302)
Reorganize documentation to make it easier accessible (#1299)
Simulator documentation (first version). (#1296)
Updated datastore Simulator. (#1255)
Update links to pydmodbus-dev (#1291)
Change riptideio to pymodbus-dev. (#1292)
#1258 Avoid showing unit as a seperate command line argument (#1288)
Solve docker cache problem. (#1287)
add missing server.start() (#1282)
small performance improvement on debug log (#1279)
Fix Unix sockets parsing (#1281)
client: Allow unix domain socket. (#1274)
transfer timeout to protocol object. (#1275)
Add ModbusUnixServer / StartAsyncUnixServer. (#1273)
Added return in AsyncModbusSerialClient.connect (#1271)
add connect() to the very first example (#1270)
Solve docker problem. (#1268)
Test stop of server task. (#1256)
Thanks to:
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix
========
- Set relationship_type default in MISPTag to empty string.
- Another typo in readme.
- Typo in readme.
- Update whl files.
- Nvm, readthedocs requires python 3.8 at most.
New
======
- Add relationship_type in Tag entries for feeds.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changed
=======
Speed up lookups in IntervalDict for non-interval keys.
Speed up iterate by no longer creating singleton instances under the hood.
Drop official support for Python 3.6.
Fixed
=====
Infinite recursion when a subclass of an Interval is compared using > with an Interval instance (see #75).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bubfix:
==========
-A handful of lower-level classes (notably paramiko.message.Message and
paramiko.pkey.PKey) previously returned bytes objects from their
implementation of __str__, even under Python 3; and there was never any
__bytes__ method.
-Streamline some redundant (and costly) byte conversion calls in the packetizer
and the core SFTP module. This should lead to some SFTP speedups at the very least.
-Remove some unnecessary __repr__ calls when handling bytes-vs-str conversions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
New Features
------------
Added support for data table formulae
Mapped chartspace graphical properties to charts for advanced formatting
Bugfixes
---------
#1156 Table filters are always overriden
#1360 Can't read some ScatterCharts if the x-axis is not numerical
#1786 NamedStyles share attributes - mutables gotcha
#1851 Allow print area to be set to None
#1852 Worksheet for print title and print areas can't be found
#1853 Custom document properties that are strings can be empty
#1858 ConditionalFormatting lost when pivot table updated
#1864 Better handling of defined names
#1912 Excel doesn't like xmlns:space on nodes with only whitespace, which it treats as empty.
#1942 Exception when print areas use table references.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Use latest skeleton (and updated configure script)
Update license list to latest ScanCode and SPDX 3.19
Use correct syntax for python_require
Drop using Travis and Appveyor
Drop support for Python 3.7 and add Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-Fix-host-contamination-of-include-files.patch
updated for 2.10.2
Changelog:
==========
- fixed bug in logic computing max_char for PyUnicode_New()
- fixed build issues with ICU < 72
- fixed bug with building on MacOS when pkg-config is present
- added link to note about building everything from sources
- added wrapper for u_cleanup/u_init sequence as ResourceBundle.resetICU()
- added wrapper for TimeZone.getRegion()
- added support for ICU 72.1
- added wrapper for UnicodeSetIterator::skipToStrings()
- added wrapper for DisplayOptions, DisplayOptions::Builder and related enums
- added wrapper for FormattedNumber::getNounClass()
- added wrapper for NumberFormatter.displayOptions()
- added support for ICU 71.1
- added wrappers for UMeasurePrefix, MeasureUnit.withPrefix()|getPrefix()
- added UNumberRoundingPriority, FractionPrecision.withSignificantDigits()
- added UNumberTrailingZeroDisplay, Precision.trailingZeroDisplay()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- right accepts a single character from suggestion
- ctrl+right accepts a semantic token (macos default shortcuts take precedence
and need to be disabled to make this work
- backspace deletes a character and resumes hinting autosuggestions
- ctrl-left accepts suggestion and moves cursor left one character.
- backspace deletes a character and resumes hinting autosuggestions
- down moves to suggestion to later in history when no lines are present below
the cursors.
- up moves to suggestion from earlier in history when no lines are present
above the cursor.
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:
===========
* Add support for SH1107 greyscale OLED
* Fix SSD1322 NHD initialization and encode each pixel as 4bit+4bit
identical nibbles
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Correctly obtain database URL with SQLAlchemy 2.0
Remove legacy future import in Alembic templates
Add SQLAlchemy 1.4 and 2.0 to the test matrix
Switch to pytest as test runner
Support "check" command #502
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2021.
Changelog:
==========
- Removed a nasty memory leak that would cause every number returned
from 'fastnumbers' to never get freed.
- Added 'check_real', 'check_float', 'check_int', and 'check_intlike'
to provide a more flexible interface than 'isreal', 'isfloat', 'isint',
and 'isintlike', respectively
- Added 'try_real', 'try_float', 'try_int', and 'try_forceint'
to provide a more flexible interface than 'fast_real', 'fast_float', 'fast_int',
and 'fast_forceint', respectively
- Added Python 3.11 support
- 'query_type' now sets 'allow_underscores' to 'False' by default
- Complete rewrite into C++
- All functions now use use 'METH_FASTCALL' to pass arguments from
Python to C
- Always parse integers using 'int64_t' instead of using 'long' to ensure
we can always quickly parse at least 18 digits
- Parsing floats now always uses the fast and robust parser
['fast_float::from_chars()'](https://github.com/fastfloat/fast_float)
- 'isreal', 'isfloat', 'isint', and 'isintlike' are deprecated in
favor of 'check_real', 'check_float', 'check_int', and 'check_intlike',
though they will never be removed from the API
- 'fast_real', 'fast_float', 'fast_int', and 'fast_forceint' are deprecated in
favor of 'try_real', 'try_float', 'try_int', and 'try_forceint',
though they will never be removed from the API
- Support for Python 3.6
- Removed the undocumented 'dig', 'max_exp', 'min_exp', and 'max_int_len'
module-level constants, as they are now meaningless
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fix packaging: include py.typed in package data
* Revert to comparison between xs:QName instances and strings
* First XPath 3.1 implementation (without UCA collation support)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
============
Add an “ago” synonym for Arabic (#1128)
Improved date parsing for Czech (#1131)
Improved date parsing for Indonesian (#1134)
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:
==========
* Bug Fixes
* Fixed ValueError caused when passing 'Cmd.columnize()' strings wider than 'display_width'.
* Enhancements
* Renamed 'utils.str_to_bool()' -> 'utils.to_bool()'.
* Enhanced 'utils.to_bool()' so that it accepts and converts 'bool', 'int', and 'float' in addition to 'str'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added: the debug output file can now be specified with [run] debug_file in
the configuration file. Closes issue 1319.
- Performance: fixed a slowdown with dynamic contexts that's been around since
6.4.3.
- Typing: all product and test code has type annotations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
fix: use repr() when adding values to plot
Allow cantools.tester to work with multiplexed signals
Relaxed an PDU assert for ARXML format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
==========
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Add support for inferring binary union types added in Python 3.10.
* Capture and log messages emitted when inspecting a module for astroid.
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Fix issues with "typing_extensions.TypeVar".
* Fix "ClassDef.fromlino" for PyPy 3.8 (v7.3.11) if class is wrapped by a decorator.
* Preserve parent CallContext when inferring nested functions.
* Add "Lock" to the "multiprocessing" brain.
* Fix a regression in 2.13.2 where a RunTimeError could be raised unexpectedly.
* Fix overwritten attributes in inherited dataclasses not being ordered correctly.
* Fix a false positive when an attribute named "Enum" was confused with "enum.Enum".
Calls to "Enum" are now inferred & the qualified name is checked.
* Remove unnecessary typing_extensions dependency on Python 3.11 and newer
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add support for Python 3.11.
- Drop support for decorating non-async functions with @template (deprecated since 0.16).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2022.
0001-Remove-tornado-6-test-constraint.-Ref-15.patch
removed since it's not available in 2.0.0.
Changelog:
=========
Drop support for legacy Pythons (2.7, 3.6 or older).
Remove Travis/Appveyor CI and switch to GitHub Actions.
Added support for Tornado 6 (in the test suite).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop backported patches as they are already in 2.0.2 release
Add a patch to cleanup register keyword usage
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brings in these changes
Fix poetry pip-shims extras dependency (#2078) @jooola
Add the ability to restrict which directories isort works against (#1967) @vkomarov-r7
docs: fix simple typo, detrmination -> determination (#1948) @timgates42
updated format strings to fstrings (#2076) @marksmayo
Simplify typeshed integration test (#2075) @AlexWaygood
Fix re-export sorter (#2065) @parafoxia
Add more docs about filter-files option (#2074) @micahjsmith
Removal Python 3.7 (#2064) @staticdev
Added test case and fix for cython pure python import (#2063) @jtoledo1974
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add initial pillow ptest support.
The ptest result is:
====== 3600 passed 324 skipped, 2 xfailed, 1 xpassed in 62.41s (0:01:02) ======
for qemux86-64 with 2 GB RAM.
The skipped tests as summarized with:
# ptest-runner python3-pillow | tee log
# grep SKIPP log | cut -d"(" -f2- | cut -d")" -f1 | cut -d" " -f1 | sort | uniq -c| sort -n | tail -4
12 webp
13 Tk
14 Qt
84 raqm
Webp was explicityly disabled in 2018 in:
6cb4e90fc python3-pillow: add 5.4.1
I didn't test Tk or Qt and there isn't yet a recipe for libraqm:
https://github.com/HOST-Oman/libraqm
a library that encapsulates the logic for complex text layout.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.3.0:
- Add cache_info() function to @cached decorator.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.25.0:
- Add audio support for ffmpeg writer
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- The new SPF 'v=spf1 -all' (reject-all) deliverability check is
removed in most cases. It now is performed only for domains that
do not have MX records but do have an A/AAAA fallback record.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- The default casefolding method on Python 3 was changed from
str.lower() to str.casefold(). This changes the matching of the
case-insensitive keys. This shold normally be an improvement,
but in case you find that you are negatively affected by this
change, you can go back to the str.lower() method by overriding
the NocaseDict.__casefold__() method with a method that calls
str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be
str.casefold() in order to improve Unicode support. On Python 2,
it remains str.lower(). Added support for user-defined
casefolding.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- The default casefolding method on Python 3 was changed from
str.lower() to str.casefold(). This changes the matching of the
case-insensitive values. This shold normally be an improvement,
but in case you find that you are negatively affected by this
change, you can go back to the str.lower() method by overriding
the NocaseDict.__casefold__() method with a method that calls
str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be
str.casefold() in order to improve Unicode support. On Python 2,
it remains str.lower(). Added support for user-defined
casefolding.
- Added support for storing None as a value in a NocaseList.
Previously, that was rejected with AttributeError since the
casefold method was attempted to be called on the None value.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.8:
- fixing/test for a regression introduced in 5.0.7 that prevented
import validate from working
- update testing to validate against python version 2.7 & 3.5-3.11
- update broken links / non-existent services and references
License-Update: Use file LICENSE, no change of the license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Improved :func:'autofit' algorithm to account for the additional width of
autofilter and table dropdowns.
* Improved :func:'autofit' take user defined column widths into account.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright changed from "Crossbar.io Technologies GmbH"
to "typedef int GmbH"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add Starlite integration (#1748)
- Adding support for the Starlite framework. Unhandled errors are captured.
Performance spans for Starlite middleware are also captured.
- Profiling: Remove sample buffer from profiler (#1791)
- Profiling: Performance tweaks to profile sampler (#1789)
- Add span for Django SimpleTemplateResponse rendering (#1818)
- Use @wraps for Django Signal receivers (#1815)
- Add enqueued_at and started_at to rq job extra (#1024)
- Remove sanic v22 pin (#1819)
- Add support for byterray and memoryview built-in types (#1833)
- Handle "rc" in SQLAlchemy version. (#1812)
- Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790)
- Auto publish to internal pypi on release (#1823)
- Added Python 3.11 to test suite (#1795)
- Update test/linting dependencies (#1801)
- Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Experimental Features
---------------------
Add support for BF.CARD (#2545)
New Features
------------
Add support for custom connection pool class in NodesManager (#2547)
Bug Fixes
---------
Allow replica to master promotion in nodes_cache (#2549)
Security Fix: Updating graph parser for potential injection cases (#2548)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New:
------
- Added socket_class argument to zmq.Context.socket()
- Support shadowing sockets with socket objects, not just via address,
e.g. zmq.asyncio.Socket(other_socket). Shadowing an object preserves a
reference to the original, unlike shadowing via address.
- in zmq.auth, CredentialsProvider callbacks may now be async.
- ZMQStream callbacks may now be async.
- Add zmq.ReconnectStop draft constants.
- Add manylinux_2_28 wheels for x86_64 CPython 3.10, 3.11, and PyPy 3.9
(these are in addition to not instead of the manylinux_2014 wheels).
Fixed:
-------
- When ZMQStream is given an async socket, it now warns and hooks up events
correctly with the underlying socket, so the callback gets the received
message, instead of sending the callback the incorrect arguments.
- Fixed toml parse error in pyproject.toml, when installing from source with
very old pip.
- Removed expressed dependency on py when running with pypy, which hasn't
been used in some time.
Deprecated:
----------
- zmq.auth.ioloop.IOLoopAuthenticator is deprecated in favor of
zmq.auth.asyncio.AsyncioAuthenticator
- As part of migrating toward modern pytest, zmq.tests.BaseZMQTestCase
is deprecated and should not be used outside pyzmq.
- python setup.py test is deprecated as a way to launch the tests.
Just use pytest.
Removed:
----------
- Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is
removed, so ZMQStream cannot be used without an actual install of tornado.
- Remove support for tornado 4, meaning tornado is always assumed to run on asyncio.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add xdist pr default. (#1253)
Create docker-publish.yml (#1250)
Parallelize pytest with pytest-xdist (#1247)
Support Python3.11 (#1246)
Fix reconnectDelay to be within (100ms, 5min) (#1244)
Fix typos in comments (#1233)
WEB simulator, first version. (#1226)
Clean async serial problem. (#1235)
terminate when using 'randomize' and 'change_rate' at the same time (#1231)
Used tooled python and OS (#1232)
add 'change_rate' randomization option (#1229)
add check_ci.sh (#1225)
Simplify CI and use cache. (#1217)
Solve issue 1210, update simulator (#1211)
Add missing client calls in mixin.py. (#1206)
Advanced simulator with cross memory. (#1195)
AsyncModbusTcp/UdpClient honors delay_ms == 0 (#1203) (#1205)
Fix#1188 and some pylint issues (#1189)
Serial receive incomplete bytes.issue #1183 (#1185)
Handle echo (#1186)
Add updating server example. (#1176)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- gh-100740: Fix unittest.mock.Mock not respecting the spec for attribute names
prefixed with assert.
- gh-100690: Mock objects which are not unsafe will now raise an AttributeError
when accessing an attribute that matches the name of an assertion but without
the prefix assert_, e.g. accessing called_once instead of assert_called_once.
This is in addition to this already happening for accessing attributes with
prefixes assert, assret, asert, aseert, and assrt.
- gh-96127: inspect.signature was raising TypeError on call with mock objects.
Now it correctly returns (*args, **kwargs) as infered signature.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
--------
AwsCredentials should not call metadata server if security creds and region are retrievable through the environment variables (#1195) (5e27c8f)
Wrap all python built-in exceptions into library excpetions (#1191) (a83af39)
Bug Fixes
---------
Allow get_project_id to take a request (#1203) (9a4d23a)
Make OAUTH2.0 client resistant to string type 'expires_in' responses from non-compliant services (#1208) (9fc7b1c)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Python 3.7 or newer is required.
-Type annotations are now integrated with the source code and cover far more of
the library.
-The get_soa() method has been added to dns.zone.Zone.
-The minimum TLS version is now 1.2.
-EDNS padding is now supported. Messages with EDNS enabled and with a non-zero
pad option will be automatically padded appropriately when converted to wire format.
-dns.zone.from_text() and dns.zone.from_file() now have an allow_directives
parameter to allow finer control over how directives in zonefiles are processed.
-A preliminary implementation of DNS-over-QUIC has been added, and will be
available if the aioquic library is present. See dns.query.quic(),
dns.asyncquery.quic(), and examples/doq.py for more info. This API is subject
to change in future releases. For asynchronous I/O, both asyncio and Trio are
supported, but Curio is not.
-DNSSEC signing support has been added to the dns.dnssec module, along with a
number of functions to help generate DS, CDS, and CDNSKEY RRsets.
-Curio asynchronous I/O support is deprecated as of this release and will be
removed in a future release.
-The resolver object's nameserver field is planned to become a property in
dnspython 2.4. Writing to this field other than by direct assignment is
deprecated, and so is depending on the mutability and form of the iterable
returned when it is read.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix the bug where Monday is parsed as a month (#1121)
Prevent ReDoS in Spanish sentence splitting regex (#1084)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix: On Python 3.7, a file with type annotations but no from __future__
import annotations would be missing statements in the coverage report.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 23.1.1:
- fix: support for Python up to v3.11
- fix: update GitHub CI
- fix: copyright transferred to typedef int GmbH -
no license change!
- fix: remove coverage crap
License-Update: Company name changed from Crossbar.io Technologies
GmbH to typedef int GmbH, the license remains MIT.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.9.2:
- Fixed typing definitions for EnvironmentContext.get_x_argument()
- Fixed regression where the string transformations applied to
server defaults caused expressions such as (getdate()) to no
longer compare as equivalent on SQL Server, others.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tftpy is a TFTP library for the Python programming language. It includes client
and server classes, with sample implementations. Hooks are included for easy
inclusion in a UI for populating progress indicators. It supports RFCs 1350,
2347, 2348 and the tsize option from RFC 2349.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.13.2:
- Removed version conditions on typing_extensions dependency.
- Removed typing_extensions from our tests requirements as it was
preventing issues to appear in our continuous integration.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Support ujson.loads(bytearray(...)) and other bytes-like objects.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New Features
-------------
Add dialect to FT.AGGREGATE (#2537)
Add support for resetchannels in ACL SETUSER (#2514)
Allow EVAL_RO and EVALSHA_RO to be routed to read replica (#2494)
Add timeout parameter for SentinelManagedConnection (#2495)
Add TIMEOUT to query class (#2519)
Add support for certain LATENCY commands (#2503)
Bug Fixes
-----------
Add type checking to __eq__ in graph classes (#2531)
Accept str for ex parameter in set command (#2529)
Fix for Unhandled exception related to self.host with unix socket (#2520)
Make PythonParser resumable (#2510)
Maintenance
------------
Fix incorrect _disconnect_raise docstring (#2534)
Remove DeprecationWarning by replace get_event_loop with get_running_loop (#2530)
Fix AttributeError when trying to split library version (#2539)
Including startup instructions via redis-stack docker (#2535)
Fix JSON.ARRINDEX test (#2527)
Add OpenTelemetry example with Uptrace backend (#2452)
Switch docs to furo theme (#2492)
Combine auto-concatenated strings (#2482)
Updating graph tests to support new execution plan (#2486)
Raising NotImplementedError for certain CLUSTER and LATENCY commands (#2504) (#2501)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-Performance: an internal cache of file names was accidentally disabled,
resulting in sometimes drastic reductions in performance.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Do not use deprecated functions in Flask-SQLAlchemy 3.0
Stop building Python 3.6
Remove tests from pypi package
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
accesscontextmanager: Update the api 038fdb69dc
alertcenter: Update the api 6057d89b61
androidenterprise: Update the api ec22103603
apigee: Update the api 43f435c459
batch: Update the api 3dd983b561
clouddeploy: Update the api 9a176a474c
compute: Update the api bba3627ef5
container: Update the api 98d6112970
contentwarehouse: Update the api 00fa4bb30f
datafusion: Update the api db1dddc7ca
datamigration: Update the api 12effe4a38
datapipelines: Update the api 91b60afaa4
dataplex: Update the api 04bafe3e11
dataproc: Update the api 1ad16fafbd
datastream: Update the api 30f292141f
firestore: Update the api 89b34a91c7
gmail: Update the api a4ca99c42e
notebooks: Update the api f732fd307f
retail: Update the api d94dee346b
speech: Update the api 339a5d6c9c
texttospeech: Update the api ee942d9363
workloadmanager: Update the api 93f0e30afa
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add support for Python 3.11.
Correct version information in RTD documentation.
badges/shields: Change to GitHub workflow badge routes.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Address changes of final V2 api release (#175)
Use non-deprecated logging warn method (#174)
Add support for smart_scene resource (#170)
Add support for matter resource (#171)
Fix: KeepAlive workaround causes Geofence to malfunction (#163)
Fix: Missing repeated events for Philips Hue Tap Dial switch (#167)
Fix error in log when an empty dict is received for an optional value (#164)
Add sparkle effect to fix new Festavia lights (#165)
Fix typo in discovery (#158)
Pin github actions and add dependabot actions ecosystem (#151)
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:
==========
- Added support for matrix multiplication operator (@).
- Should have all the wheels now (including the manylinux ones).
- Bumped minimum version requirements for setuptools and setuptools-scm.
- Switched the default pure python fallback implementation to the "simple" one
(when you from lazy_object_proxy import Proxy and the C extension is not
available). Previously the "slots" implementation was used but as it turns
out it is slower on Python 3.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.6.0:
- Updated pre-commit with mypy
- Test Python 3.12 pre-releases
- Fix to min_table_width parameter
- Widen tables with long titles
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.8.1:
- fix: mro_trait can be unbound when the class is not in mro
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.19.0:
- Add timestamp and timestamp_ms formats to fields.DateTime
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 38.0.0:
- Major bump due to minimum required Python version being raised
to 3.8
- do no longer use the ncurses module in the dump subparser
- Fix 'Assertation' NameError typo in test_database
- Add missing crccheck dependency to setup.py
- Bugfix in handling more than one node mapped attribute per signal
- A few bug fixes
- Typing improvements
- Use tox
- Fix CI
- Ensure that only Decimal types are stored in the Signal.decimal
attribute
- cantools library import lib from a relative path (unified)
- Test on python 3.11, build docs again
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.0:
- Add light shades, dark grey and black
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.18.1:
- Remove unnecessary `i` variable from encoder module namespace
- Declare support for Python 3.11 and add wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.36:
- Another Python 3.6 fix for a bug that was introduced in 3.0.34.
- Fix bug introduced in 3.0.34 for Python 3.6. Use
asynccontextmanager implementation from prompt_toolkit itself.
- Improve completion performance in various places.
- Improve renderer performance.
- Handle `KeyboardInterrupt` when the stacktrace of an unhandled
error is displayed.
- Use correct event loop in `Application.create_background_task()`.
- Fix `show_cursor` attribute in `ScrollablePane`.
- Improve termination of `Application`. Don't suppress
`CancelledError`. This fixes a race condition when an
`Application` gets cancelled while we're waiting for the
background tasks to complete.
- Fixed typehint for `OneStyleAndTextTuple`.
- Small bugfix in `CombinedRegistry`. Fixed missing `@property`.
- Use `DummyInput` by default in `create_input()` if `sys.stdin`
does not have a valid file descriptor. This fixes errors when
`sys.stdin` is patched in certain situations.
- Fix control-c key binding for `ProgressBar` when the progress
bar was not created from the main thread. The current code would
try to kill the main thread when control-c was pressed.
- Accept a `cancel_callback` in `ProgressBar` to specify the
cancellation behavior for when `control-c` is pressed.
- Small performance improvement in the renderer.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.0.3:
- Fix: when using the [run] relative_files = True setting, a
relative [paths] pattern was still being made absolute. This is
now fixed.
- Fix: if Python doesn't provide tomllib, then TOML configuration
files can only be read if coverage.py is installed with the
[toml] extra. Coverage.py will raise an error if TOML support is
not installed when it sees your settings are in a .toml file.
But it didn't understand that [tools.coverage] was a valid
section header, so the error wasn't reported if you used that
header, and settings were silently ignored. This is now fixed.
- Fix: adjusted how decorators are traced on PyPy 7.3.10.
- Fix: the coverage lcov report did not properly implement the
--fail-under=MIN option. This has been fixed.
- Refactor: added many type annotations, including a number of
refactorings. This should not affect outward behavior, but they
were a bit invasive in some places, so keep your eyes peeled for
oddities.
- Refactor: removed the vestigial and long untested support for
Jython and IronPython.
- Fix: when using pytest-cov or pytest-xdist, or perhaps both, the
combining step could fail with assert row is not None using
7.0.2. This was due to a race condition that has always been
possible and is still possible. In 7.0.1 and before, the error
was silently swallowed by the combining code. Now it will produce
a message "Couldn't combine data file" and ignore the data file
as it used to do before 7.0.2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Added 'OverlappingRange' exception which is raised during Worksheet
:func:'add_table()' or :func:'merge_range()' if the range overlaps an existing
worksheet table or merge range. This is a file corruption error in Excel. See
:ref:'exceptions'.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Updated: copyright year updated to 2023
Changelog:
==========
Fixed null pointer dereference crash with malformed font #6846
Return from ImagingFill early if image has a zero dimension #6842
Reversed deprecations for Image constants, except for duplicate Resampling attributes #6830
Improve exception traceback readability #6836
Do not attempt to read IFD1 if absent #6840
Fixed writing int as ASCII tag #6800
If available, use wl-paste or xclip for grabclipboard() on Linux #6783
Added signed option when saving JPEG2000 images #6709
Patch OpenJPEG to include ARM64 fix#6718
Added support for I;16 modes in putdata() #6825
Added conversion from RGBa to RGB #6708
Added DDS support for uncompressed L and LA images #6820
Added LightSource tag values to ExifTags #6749
Fixed PyAccess after changing ICO size #6821
Do not use EXIF from info when saving PNG images #6819
Fixed saving EXIF data to MPO #6817
Added Exif hide_offsets() #6762
Only compare to previous frame when checking for duplicate GIF frames while saving #6787
Always initialize all plugins in registered_extensions() #6811
Ignore non-opaque WebP background when saving as GIF #6792
Only set tile in ImageFile __setstate__ #6793
When reading BLP, do not trust JPEG decoder to determine image is CMYK #6767
Added IFD enum to ExifTags #6748
Fixed bug combining GIF frame durations #6779
Support saving JPEG comments #6774
Added getxmp() to WebPImagePlugin #6758
Added "exact" option when saving WebP #6747
Use fractional coordinates when drawing text #6722
Fixed writing int as BYTE tag #6740
Added MP Format Version when saving MPO #6735
Added Interop to ExifTags #6724
CVE-2007-4559 patch when building on Windows #6704
Fix compiler warning: accessing 64 bytes in a region of size 48 #6714
Use verbose flag for pip install #6713
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-gh-98624: Add a mutex to unittest.mock.NonCallableMock to protect concurrent
access to mock attributes.
-bpo-43478: Mocks can no longer be used as the specs for other Mocks. As a
result, an already-mocked object cannot have an attribute mocked using
autospec=True or be the subject of a create_autospec call. This can uncover
bugs in tests since these Mock-derived Mocks will always pass certain tests
(e.g. isinstance) and builtin assert functions (e.g. assert_called_once_with)
will unconditionally pass.
-bpo-45156: Fixes infinite loop on unittest.mock.seal() of mocks created by
create_autospec().
-bpo-41403: Make mock.patch() raise a TypeError with a relevant error message
on invalid arg. Previously it allowed a cryptic AttributeError to escape.
-gh-91803: Fix an error when using a method of objects mocked with
unittest.mock.create_autospec() after it was sealed with unittest.mock.seal() function.
-bpo-41877: AttributeError for suspected misspellings of assertions on mocks are
now pointing out that the cause are misspelled assertions and also what to do
if the misspelling is actually an intended attribute name. The unittest.mock
document is also updated to reflect the current set of recognised misspellings.
-bpo-43478: Mocks can no longer be provided as the specs for other Mocks.
As a result, an already-mocked object cannot be passed to mock.Mock().
This can uncover bugs in tests since these Mock-derived Mocks will always pass
certain tests (e.g. isinstance) and builtin assert functions
(e.g. assert_called_once_with) will unconditionally pass.
-bpo-45010: Remove support of special method __div__ in unittest.mock.
It is not used in Python 3.
-gh-84753: inspect.iscoroutinefunction() now properly returns True when an
instance of unittest.mock.AsyncMock is passed to it. This makes it consistent
with behavior of asyncio.iscoroutinefunction(). Patch by Mehdi ABAAKOUK.
-bpo-46852: Remove the undocumented private float.__set_format__() method,
previously known as float.__setformat__() in Python 3.7. Its docstring
said: "You probably don't want to use this function. It exists mainly to be
used in Python's test suite." Patch by Victor Stinner.
-gh-98086: Make sure patch.dict() can be applied on async functions.
-gh-100287: Fix the interaction of unittest.mock.seal() with unittest.mock.AsyncMock.
-gh-83076: Instantiation of Mock() and AsyncMock() is now 3.8x faster.
-bpo-41877: A check is added against misspellings of autospect, auto_spec and
set_spec being passed as arguments to patch, patch.object and create_autospec.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Parse short versions of day, month, and year (#1103)
Add a test for "in 1d" (#1104)
Update languages_info (#1107)
Add a workaround for zipimporter not having exec_module before Python 3.10 (#1069)
Stabilize tests at midnight (#1111)
Add a test case for French (#1110)
Remove the requirements-build file (#1113)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Only include the source code in the source distribution. This reduces the
size of the source distribution from 200kB to 30kB.
-Fix the return type hint of bidict.inverted() to return an Iterator, rather
than an Iterable.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.8:
- Add Python 3.11 support and move docs files to main folder
License-Update: File moved to main directory, no changes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.47.1:
- The equality checks for DNSPointer and DNSService should be case
insensitive
- Optimize equality checks for DNS records
- Optimize the dns cache
- Optimize construction of outgoing packets
- Optimize dns objects by adding pxd files
- Optimize incoming parser by reducing call stack
- Optimize incoming parser by using unpack_from
- Optimize incoming parser by adding pxd files
- Fix project name in pyproject.toml
- Drop async_timeout requirement for python 3.11+
License-Update: Use PKG-INFO to check the license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.1:
- Enable mypy to discover type hints as specified in PEP 561
- [ci] Set the expected Python version when building release files
- [ci] Update actions versions in use
- [watchmedo] [regression] Fix usage of missing signal.SIGHUP
attribute on non-Unix OSes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
On glibc this breaks build when using 64bit time_t since zlib ends up
undefining _FILE_OFFSET_BITS when -D_LARGEFILE64_SOURCE is defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed a bug where the XML-RPC method supervisor.startProcess() would return 500
Internal Server Error instead of an XML-RPC fault response if the command could
not be parsed.
-Fixed a bug on Python 2.7 where a UnicodeDecodeError may have occurred when
using the web interface.
-Removed use of urllib.parse functions splithost, splitport, and splittype
deprecated in Python 3.8.
-Removed use of asynchat and asyncore deprecated in Python 3.10.
-The return value of the XML-RPC method supervisor.getAllConfigInfo() now
includes the directory, uid, and serverurl of the program.
-If a subprocess exits with a unexpected exit code (one not listed in
exitcodes= in a [program:x] section) then the exit will now be logged at
the WARN level instead of INFO.
-supervisorctl shutdown now shows an error message if an argument is given.
-File descriptors are now closed using the faster os.closerange() instead of
calling os.close() in a loop.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed a type annotations regression introduced in v6.0.2 under Python
versions <3.10. It was caused by importing certain types only available in
newer versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed#2038 (again): stop installing documentation files to top-level site-packages
CI: only run release workflows for upstream (#2052)
Tests: remove obsolete toml import from the test suite (#1978)
CI: bump Poetry 1.3.1 (#2058)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Feature
--------
Add support for Python 3.11 (#920) (e4146a1)
Other
-------
Exclude py3.11 on windows (#917) (c57e31c)
GitHub Actions add Python 3.11 to the testing (#916) (8d49551)
Add migration instructions for as_gray in new pillow plugin. (#913) (b3b040a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-When checking if a file mapping resolved to a file that exists, we weren't
considering files in .whl files. This is now fixed, closing issue 1511.
-File pattern rules were too strict, forbidding plus signs and curly braces
in directory and file names. This is now fixed, closing issue 1513.
-Unusual Unicode or control characters in source files could prevent reporting.
This is now fixed, closing issue 1512.
-The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing issue 1510.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Two new functions are added to the "asgiref.sync" module: "iscoroutinefunction()"
and "markcoroutinefunction()".
Python 3.12 deprecates "asyncio.iscoroutinefunction()" as an alias for
"inspect.iscoroutinefunction()", whilst also removing the "_is_coroutine" marker.
The latter is replaced with the "inspect.markcoroutinefunction" decorator.
The new "asgiref.sync" functions are compatibility shims for these
functions that can be used until Python 3.12 is the minimum supported
version.
**Note** that these functions are considered **beta**, and as such, whilst
not likely, are subject to change in a point release, until the final release
of Python 3.12. They are included in "asgiref" now so that they can be
adopted by Django 4.2, in preparation for support of Python 3.12.
* The "loop" argument to "asgiref.timeout.timeout" is deprecated. As per other
"asyncio" based APIs, the running event loop is used by default. Note that
"asyncio" provides timeout utilities from Python 3.11, and these should be
preferred where available.
* Support for the "ASGI_THREADS" environment variable, used by
"SyncToAsync", is removed. In general, a running event-loop is not
available to `asgiref` at import time, and so the default thread pool
executor cannot be configured. Protocol servers, or applications, should set
the default executor as required when configuring the event loop at
application startup.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Python 3.11 (including wheels)
Drop Python 3.5 support
License-Update: Copyright year updated to 2022
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed issue where server default compare would not work for string defaults
that contained backslashes, due to mis-rendering of these values when comparing
their contents.
-Implemented basic server default comparison for the Oracle backend; previously,
Oracle's formatting of reflected defaults prevented any matches from occurring.
-Adjusted SQLite's compare server default implementation to better handle
defaults with or without parens around them, from both the reflected and the
local metadata side.
-Adjusted SQL Server's compare server default implementation to better handle
defaults with or without parens around them, from both the reflected and the
local metadata side.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed#2007: settings for py3.11 (#2040)
Fixed#2038: packaging pypoetry (#2042)
Docs: renable portray (#2043)
Ci: add minimum GitHub token permissions for workflows (#1969)
Ci: general CI improvements (#2041)
Ci: add release workflow (#2026)
Hotfix #2034: isort --version is not accurate on 5.11.x releases (#2034)
Hotfix #2031: only call colorama.init if colorama is available (#2032)
Added official support for Python 3.11 (#1996, #2008, #2011)
Dropped support for Python 3.6 (#2019)
Fixed problematic tests (#2021, #2022)
Fixed#1960: Rich compatibility (#1961)
Fixed#1945, #1986: Python 4.0 upper bound dependency resolving issues
Fixed Pyodide CDN URL (#1991)
Docs: clarify description of use_parentheses (#1941)
Fixed#1976: black compatibility for .pyi files
Implemented #1683: magic trailing comma option (#1876)
Add missing space in unrecoverable exception message (#1933)
Fixed#1895: skip-gitignore: use allow list, not deny list
Fixed#1917: infinite loop for unmatched parenthesis (#1919)
Docs: shared profiles (#1896)
Fixed build-backend values in the example plugins (#1892)
Remove reference to jamescurtin/isort-action (#1885)
Split long cython import lines (#1931)
Update plone profile: copy of black, plus three settings. (#1926)
Fixed#1815, #1862: Add a command-line flag to sort all re-exports (#1863)
Fixed#1854: lines_before_imports appending lines after comments (#1861)
Remove redundant multi_line_output = 3 from "Compatibility with black" (#1858)
Add tox config example (#1856)
Docs: add examples for frozenset and tuple settings (#1822)
Docs: add multiple config documentation (#1850)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
WHL: Add win32 to build_wheels matrix (pull #1169)
BUG: Changed so that the setup.cfg depends on the version code in the __init__.py instead of the other way around (issuue #1155)
BUG: Fix CRS.to_cf() for Pole rotation GRIB convention (pull #1167)
BUG: Fix CRS.to_authority() memory leak (pull #1178)
REF: Use upper case EPSG code when creating CRS (pull #1162)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Correct timeout in call to poll.poll (#687)
Revert "Revert "Fix error with select when python process exceeds 1024 open file descriptors"" (#686)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
This release fixes several minor issues and adds support for several libcurl options.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Bump cibuildwheel to build for Python 3.11 + CI total time speedups
Fix tests that depended on external sites
Complete the Python 3.11 support
Drop CPython 3.6
Improve test compatibility with pytest
Update c-ares submodule to 1.18.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
feature
--------
[feature] [commands] Added new Alembic command alembic check. This performs the widely
requested feature of running an "autogenerate" comparison between the
current database and the MetaData that's currently set up for
autogenerate, returning an error code if the two do not match, based on
current autogenerate settings. Pull request courtesy Nathan Louie.
bug
-------
[bug] [tests] Fixed issue in tox.ini file where changes in the tox 4.0 series to the
format of "passenv" caused tox to not function correctly, in particular
raising an error as of tox 4.0.6.
[bug] [typing] Fixed typing issue where revision.process_revision_directives
was not fully typed; additionally ensured all Callable and Dict
arguments to EnvironmentContext.configure() include parameters in
the typing declaration.
Additionally updated the codebase for Mypy 0.990 compliance.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for the python bindings of the rapidjson library.
Signed-off-by: Roger Knecht <roger@norberthealth.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
---------
#789: Users can now set a default distribution mode in their configuration file:
Removals
--------
#842: Python 3.6 is no longer supported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New
----
- Basic support for listing, enabling and disabling decaying models.
- [tests] Test for local tags.
Changes
--------
- [types] added azure-application-id.
Fix
-----
- [describetypes] updated with the latest output from MISP.
- [types] added missing type value.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelogg:
============
Adding support for reported unknown devices (#680)
Add Chromecast Ultra and Chromecast HD to the recognised devices (#679)
Fix error with select when python process exceeds 1024 open file descriptors (#676)
Include URL and UUID in Home Assistant controller messages (#613)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[build] Wheels are now available for Python 3.11 (#932)
[documentation] HTML documentation builds are now tested for errors (#902)
[documentation] Fix typos here, and there (#910)
[fsevents2] The fsevents2 observer is now deprecated (#909)
[tests] The error message returned by musl libc for error code -1 is now allowed (#923)
[utils] Remove unnecessary code in dirsnapshot.py (#930)
[watchmedo] Handle shutdown events from SIGHUP (#912)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix media upload URI when API endpoint is overridden with client_opions.api_endpoint
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Copyright year updated to 2022
format of LICENSE changed
Changelog:
==========
New Features
-------------
Async clusters: Support creating locks inside async functions (#2471)
Bug Fixes
----------
Async: added 'blocking' argument to call lock method (#2454)
Added a replacement for the default cluster node in the event of failure. (#2463)
Fixed geosearch: Wrong number of arguments for geosearch command (#2464)
Maintenance
-----------
Updating dev dependencies (#2475)
Removing deprecated LGTM (#2473)
Added an explicit index name in RediSearch example (#2466)
Adding connection step to bloom filter examples (#2478)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>