Upgrade to version 5.3.3:
- Documentation improvements
- Update CI environment
License-Update: Update copyright years to 2024
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.2.1:
- Fixed missing typing_extensions dependency for Python 3.12
- Fixed deprecation warning in the test suite on Python 3.13
- Added support for specifying options for the pytest plugin via
pytest config files
- Avoid creating reference cycles when type checking unions
- Fixed Optional[...] being removed from the AST if it was located
within a subscript
- Fixed TypedDict from typing_extensions not being recognized as one
- Fixed typing types (dict[str, int], List[str], etc.) not passing
checks against type or Type
- Fixed detection of optional fields (NotRequired[...]) in
TypedDict when using forward references
- Fixed mapping checks against Django's MultiValueDict
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.0:
- **BREAKING** Added callback_api_version. This break *ALL* users
of paho-mqtt Client class. See migrations.md for details on how
to upgrade. tl; dr; add CallbackAPIVersion.VERSION1 to first
argument of Client()
- **BREAKING** Drop support for Python 2.7, Python 3.5 and Python
3.6. Minimum tested version is Python 3.7. Python version up to
Python 3.12 are tested.
- **BREAKING** connect_srv changed it signature to take an
additional bind_port parameter. This is a breaking change, but in
previous version connect_srv was broken anyway.
- **BREAKING** Remove some deprecated argument and method:
* ``max_packets`` argument in loop(), loop_write() and
loop_forever() is removed
* ``force`` argument in loop_stop() is removed
* method ``message_retry_set()`` is removed
- **BREAKING** Remove the base62, WebsocketWrapper and
ConnectionState, as user shouldn't directly use them.
- Possible breaking change: Add properties to access most Client
attribute. Since this add new properties like `logger`, if a
sub-class defined `logger`, the two `logger` will conflict.
- Add version 2 of user-callback which allow to access MQTTv5
reason code & properties that were missing from on_publish
callback. Also it's more consistent in parameter order or between
MQTTv3 and MQTTv5.
- Add types to Client class, which caused few change which should
be compatible. Known risk of breaking changes:
- Use enum for returned error code (like MQTT_ERR_SUCCESS). It
use an IntEnum which should be a drop-in replacement. Excepted
if someone is doing "rc is 0" instead of "rc == 0".
- reason in on_connect callback when using MQTTv5 is now always
a ReasonCode object. It used to possibly be an integer with the
value 132.
- MQTTMessage field "dup" and "retain" used to be integer with
value 0 and 1. They are now boolean.
- Add support for ALPN protocols on TLS connection.
- Add on_pre_connect() callback, which is called immediately before
a connection attempt is made.
- Fix subscribe.simple with MQTTv5.
- Use better name for thread started by loop_start.
- Fix possible bug during disconnection where self._sock is
unexpectedly None.
- Fix loading too weak TLS CA file but setting allowed ciphers
before loading CA.
- Allow to manually ack QoS > 0 messages.
- Improve tests & linters. Modernize build (drop setup.py, use
pyproject.toml)
- Fix is_connected property to correctly return False when
connection is lost and loop_start/loop_forever isn't used.
- Fix wait_for_publish that could hang with QoS == 0 message on
reconnection or publish during connection.
- Correctly mark connection as broken on SSL error and don't crash
loop_forever.
- Fix handling of MQTT v5.0 PUBREL messages with remaining length
not equal to 2.
- Raise error on ``subscribe()`` when `topic` is an empty list.
- Raise error on `publish.multiple()` when ``msgs`` is an empty
list.
- Don't add port to Host: header for websockets connections when
the port if the default port.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.3:
- Add match_range function
- Fix leap year (29 days in February)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 6.0.5:
- Upgraded the C-API macros that have been deprecated in Python 3.9
and later removed in 3.13
- Reverted to using the public argument parsing API
PyArg_ParseTupleAndKeywords() under Python 3.12.
- The effect is that this change prevents build failures with clang
16.9.6 and gcc-14. It also fixes a segmentation fault crash
caused by passing keyword arguments to MultiDict.getall().
- Fixed a SystemError: null argument to internal routine error on a
MultiDict.items().isdisjoint() call when using C Extensions.
- On the Contributing docs age, a link to the Towncrier philosophy
has been fixed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* attrs is in install_requires of setup.cfg in 3.9 branch
* python3-misc is required to include netrc which is imported in
aiohttp.helpers
Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.27.0:
- The app=... shortcut has been deprecated. Use the explicit style
of transport=httpx.WSGITransport() or transport=httpx.ASGITransport()
instead.
- Respect the http1 argument while configuring proxy transports.
- Fix RFC 2069 mode digest authentication.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.3.0:
- Added support for the Python 3.12 walk_up keyword argument in
anyio.Path.relative_to() (PR by Colin Taylor)
- Fixed passing total_tokens to anyio.CapacityLimiter() as a
keyword argument not working on the trio backend (#515)
- Fixed Process.aclose() not performing the minimum level of
necessary cleanup when cancelled. Previously:
- Cancellation of Process.aclose() could leak an orphan process
- Cancellation of run_process() could very briefly leak an orphan
process.
- Cancellation of Process.aclose() or run_process() on Trio could
leave standard streams unclosed
- Fixed Process.stdin.aclose(), Process.stdout.aclose(), and
Process.stderr.aclose() not including a checkpoint on asyncio
- Fixed documentation on how to provide your own typed attributes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python3-dbus package was removed in (dac933e). While the upstream
project isn't active, other distributions (e.g. Fedora, Debian, etc)
continue to offer the package and apply patches to resolve reported issues.
While other packages offer similar functionality (e.g. dasbus), they are not
drop in replacements and the general dbus functionality works out of the box.
The python package has accomplished it's goal of providing useful functionality,
and the proposal is to continue to have it available in meta-python for use.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-python-dateutil: respect inheritance on relativedelta.rsub
-Bump python-dateutil to 2.9.*
-Use PEP 570 syntax in third party stubs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-add settable info property
-Use PEP 570 syntax in third party stubs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix crash with fresh subprocess, if the build backend is setuptools
automatically enable fresh subprocesses for build backend calls
-Support enabling fresh subprocess for packaging build backends via fresh_subprocess
-Allow plugins attaching additional information to --version via
tox_append_version_info method in the plugin module
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Discard open OpenTelemetry spans after 10 minutes
-Propagate sentry-trace and baggage headers to Huey tasks
-Added Event type
-Improve scrub_dict typing
-Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311
-Allow to configure merge target for releases
-Allow empty character in metric tags values
-Replace invalid tag values with an empty string instead of _
-Add documentation comment to scrub_list
-Fixed regex to parse version in lambda package file
-xfail broken AWS Lambda tests for now
-Removed print statements because it messes with the tests
-Bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302
-Bump checkouts/data-schemas from eb941c2 to ed078ed]
-New integration: OpenAI integration
-Add recursive scrubbing to EventScrubber
-Expose socket_options
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-OAuth2Session now correctly uses the self.verify value if verify is not overridden in fetch_token and refresh_token.
-OAuth2Session constructor now uses its client.scope when a client is provided and scope is not overridden.
-Add refresh_token_request and access_token_request compliance hooks
-Add PKCE support and Auth0 example
-Add support for Python 3.8-3.12
-Remove support of Python 2.x, <3.7
-Migrated to Github Action
-Updated dependencies
-Cleanup some docs and examples
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix mem_max_rss measurement on macOS
-gh-174: Support free-threading CPython by disabling psutil related
features
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Solve transport close() as not inherited method.
-enable mypy --check-untyped-defs
-Add get_expected_response_length to transaction.
-Remove control encode in framersRemove control encode in framers.
-Bump codeql in CI to v3.
-Improve server types
-Remove pointless try/except
-Improve transport types
-Use explicit ValueError when called with incorrect function code
-update message tests (incorporate all old tests).
-Improve simulator type hints
-Cleanup dead resetFrame code
-integrate message.encode() into framer.buildPacket.
-Repair client close() (intern= is needed for ModbusProtocol).
-Updated Message_Parser example
-Fix #2069 use released repl from pypi
-Fix field encoding of Read File Record Response
-Improve simulator types
-Bump actions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix usage of AliasGenerator with computed_field decorator
-Fix nested discriminated union schema gen, pt 2
-Fix bug with no_strict_optional=True caused by API deferral
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix missing type store for overloads
-Fix 'WriteToConn' object has no attribute 'flush'
-Improve TypeAlias error messages
-Support narrowing unions that include type[None]
-Support TypedDict functional syntax as class base type
-Accept multiline quoted annotations
-Allow unary + in Literal
-Substitute type variables in return type of static methods
-Consider TypeVarTuple to be invariant
-Add alias support to field() in attrs plugin
-Improve attrs hashability detection
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Reexport arg_split on emscripten.
-back to dev
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Enable affinity_session_drain_test for cpp
-rm invalid assert
-Make C++ xDS Interop Client and Server Responsive to SIGTERM
-Fix readme
-Backport #35973: Make Bazel requirements installable directly via pip
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add api_version field to ServiceOptions in google/api/client.proto
-Add LOCATION_POLICY_VIOLATED enum to ErrorReason in google/api/error_reason.proto
-Add rest_reference_documentation_uri field to ServiceOptions in google/api/client.proto
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Regression from #438: check g.x_arg exists before accessing it
-Accept -x options for all db commands
-Add --purge flag to the stamp command
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Bump hexbytes dependency to >=1.0.0
-Add Python 3.12 support
-Add windows-wheel CI job for py312, set both py311 and py312 to use latest patch version
-Add py.typed file, move misplaced newsfragment, correct py version pins for typing-extensions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-During decoding, verify all pointers in arrays and tuples point to a valid location in the payload
-Fix memory leak warning in NodeVisitor and ABIRegistry
-Clear mypy misc-type errors and add top-level py.typed file back
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improve stand-alone XPath functions builder
-Update tokens and parsers __repr__
-Fix static typing protocols to work with etree and XSD elements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixed a regression in Django 5.0.2 where intcomma template filter could
return a leading comma for string representation of floats
-Fixed a bug in Django 5.0 that caused a crash of Signal.asend() and
asend_robust() when all receivers were asynchronous functions
-Fixed a regression in Django 5.0.1 where ModelAdmin.lookup_allowed() would
prevent filtering against foreign keys using lookups like __isnull when the
field was not included in ModelAdmin.list_filter
-Fixed a regression in Django 5.0 that caused a crash of @sensitive_variables
and @sensitive_post_parameters decorators on functions loaded from .pyc files
-Fixed a regression in Django 5.0 that caused a crash when reloading a test
database and a base queryset for a base manager used prefetch_related()
-Fixed a bug in Django 5.0 where facet filters in the admin would crash on a
SimpleListFilter using a queryset without primary keys
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Incorrect tag naming in readme
-Utilize PyPI's trusted publishing
-Bump sigstore/cosign-installer from 3.3.0 to 3.4.0
-Add 1.7.7 to versions of bug template
-Use datetime to avoid updating copyright year
-filter data is safe for tarfile extractall
-Bump docker/setup-buildx-action from 3.0.0 to 3.1.0
-[B605] Add functions that are vulnerable to shell injection
-Add a SARIF output formatter
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Allow register-python-argcomplete output to be used as lazy-loaded zsh completion module
-Move debug_stream initialization to helper method to allow fd 9 behavior to be overridden in subclasses
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Reuse the File, Config field, and file-related validators from flask-marshmallow
-Add support for a --quiet option to the flask spec command
-Fix the flask spec command for validators operating on complex data types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix issue with send_queue in WSGIResponder
-Remove unused imports and unnecessary code in WSGIResponder class
-Update dependencies
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There's no need to set PYPI_ARCHIVE_NAME and S explicitly if PYPI_PACKAGE
is set correctly.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* add Pending to .patch files where it was accidentally droped
with upgrades or modifications in:
f88e5b146e postgresql: upgrade 15.5 -> 16.2
c904e169db multipath-tools: upgrade 0.9.3 -> 0.9.8
105be9b3d9 unionfs-fuse: upgrade 2.2 --> 3.4
or new patches where the author didn't notice/care:
2a7f74cdb0 dropwatch: Use header files from sysroot instead of build host
f5cc9f272a yasm: improve reproducibility
39028d0d9d python3-pybind11: Restore strip prevention patch
authors of these added to CC, please be more careful with removing
or not adding these or enable patch-status in ERROR_QA for your
builds, see:
https://lists.openembedded.org/g/openembedded-core/topic/104922136#197113
* added with:
for p in `/OE/layers/openembedded-core/scripts/contrib/patchreview.py -v . | grep Missing.Upstream-Status.tag | sed 's/.*(//g;s/)$//g'`; do grep -q ^Upstream-Status: $p || sed -i "s/^---$/\nUpstream-Status: Pending\n---/g" $p; grep -q ^Upstream-Status: $p || sed -i "1iUpstream-Status: Pending\n" $p; done
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Due to the way we install ptests, some imports switch from
first party to third party. Update test expectations
Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
PyLint needs to be comapatible with Astroid. It was recently updated
to version 3.1.0, so follow suit with pylint.
Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This package is a pure-Python implementation of a WebSocket protocol stack. It’s written from the ground up to be embeddable in whatever program you choose to use, ensuring that you can communicate via WebSockets, as defined in RFC6455, regardless of your programming paradigm.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
Ptest result:
=============
qemux86-64:
Testsuite summary
TOTAL: 230
PASS: 230
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 18
END: /usr/lib/python3-wsproto/ptest
2024-03-08T19:45
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 230
PASS: 230
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 15
END: /usr/lib/python3-wsproto/ptest
2024-03-08T19:40
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Pure Python and only depend on the standard library.
Compared with other converters, the advantage is that a2wsgi will not accumulate the requested content or response content in the memory, so you don't have to worry about the memory limit caused by a2wsgi. This problem exists in converters implemented by uvicorn/startlette or hypercorn.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
Ptest result:
==============
qemux86-64:
Testsuite summary
TOTAL: 15
PASS: 15
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 22
END: /usr/lib/python3-a2wsgi/ptest
2024-03-08T18:58
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 15
PASS: 15
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 22
END: /usr/lib/python3-a2wsgi/ptest
2024-03-08T19:05
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A utility library for mocking out the requests Python library.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tomli-W is the write-only counterpart of Tomli, providing dump and dumps functions.
* When we fetch the package via PyPI there are missing files such as tests directory. So, we set PYPI_SRC_URI and fetch it from the github url.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
Ptest result:
==============
qemux86-64:
Testsuite summary
TOTAL: 265
PASS: 263
SKIP: 0
XFAIL: 2
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 15
END: /usr/lib/python3-tomli-w/ptest
2024-03-07T17:33
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 265
PASS: 263
SKIP: 0
XFAIL: 2
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 15
END: /usr/lib/python3-tomli-w/ptest
2024-03-07T17:25
STOP: ptest-runner
TOTAL: 1 FAIL: 0
XFAIL: tests/test_valid.py:test_valid[qa-array-inline-nested-1000] XFAIL reason: This much recursion is not supported
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Invoke is a Python library for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks. It draws inspiration from various sources (make/rake, Fabric 1.x, etc) to arrive at a powerful & clean feature set.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
icecream (ic) package offers a more concise and readable way to debug code by replacing print statements with simple function calls.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix compatibility with greenlet/gevent
-Fix query source relative filepath
-Support clickhouse-driver==0.2.7
-Bump checkouts/data-schemas from 6121fd3 to eb941c2
-Deprecate last_event_id().
-Warn if uWSGI is set up without proper thread support
-uWSGI has to be run in threaded mode for the SDK to run properly. If this is
not the case, the consequences could range from features not working
unexpectedly to uWSGI workers crashing.
Please make sure to run uWSGI with both --enable-threads and --py-call-uwsgi-fork-hooks.
-parsed_url can be None
-Python 3.7 is not supported anymore by Lambda, so removed it and added 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-py-scrypt-remove-the-hard-coded-include-paths.patch
refreshed for 0.8.24
Changelog:
==========
-Remove travis and appveyor
-Support building on MSYS2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Use env PDM_NO_EDITABLE as the default value for --no-editable option.
-Reset project.environment when importing from setup.py, to fix resolution error.
-Do not fetch package hashes when --frozen-lockfile is passed.
-Make sure non-venv interpreters are used by venv creator.
-Don't cause a hard failure if the local directory doesn't exist.
-Fix the default value for negative CLI flags.
-Auto-gen configuration reference documentation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- More compatibility with emscripten :ghpull:'14316', :ghpull:'14318',
- Test more downstream project to avoid breakage :ghpull:'14317'
- Fix recently introduced bug with the "store" magic.
- Fix issues with multiple call to "matplotlib.pyplot.switch_backend"
- Fix crashing IPython when some tracebacks encounter dynamically evaluated
code.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Add support for coloured logging.
-Add support for TOML configuration format.
-Add support for Clover XML output format.
-Add decision to JSON summary report if option --decisions is used.
-Add support for files with more than 9999 lines.
-Do not suppress gcov errors if exception occur.
-Add nox session to generate the screenshots from the HTML files.
-Improve Dockerfile for faster rebuilds by using cache.
-Fix deprecation warnings from GitHub actions.
-Add pipeline job to apply tag if new version is bumped.
-Improve test coverage and generate coverage report if executed in local environment.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-The Tudoor fix ate legitimate Truncated exceptions, preventing the resolver
from failing over to TCP and causing the query to timeout [#1053].
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed __hash__() of the C version of the CBORTag type crashing when there's a
recursive reference cycle
-Fixed type annotation for the file object in cbor2.dump(), cbor2.load(),
CBOREncoder and CBORDecoder to be IO[bytes] instead of BytesIO
-Worked around a CPython bug that caused a SystemError to be raised, or even a
buffer overflow to occur when decoding a long text string that contained only
ASCII characters
-Changed the return type annotations of cbor2.load() and cbor2.load() to return
Any instead of object so as not to force users to make type casts
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Include PEP 695 (Python 3.12) generic type syntax nodes in get_children(),
allowing checkers to visit them.
-Add __main__ as a possible inferred value for __name__ to improve
control flow inference around if __name__ == "__main__": guards.
-Following a deprecation period, the names arg to the Import constructor and
the op arg to the BoolOp constructor are now required, and the doc args
to the PartialFunction and Property constructors have been removed (call
postinit(doc_node=...) instead.)
-Following a deprecation announced in astroid 1.5.0, the alias
AstroidBuildingException is removed in favor of AstroidBuildingError.
-Include modname in AST warnings. Useful for invalid escape sequence warnings
with Python 3.12.
-RecursionError is now trapped and logged out as UserWarning during astroid node
transformations with instructions about raising the system recursion limit.
Suppress SyntaxWarning for invalid escape sequences on Python 3.12 when parsing modules.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Upstream provides a pyproject.toml which declares a flit_core.buildapi build backend instead of setuptools.
* Updated runtime dependencies.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_SLOW_META_PYTHON
* Upstream, excluded test/mypy_test_cases in the pyproject.toml file. More descriptively,
norecursedirs tells pytest where not to look and tests/mypy_test_cases already defined in it so has been removed from runtime.
df23ad0048/pyproject.toml (L89C61-L89C76)
License-Update: Removed license year
Ptest result:
==============
qemux86-64:
Testsuite summary
TOTAL: 1228
PASS: 1228
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 56
END: /usr/lib/python3-marshmallow/ptest
2024-03-06T05:33
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 1228
PASS: 1228
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 51
END: /usr/lib/python3-marshmallow/ptest
2024-03-06T05:28
STOP: ptest-runner
TOTAL: 1 FAIL: 0
=============
Changelog:
3.21.1 (2024-03-04)
Bug fixes:
Fix error message when field is declared as a class and not an instance (#2245). Thanks @travnick for reporting.
3.21.0 (2024-02-26)
Bug fixes:
Fix validation of URL fields to allow missing user field, per NWG RFC 3986 (#2232). Thanks @ddennerline3 for reporting and @deckar01 for the PR.
Other changes:
Backwards-incompatible: __version__, __parsed_version__, and __version_info__ attributes are deprecated (#2227). Use feature detection or importlib.metadata.version("marshmallow") instead.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a PEP 561 type stub package for the python-dateutil package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses python-dateutil.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Data updates
Updated tzdata version to 2024a.
Features
Made all dateutil submodules lazily imported using PEP 562. On Python 3.7+, things like import dateutil; dateutil.tz.gettz("America/New_York") will now work without explicitly importing dateutil.
tz, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier.
Bugfixes
Removed a call to datetime.utcfromtimestamp, which is deprecated as of Python 3.12.
Documentation changes
Added note into docs and tests where relativedelta would return last day of the month only if the same day on a different month resolves to a date that doesn't exist.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This typo resulted in the following error,
"ERROR: Nothing RPROVIDES 'nativesdk-python3-aiohappyeyeballs'"
Signed-off-by: Krupal Ka Patel <krkapate@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Ptest result:
Testsuite summary
TOTAL: 340
PASS: 339
SKIP: 1
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 28
* Tested on qemux86_64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON items
==============
Switch to the python_setuptools_build_meta backend
License-Update: License check file changed from LICENSE to LICENSE.rst
Changelog:
Release: 1.2.1
===============
Fixed:
Fix bad version 1.2.0 upload to PyPI – now yanked. No changes to the package.
Release: 1.2.0
===============
Added:
Add CLI tool subcommand to display Network information.
Changed:
Support running Interactive shell without IPython installed.
Fixed:
Explicitly raise TypeError is a non-string value is passed to valid_ipv4() or valid_ipv6().
Release: 1.1.0
===============
Added:
Add the required Python version to the package metadata (GH #365).
Add expand_partial_ipv4_address() to the public API.
Fixed:
Fix IPNetwork(...) in IPRange(...) false negatives (GH #157).
Fix a few IPNetwork slicing edge cases (GH #214).
Fix support for partial IP addresses accidentally left in IPNetwork in 1.0.0.
When I removed the implicit_prefix switch I missed the fact that there was some partial IPv4 address expansion triggered unconditionally.
If you need the old behavior use expand_partial_ipv4_address().
Related GH issue: #110.
Fixed an incorrect license classifier in the package metadata.
Release: 1.0.0
===============
Removed:
Drop support for Python versions lower than 3.7.
Remove the flag shorthands: N, P and Z. Use NOHOST, INET_PTON and ZEROFILL instead.
Remove abbreviated CIDR format support in IPNetwork (implicit_prefix=True), use cidr_abbrev_to_verbose() if you need this behavior.
Remove the IPAddress.is_private method.
There are more precise replacements for subset of the addresses that used to handled by is_private:
IPAddress.is_link_local()
IPAddress.is_ipv4_private_use()
IPAddress.is_ipv6_unique_local()
IPAddress.is_global()
The following address blocks used to be handled by is_private have no dedicated convenience methods and you’ll have to handle them manually or request a method addition:
100.64.0.0/10 – Shared Address Space
192.0.0.0/24 – IETF Protocol Assignments (watch out – there are exceptions in there)
198.18.0.0/15 – Benchmarking
239.0.0.0-239.255.255.255 – 240.0.0.0/4 is Reserved, 239.0.0.0/8 – unclear
Changed:
Stop accepting leading zeros when parsing IPv4 addresses in INET_PTON mode (it’s been allowed on some platforms).
If you need to allow and discard leading zeros use the ZEROFILL flag.
This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly.
Stop parsing IPv4 addresses permissively (inet_aton()-like) by default.
INET_PTON is the default mode.
If you need to be permissive and parse using inet_aton() semantics use the INET_ATON flag.
This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly.
Apply the two changes above to valid_ipv4() as well.
Update the address databases to the 2024-02-10 versions.
Fixed:
Return False instead of raising AddrFormatError when an empty string is passed to valid_ipv4() or valid_ipv6().
Fix handling of dialect provided to EUI during copy-construction.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bug Fixes:
Typo when setting the state for the pickle deserializer
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
ImportError while importing test module '/usr/lib/python3-pyzmq/ptest/tests/test_ssh.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_ssh.py:1: in <module>
from zmq.ssh.tunnel import select_random_ports
../../python3.12/site-packages/zmq/ssh/__init__.py:1: in <module>
from zmq.ssh.tunnel import *
../../python3.12/site-packages/zmq/ssh/tunnel.py:18: in <module>
from getpass import getpass, getuser
E ModuleNotFoundError: No module named 'getpass'
ERROR: tests/test_ssh.py:tests/test_ssh.py
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The patch which removed the pybind11_strip() call from provisioned
pybind11*Tools.cmake files was dropped in commit
5c455804ae ("python3-pybind11: Upgrade
to 2.10.3").
However this change delegated the requirement to set CMAKE_BUILD_TYPE
as 'Debug' or 'RelWithDebInfo' (or as unset) to the cmake utilizing
packages which have build time dependency on python3-pybind11, failure
to do which causes following kind of BitBake failure with Yocto:
ERROR: foobar-1.0.0-r0 do_package: QA Issue: File '/usr/lib/python3.11/site-packages/foobar.so' from foobar was already stripped, this will prevent future debugging! [already-stripped]
Restore the patch so that the stripping is delegated to Yocto once
more, allowing depending cmake packages to work out of the box also
when they use 'Release' or 'MinSizeRel' as CMAKE_BUILD_TYPE by
default.
Signed-off-by: Joonas Salonpää <joonas.salonpaa@vaisala.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch from setuptools3.bbclass to python_setuptools_build_meta.bblass
which reflects
https://github.com/pybind/pybind11/blob/v2.11.1/pyproject.toml#L3 and
mitigates following warning during do_compile:
.../python3-pybind11/2.11.1/recipe-sysroot-native/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
Here we also fix remaining minor style issue in task declarations
(use four space indentation instead of three).
Reported-by: Tim Orling <ticotimo@gmail.com>
Closes: https://lists.openembedded.org/g/openembedded-devel/message/108748
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Drop Python3.7 support
-Drop Python 3.7, and PyPy 3.7 and 3.8
-Use positional-only self in BaseModel constructor, so no field name can ever
conflict with it
-Make @validate_call return a function instead of a custom descriptor - fixes
binding issue with inheritance and adds self/cls argument to validation errors
-Exclude BaseModel docstring from JSON schema description
-Introducing classproperty decorator for model_computed_fields
-Explicitly raise an error if field names clashes with types
-Use stricter serializer for unions of simple types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The updated of python-3-pydantic requires python3-pydantic-core to be updated to version 2.16.1 or later.
Update the denpendencies for current python3-pydantic:
======================================================
Version up:
Bump ahash from 0.8.6 to 0.8.7
Bump base64 from 0.21.5 to 0.21.7
Bump form_urlencoded from 1.2.0 to 1.2.1
Bump allocator-api2 from 0.2.16 to
Bump hashbrown from 0.14.0 to 0.14.3
Bump idna from 0.4.0 to 0.5.0
Bump jiter from 0.0.4 to 0.0.6
Bump percent-encoding from 2.3.0 to 2.3.1
Bump proc-macro2 from 1.0.69 to 1.0.76
Bump pyo3 from 0.20.0 to 0.20.2
Bump pyo3-build-config from 0.20.0 to 0.20.2
Bump pyo3-ffi from 0.20.0 to 0.20.2
Bump pyo3-macros from 0.20.0 to 0.20.2
Bump pyo3-macros-backend from 0.20.0 to 0.20.2
Bump quote from 1.0.29 to 1.0.35
Bump serde from 1.0.190 to 1.0.195
Bump serde_derive from 1.0.190 to 1.0.195
Bump serde_json from 1.0.108 to 1.0.109
Bump smallvec from 1.11.1 to 1.11.2
Bump syn from 2.0.38 to 2.0.48
Bump url from 2.4.1 to 2.5.0
Bump uuid from 1.5.0 to 1.6.1
Bump zerocopy from 0.7.20 to 0.7.32
Bump zerocopy-derive from 0.7.20 to 0.7.32
New dependency:
allocator-api2
Changelog:
https://github.com/pydantic/pydantic-core/releases
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Only start metrics flusher thread on demand
-Bump checkouts/data-schemas from aa7058c to 6121fd3
-Turn off metrics for uWSGI
-Minor improvements
-test: Fix pytest error (#2712)
-build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129
-Fix uWSGI workers hanging
-Make metrics work with gevent
-Guard against engine.url being None
-Fix performance regression in sentry_sdk.utils._generate_installed_modules
-Guard against Sentry initialization mid SQLAlchemy cursor
-Fix yaml generation script
-Fix AWS Lambda workflow
-Bump codecov/codecov-action from 3 to 4
-Bump actions/cache from 3 to 4
-Bump actions/checkout from 3.1.0 to 4.1.1
-Bump github/codeql-action from 2 to 3
-Bump actions/setup-python from 4 to 5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Connection retry option in the client
-use Socket.IO sid in transport
-Add support for Python 3.12 and drop 3.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add preliminary support for Python 3.13 as of 3.13a3.
-Add support to use the pipe (|) syntax for typing.Union.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Drop support for Python 3.7.
-Add support for Python 3.12.
-Add typing to dirsnapshot (#1012)
-Added DirectorySnapshotDiff.ContextManager (#1011)
-FileSystemEvent, and subclasses, are now dataclass"es, and their "repr() has changed
-WinAPINativeEvent is now a dataclass, and its repr() has changed
-Log FileOpenedEvent, and FileClosedEvent, events in LoggingEventHandler
-Improve FileSystemEvent coverage
-Log all events in LoggerTrick
-The observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY hack was removed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Document usage of Pytest with Tox as a FAQ entry
-docs/config.rst: State in config directive sections their ini file sections
-.gitignore: Add /tests/demo_pkg_inline/.tox/
-docs/development: Summarise important points experienced devs need to know
-Add tests for CliEnv
-Document how CliEnv works
-docs/development "Key points": Two updates and general improvement
-session.env_select.CliEnv: Document and test spaces behaviour
-config.cli.test_cli_ini: Re-order for clarity (textual moves only)
-Revert previous "precommit autoupdate (#3214)" commit; it's broken
-Extract packaging virtualenv code to its own class
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Declare compatibility with pytest 8
-Fix typing errors with recent versions of mypy
-Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Update datastore_simulator example with client
-Test and correct receiving more than one packet
-Remove unused FifoTransactionManager.
-Always set exclusive serial port access.
-Add server/client network stub, to allow test of network packets.
-Combine conftest to a central file
-Call on_reconnect_callback.
-Readd ModbusBaseClient to external API.
-Update README.rst
-minor fix for typo and consistency
-More coverage.
-Client coverage 100%.
-Run coverage in CI with % check of coverage.
-transport 100% coverage.
-contrib example: TCP drainage simulator with two devices
-Remove "pragma no cover".
-transport_serial -> serialtransport.
-Fix behavior after Exception response
-Correct expected length for udp sync client.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix support for async cancellations.
-Fix trace extension when used with socks proxy.
-Fix SSL context for connections using the "wss" scheme
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is no longer maintained (since 2020) and is not compliant with python3-pytest_8.0.0+.
The only dependency in meta-python was the old version of python3-prettytable-ptest, which now
RDEPENDS upon python3-pytest-lazy-fixtures (with the s).
* Drop the recipe
* Drop it from packagegroup-meta-python
* Drop it from PTEST_PROBLEMS in ptest-packagelists-meta-python.inc
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add all tests/* to be more complete and also to help
pytest find the tests (previously, no test cases were
actually being run)
* Sort RDEPENDS alphabetically
* ptest now RDEPENDS on python3-pytest-lazy-fixtures (with the s)
instead of python3-pytest-lazy-fixture (without the s) because
of python3-pytest 8.0.0 compatability.
* Rearrange the recipe a bit
https://github.com/jazzband/prettytable/releases/tag/3.10.0
Added
* Add support for Python 3.13 (#281) @hugovk
Changed
* Speedup: lazy imports and remove import (#276) @hugovk
* Use GitHub Flavored Markdown for table formatting (#268) @mumblingMac
* Use flake8-errmsg for friendlier tracebacks (#254) @hugovk
* Replace Flake8 with Ruff (#278) @hugovk
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use your fixtures in @pytest.mark.parametrize.
This project was inspired by pytest-lazy-fixture.
Improvements that have been made in this project:
1. You can use fixtures in any data structures
2. You can access the attributes of fixtures
3. You can use functions in fixtures
* Dependency for python3-prettytable ptest.
(Not the same as python3-pytest-lazy-fixture without the s)
* Upstream does not package tests/ in the sdist on pypi, so
we do not try to enable ptest at this time (it would require
using git fetcher instead of pypi.bbclass).
* The ptest for the predecessor (python3-pytest-lazy-fixture
without the s) was already in PTEST_PROBLEMS, meaning its
ptests did not run cleanly.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python 2 is long unsupported, so we no longer need this variable.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a dependency for python3-meson-python.
This was missed in the earlier round of moving to oe-core.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
As part of the move of python_mesonpy.bbclass to oe-core.
python3-numpy in oe-core declares "mesonpy" as the build-backend in
pyproject.toml.
This is part of an overall move to replace usage of setuptools3.bbclass.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-_setuputils.py-Do-not-add-sys_inc_dir.patch
refreshed for 24.2.1
Changelog:
===========
-Add support for Python patch releases 3.11.8 and 3.12.2, which changed internal
details of threading.
-Errors raised from subprocess.Popen may not have a filename set.
-SSLSocket.recv_into and SSLSocket.read no longer require the buffer to
implement len and now work with buffers whose size is not 1.
-gh-108310: Fix CVE-2023-40217: Check for & avoid the ssl pre-close flaw.
-Drop setuptools to a soft test dependency.
-Drop support for very old versions of CFFI.
-Update bundled c-ares from 1.19.1 to 1.26.0.
-Locks created by gevent, but acquired from multiple different threads (not
recommended), no longer spin to implement timeouts and interruptible blocking.
Instead, they use the native functionality of the Python 3 lock.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Change the purpose of the evaluation with a dynamic schema context, that
is now used only for labeling tokens with XSD types
-The static evaluation is now performed also when a schema is provided to
the parser
-First tests with Python 3.13 pre-releases by adding a tox.ini testenv
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Reallowed, following a regression in Django 5.0.1, filtering against local
foreign keys not included in ModelAdmin.list_filter (#35087).
-Fixed a regression in Django 5.0 where links in the admin had an incorrect
color (#35121).
-Fixed a bug in Django 5.0 that caused a crash of Model.full_clean() on
models with a GeneratedField (#35127).
-Fixed a regression in Django 5.0 that caused a crash of FilteredRelation()
with querysets as right-hand sides (#35135). FilteredRelation() now raises
a ValueError on querysets as right-hand sides.
-Fixed a regression in Django 5.0 that caused a crash of the dumpdata
management command when a base queryset used prefetch_related() (#35159).
-Fixed a regression in Django 5.0 that caused the request_finished signal to
sometimes not be fired when running Django through an ASGI server, resulting
in potential resource leaks (#35059).
-Fixed a bug in Django 5.0 that caused a migration crash on MySQL when adding
a BinaryField, TextField, JSONField, or GeometryField with a db_default (#35162).
-Fixed a bug in Django 5.0 that caused a migration crash on models with a
literal db_default of a complex type such as dict instance of a JSONField.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-chore(deps): bump cmake from 3.27.9 to 3.28.1
-ci: group dependabot updates
-chore(deps): update pre-commit hooks
-chore(deps): bump the actions group with 1 update
-Update to OpenSSL 3.0.13
-chore(ci): use 4 threads to compile on GHA
-Update to CMake 3.28.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
slight modification to regex to enable small scaling factors that have scientific numbers in them
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2024
Changelog:
============
-Drop support for Python 3.7, which reached end of life on 2023-06-27, and take
advantage of features available in Python 3.8+.
-Remove FrozenOrderedBidict now that Python 3.7 is no longer supported.
-Remove namedbidict due to low usage.
-Remove the kv field of OnDup which specified the OnDupAction to take in the
case of Key and Value Duplication.
-Improve type hints for the inv shortcut alias for inverse.
-Fix a bug where calls like bidict(None), bi.update(False)
-All __init__(), update(), and related methods now handle SupportsKeysAndGetItem
objects that are not Mappings the same way that MutableMapping.update() does,
before falling back to handling the provided object as an iterable of pairs.
-The repr() of ordered bidicts now matches that of regular bidicts
-This tracks with the change to collections.OrderedDict's repr() in Python 3.12.
-Test with Python 3.12 in CI.
-Drop use of Trove classifiers that declare support for specific Python versions
in package metadata.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
#281 - Treat EffectStatus.NO_EFFECT the same as None
#262 - Allow a scene's palette to be absent
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hardcoding /usr/lib is always wrong, doesn't match with libdir e.g.
for multilib causing:
ERROR: QA Issue: python3-httpx: Files/directories were installed but not shipped in any package:
/usr/lib64
/usr/lib64/python3.12
/usr/lib64/python3.12/site-packages
/usr/lib64/python3.12/site-packages/httpx
...
/usr/lib64/python3.12/site-packages/httpx/__pycache__/__version__.cpython-312.pyc
/usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/entry_points.txt
/usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/WHEEL
/usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/METADATA
/usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/RECORD
/usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses
/usr/lib64/python3.12/site-packages/httpx-0.26.0.dist-info/licenses/LICENSE.md
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
python3-httpx: 63 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Sort all REDEPENDS alphabetically
* Drop trailing whitespace
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Fix some _ vs - errors
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Be careful to point pytest at the test.py file
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Be consistent with tabs vs. spaces in do_install_ptest
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This old run-ptest file was skipped when the recipe was dropped in:
620689d4ef python3-backports-functional-lru-cache: remove, not needed for Python 3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Boost is an optional dependency and it is only used in tests which are
disabled by default in this recipe.
References:
https://github.com/pybind/pybind11/blob/master/tests/CMakeLists.txt#L325
Moreover, the Boost is an enormously large and complex suite of utility
libraries that cost the filesystem memory footprint of Embedded devices.
Signed-off-by: Christian Ege <christian.ege@ifm.com>
Signed-off-by: Pratik Manvar <pratik.manvar@ifm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Verified successful test run using bitbake meta-python-image-ptest-python3-ujson on qemu86-64
291 passed in 9.08s.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Django 4.0.x is no longer supported since April 2023.
Upgrade to the latest 4.x LTS release.
Fixes CVEs:
CVE-2024-24680: Potential denial-of-service in intcomma template filter
CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator
CVE-2023-41164: Potential denial of service vulnerability in django.utils.encoding.uri_to_iri()
CVE-2023-36053: Potential regular expression denial of service vulnerability in EmailValidator/URLValidator
CVE-2023-31047: Potential bypass of validation when uploading multiple files using one form field
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for the pyyaml-include package that extends PyYAML to include
YAML files within YAML files. Add a ptest to run the unit tests and include
the tests as part of the package lists in meta-python
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Introduce cosmetic fixes to recipe file content based on oe-stylize.py
suggestions.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The repositorys LICENSE file contains BSD-3-Clause license text, so
update the relevant recipe information field to match.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Inheriting setuptools3 implies the inherit of python3native, so drop
the latter inherit as redundant.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update the HOMEPAGE value so that the URL points to the original
repository instead of a fork. By doing this we fix the mismatch
between HOMEPAGE and SRC_URI.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
ModuleNotFoundError: No module named 'json'
ModuleNotFoundError: No module named 'logging'
ModuleNotFoundError: No module named 'dataclasses'
ModuleNotFoundError: No module named 'zipfile'
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Radically simplified static file serving for Python web apps
With a couple of lines of config WhiteNoise allows your web app
to serve its own static files, making it a self-contained unit
that can be deployed anywhere without relying on nginx, Amazon S3
or any other external service.
https://whitenoise.readthedocs.io/en/latest/
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The next generation HTTP client. This recipe uses pypi as source:
https://pypi.org/project/httpx
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A minimal low-level HTTP client.
This recipe is currently provided without trio support, as the author
has no use for it and it would require to add a new python3-trio recipe.
This recipe uses pypi as source:
https://pypi.org/project/httpcore
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sniff out which async library your code is running under. This recipe
uses pypi as source:
https://pypi.org/project/sniffio/
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
High level compatibility layer for multiple asynchronous event loop
implementations.
This recipe is currently provided without trio support, as the author
has no use for it and it would require to add a new python3-trio recipe.
This recipe uses pypi as source:
https://pypi.org/project/anyio
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5. This recipe uses
pypi as source:
https://pypi.org/project/socksio
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream provides a pyproject.toml which declares a flit_core.buildapi build backend for PEP-517 packaging instead of setuptools. Also, RDEPENDS updated according to it.
Removed CLEANBROKEN because it is not necessary.
Changelog:
Version 3.0.1
Fix slow multipart parsing for large parts potentially enabling DoS attacks. CWE-407
Version 3.0.0
Remove previously deprecated code.
Deprecate the __version__ attribute. Use feature detection, or importlib.metadata.version("werkzeug"), instead.
generate_password_hash uses scrypt by default.
Add the "werkzeug.profiler" item to the WSGI environ dictionary passed to ProfilerMiddleware’s filename_format function. It contains the elapsed and time values for the profiled request.
Explicitly marked the PathConverter as non path isolating.
Version 2.3.8
Fix slow multipart parsing for large parts potentially enabling DoS attacks. CWE-407
Version 2.3.7
Use flit_core instead of setuptools as build backend.
Fix parsing of multipart bodies.
Adjust index of last newline in data start.
Parsing ints from header values strips spacing first.
Fix empty file streaming when testing.
Clearer error message when URL rule does not start with slash.
Accept q value can be a float without a decimal part.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
StrEnum is a Python enum.Enum that inherits from str to complement enum.IntEnum in the standard library
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Bugfixes
Handle new geth errors related to waiting for a transaction receipt while transactions are still being indexed
Improved Documentation
Remove annual user survey prompt from docs
Internal Changes
Create test fixture for latest geth version. Run tests with geth in --dev mode
Formatting updates for black==24.1.0
Add eth-tester version that supports eth_feeHistory
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A pure Python implementation of the Unicode normalization algorithm independent from the Python core Unicode database. This package supports version 15.1 of the Unicode standard (released in September 2023)
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==============
-Rename "master" git branch to "main"
-clear_untrusted_proxy_headers is set to True by default.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Correct type for jinja_loader property.
-Fix error with --extra-files and --exclude-patterns CLI options.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Drop support for Python 3.7
-Add uri and fragment options to dynamic context
-Make context root node not mandatory (issue #63)
-Add function objects constructor (issue #70)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix type of UnicodeDecodeError.object inferred as str instead of bytes.
-Fix no-member false positives for args and kwargs on ParamSpec under Python 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Breaking Changes
Drop support for python 3.7
Internal Changes - for eth-account Contributors
Change older % and .format strings to use f-strings
Merge template updates, notably use pre-commit for linting and change the name of the master branch to main
Removals
Remove deprecated signTransaction, it has been replaced by sign_transaction
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-pychromecast mentions casttube as a runtime dependency. Included is an initial
recipe as well.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Moved to hatchling as a build backend and requires hatch-fancy-pypi-readme, hatch-vcs.
As stated in the upstream, the license updated to MIT only.
Changelog: https://github.com/scikit-build/scikit-build/releases
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Leverage the github repo as src is not published in the latest pypi release
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update license checksum for 2024 and verify MIT license still applies
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This library is part of the Google Auth Library and simplifies the authentication and authorization processes by utilizing the OAuth protocol.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Bug fixes
Fixed backwards compatibility breakage (in 3.9.2) of ssl parameter when set outside
of ClientSession (e.g. directly in TCPConnector) -- by :user:Dreamsorcerer.
Miscellaneous internal changes
Improved test suite handling of paths and temp files to consistently use pathlib and pytest fixtures.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
janus is a python library providing a mixed sync-async queue to
interoperate between asyncio tasks and classic threads. This recipe uses
pypi as source:
https://pypi.org/project/janus/
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Updated RDEPENDS accordingly setup.cfg
Changelog:
Bug fixes
---------
- Fixed server-side websocket connection leak.
*Related issues and pull requests on GitHub:*
:issue:`7978`.
- Fixed ``web.FileResponse`` doing blocking I/O in the event loop.
*Related issues and pull requests on GitHub:*
:issue:`8012`.
- Fixed double compress when compression enabled and compressed file exists in server file responses.
*Related issues and pull requests on GitHub:*
:issue:`8014`.
- Added runtime type check for ``ClientSession`` ``timeout`` parameter.
*Related issues and pull requests on GitHub:*
:issue:`8021`.
- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon -- by :user:`pajod`.
Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
Invalid header field names containing question mark or slash are now rejected.
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.
*Related issues and pull requests on GitHub:*
:issue:`8074`.
- Improved validation of paths for static resources requests to the server -- by :user:`bdraco`.
*Related issues and pull requests on GitHub:*
:issue:`8079`.
Features
--------
- Added support for passing :py:data:`True` to ``ssl`` parameter in ``ClientSession`` while
deprecating :py:data:`None` -- by :user:`xiangyan99`.
*Related issues and pull requests on GitHub:*
:issue:`7698`.
Breaking changes
----------------
- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon -- by :user:`pajod`.
Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
Invalid header field names containing question mark or slash are now rejected.
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.
*Related issues and pull requests on GitHub:*
:issue:`8074`.
Improved documentation
----------------------
- Fixed examples of ``fallback_charset_resolver`` function in the :doc:`client_advanced` document. -- by :user:`henry0312`.
*Related issues and pull requests on GitHub:*
:issue:`7995`.
- The Sphinx setup was updated to avoid showing the empty
changelog draft section in the tagged release documentation
builds on Read The Docs -- by :user:`webknjaz`.
*Related issues and pull requests on GitHub:*
:issue:`8067`.
Packaging updates and notes for downstreams
-------------------------------------------
- The changelog categorization was made clearer. The
contributors can now mark their fragment files more
accurately -- by :user:`webknjaz`.
The new category tags are:
* ``bugfix``
* ``feature``
* ``deprecation``
* ``breaking`` (previously, ``removal``)
* ``doc``
* ``packaging``
* ``contrib``
* ``misc``
*Related issues and pull requests on GitHub:*
:issue:`8066`.
Contributor-facing changes
--------------------------
- Updated :ref:`contributing/Tests coverage <aiohttp-contributing>` section to show how we use ``codecov`` -- by :user:`Dreamsorcerer`.
*Related issues and pull requests on GitHub:*
:issue:`7916`.
- The changelog categorization was made clearer. The
contributors can now mark their fragment files more
accurately -- by :user:`webknjaz`.
The new category tags are:
* ``bugfix``
* ``feature``
* ``deprecation``
* ``breaking`` (previously, ``removal``)
* ``doc``
* ``packaging``
* ``contrib``
* ``misc``
*Related issues and pull requests on GitHub:*
:issue:`8066`.
Miscellaneous internal changes
------------------------------
- Replaced all ``tmpdir`` fixtures with ``tmp_path`` in test suite.
*Related issues and pull requests on GitHub:*
:issue:`3551`.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This library exists to allow connecting with Happy Eyeballs when you already have a list of addrinfo and not a DNS name
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
* Add support for Python 3.12 and PyPy 3.10
* Drop support for Python 3.5 and 3.6
* Fix typos (#565, #568)
* Use codecov for coverage instead of coveralls
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove a redundant checksum that changes with every release. Leverage the COPYING file instead
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed:
Get rid of some warnings
Deprecated:
Deprecate the flag shorthands: N, P and Z. Use NOHOST, INET_PTON and ZEROFILL instead.
Deprecate importing objects from netaddr subpackages. Only importing things from the top-level netaddr namespace is supported, everything else is considered private.
This has already been the case but we can use a reminder.
Deprecate permissive-by-default IPv4 parsing in valid_ipv4(). The inet_pton() semantics (with leading zeros always disallowed) will become the default. Use INET_ATON and/or ZEROFILL flags if you need the legacy behavior.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Upstream provides a pyproject.toml which declares the "python_setuptools_build_meta" backend for PEP-517 packaging.
use python_setuptools_build_meta since normal setuptools3 bbclass ends up in error -> ERROR: 'python3 setup.py bdist_wheel ' execution failed.
* Set PYPI_PACKAGE to "flask_marshmallow" because when downloading the archive error pops up. they use "_" instead of "-".
* Dependencies defined ["Flask>=2.2", "marshmallow>=3.0.0"] in pyproject.toml so "python3-packaging" removed.
License-Update: Copyright years change
Changelog:
=================================
1.1.0 (2024-01-16)
Features:
Add type coverage (:pr:`290`).
==================================
1.0.0 (2024-01-16)
Features:
Add field fields.File, validate.FileType, and validate.FileSize for deserializing uploaded files (:issue:`280`, :pr:`282`). Thanks :user:`uncle-lv` for the PR
Add field Config for serializing Flask configuration values (:issue:`280`, :pr:`281`). Thanks :user:`greyli` for the PR.
Support:
Support marshmallow-sqlalchemy>=0.29.0.
Test against Python 3.12.
Drop support for Python 3.7.
Other changes:
Backwards-incompatible: Remove `flask_marshmallow.__version__ and flask_marshmallow.__version_info__ attributes (:pr:`284`). Use feature detection or importlib.metadata.version("flask-marshmallow") instead.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix tox version requirement in docs
-Fix Tox failing with --installpkg and multi testenvs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Increase homeassistant lovelace connect timeout and make it configurable
-Add support for NRK TV and NRK Radio apps
-Change logged precision of volume from 1 to 2
-Create ShakaPlayer Controller
-Add date for removal of deprecated discovery functions
-Mark discover_chromecasts as deprecated
-Update README.rst
-Fix known_hosts for older chromecasts
-Fix SSLContext settings
-Update README.rst to reflect refactoring of cast.device to cast.cast_info
-Fix deprecated call to ssl.SSLContext without specifying protocol
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix timestamp in transaction created by OTel
-Fix relative path in DB query source
-Run more CI checks on 2.0 branch
-Fix tracing TypeError for static and class methods
-Fix missing ctx in Arq integration
-Change data_category from check_in to monitor
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* Fix some implicit function declarations and other compiler warnings
in the tests.
* Remove some unused code.
* Update the README to describe the module's current status.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Correct type for path argument to send_file.
-Fix a typo in an error message for the flask run --key option.
-Session data is untagged without relying on the built-in json.loads object_hook.
-Address more type findings when using mypy strict mode.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fix security issue in the wsgi module related to RFC 9112
* Fix segfault, a new approach for greening existing locks
* greendns: fix getaddrinfo parameter name
* Fix deprecation warning on ssl.PROTOCOL_TLS
* Pytests, fix error at teardown of TestGreenSocket.test_full_duplex
* Skip test which uses Py cgi module
* Drop old code based on python < 3.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Drop python 3.7 support
-Merge updates from the project template, notably: use pre-commit for linting
and change the name of the master branch to main
-Correct booleans in pyproject.toml and add test for the presence of the
eth_utils.__version__ attribute
-Some users were experiencing encoding issues when parsing the networks
json. Use UTF-8 explicitly.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Drop python 3.7 support
-Merge updates from the project template, notably: use pre-commit for linting
and change the name of the master branch to main
-Fixed booleans in pyproject.toml and added a test for the presence of the
eth_typing.__version__ attribute
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Drop python 3.7 support
-Merge updates from the project template, notably, use pre-commit for linting
and change the name of the master branch to main
-Corrected format of booleans in pyproject.toml and added a test for the
presence of the eth_abi.__version__ attribute
-Add build.os section to readthedocs build settings
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Reallowed, following a regression in Django 5.0, using a foreign key to a model
with a primary key that is not AutoField in ModelAdmin.list_filter
-Fixed a long standing bug in handling the RETURNING INTO clause that caused a
crash when creating a model instance with a GeneratedField which output_field
had backend-specific converters
-Fixed a regression in Django 5.0 that caused a crash of Model.save() for models
with both GeneratedField and ForeignKey fields
-Fixed a bug in Django 5.0 that caused a migration crash on Oracle < 23c when
adding a GeneratedField with output_field=BooleanField
-Fixed a regression in Django 5.0 where admin fields on the same line could
overflow the page and become non-interactive
-Added compatibility for oracledb 2.0.0
-Fixed a regression in Django 5.0 where querysets referenced incorrect field
names from FilteredRelation()
-Fixed a regression in Django 5.0 that caused a system check crash when
ModelAdmin.filter_horizontal or filter_vertical contained a reverse
many-to-many relation with related_name
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
* The Beautiful Soup documentation now has a Spanish translation
* Fixed a regression such that if you set .hidden on a tag
* Fixed a case where html.parser giving up on
markup would result in an AssertionError instead of a
ParserRejectedMarkup exception.
* Added the correct stacklevel to instances of the XMLParsedAsHTMLWarning.
* Corrected the syntax of the license definition in pyproject.toml.
* Corrected a typo in a test that was causing test failures when run against
libxml2 2.12.1.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Added absl.flags.override_value function to provide FlagHolder with a construct
to modify values.
-Added a new method absltest.TestCase.assertDataclassEqual that tests equality
of dataclass.dataclass objects with better error messages when the assert fails.
-absl.flags.argparse_flags.ArgumentParser now correctly inherits an empty
instance of FlagValues to ensure that absl flags, such as --flagfile, --undefok
are supported.
-Do not exit 5 if tests were skipped on Python 3.12. This follows the CPython
change in python/cpython#113856.
-The flag foo no longer retains the value bar after FLAGS.foo = bar fails due to
a validation error.
-Fixed an issue caused by this Python 3.12.1 change where the test reporter
crashes when all tests are skipped.
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:
===========
-Drop python 3.6 and 3.7 support
-Add python 3.11 support
-Merge template updates, notably using pre-commit for linting and change the name of the master branch to main
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add missing runtime dependency on pytest-cov
and move the test to PTESTS_FAST_META_PYTHON since it takes < 20 seconds
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The needed fixes are in master branch and one more fix it still in a
pull request, bring them all in until 6.0.5 is released
Signed-off-by: Khem Raj <raj.khem@gmail.com>
10.1 tag SRCREV certainly does not exist on 10.0 branch so point it to main
branch
Drop one of two SRCREV settings which was wrong.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Leon Anavi <leon.anavi@konsulko.com>
python3-pytest-cov is a plugin of python3-pytest adding test coverage
feature. It does not seem to do anything useful by itself.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To build python3-pytest-cov-native we need python3-coverage-native.
To build nativesdk-python3-pytest-cov we need nativesdk-python3-coverage.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Updated license checksum for copyright year and verified MIT still applies
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Convert recipe to pypi
Update license checksum for copyright year and verify MIT still applies
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.3.0:
- core-providers (audio): removes deprecated status property
- core-providers (audio): removes deprecated filename property
- core-providers (window): Removes deprecated toggle_fullscreen
method
- Add graphics with antialiasing: SmoothRectangle, SmoothEllipse,
SmoothRoundedRectangle, SmoothQuad and SmoothTriangle
- Linux dependencies: Build libpng16 for freetype so can render
colored emoji
- Remove the extra position added to undo list while using Shift
key
- macOS dependencies: Build libpng16 for freetype, so can render
colored emoji
- Honour multiline=True/False while pasting, Fix Scroll after
backspace and undo.
- Added spanish layout json for the vkeyboard
- Pillow text provider: use get_bbox when get_size is not
available. Allows latest versions of pillow to work along with
older ones.
License-Update: Copyright year changes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.1.2:
- Fix SelectMultipleField value coercion on validation.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 8.4.0:
- Add a new class attribute, empty_value to DelimitedList and
DelimitedTuple, with a default of "". This controls the value
deserialized when an empty string is seen.
- The rule for default argument names has been made configurable
by overriding the get_default_arg_name method. This is described
in the argument passing documentation.
- Drop support for Python 3.7, which is EOL.
- Type annotations for FlaskParser have been improved.
License-Update: Copyright year changes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixes a bug that caused event loops to be closed prematurely when using async
generator fixtures with class scope or wider in a function-scoped test
-Fixes various bugs that caused an internal pytest error during test collection
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for *T (TypeVarTuple) and **P (ParamSpec) in PEP 695 annotations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix a KeyError raised when resolving a URL dependency without package name given.
-pdm update --update-eager can hit InconsistentCandidate error when dependency
is included both through default dependencies and extra.
-pdm install should not warn when overwriting its own symlinks on install/update.
-Fix a bug that candidates without local version are rejected when the local
version is pinned.
-Add maturin as a compatible build backend in the docs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* optimize initialization from strings by not constantly resizing buffer
* optimize 'util.hex2ba()' and 'util.base2ba()' by avoiding unnecessary
copies
* optimize 'util.base2ba()' and 'util.ba2base()' for 'n=16' (hexadecimal)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Switch to aiohttp.web.AppKey, and deprecate the old 'static_root_url' key.
-Drop Python 3.7, add Python 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixes line search issue in solvers.cp() solvers.cpl()
License-Update:
CVXOPT version updated to 1.3
Copyright updated to 2023
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
===============
-update feature emphasis in README
-cleanup/enhance README
-fix outdated examples
-fix README (PyPI-friendly ReST)
Changelog:
============
-The typing hints introspection feature is automatically enabled for any command
(function) which does not have any arguments specified via @arg decorator.
-A small change in the legacy argument mapping policy BY_NAME_IF_HAS_DEFAULT
concerning the order of variadic positional vs. keyword-only arguments.
-Removed the previously deprecated decorator @expects_obj.
-Type hints: basic usage to infer argument types (fixes#203)
-Support realtime output through a pipe (fixes#145)
-High-level functions argh.dispatch_command() and argh.dispatch_commands()
-now accept a new parameter old_name_mapping_policy.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
regression_distutil_import_error_73 seems to fail starting 3.0.3 perhaps
due to dependency upgrade e.g. astroid or some such. Remove it from run
for now.
Match the run command to whats in github actions.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
wheel contains site-package .so named linux-musl which is not loadable
on musl systems, rename it to linux-gnu even on musl like other python
dynamic modules.
This fixed ptest runs for both pydantic-core and pydantic recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
As reported by "pip3 check" python3-pytest-cov depends on
python3-coverage:
$ pip3 check
pytest-cov 4.1.0 requires coverage, which is not installed.
This patch fixes this problem by adding python3-coverage to RDEPENDS
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Remove previously deprecated code.
-Deprecate the __version__ attribute. Use feature detection,
or importlib.metadata.version("flask"), instead.
-Restructure the code such that the Flask (app) and Blueprint classes have
Sans-IO bases.
-Allow self as an argument to url_for.
-Require Werkzeug >= 3.0.0.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Not compatible with python 3.12; dead upstream (no activity since 2020).
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No activity in over a year, and depends on oslash, which has had no activity since 2020.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Last release in 2014, not compatible with python 3.12.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Switch to the python_setuptools_build_meta PEP-517 backend
* Refactor and submit 0001-Fix-imports-for-ptests.patch
- split out the Windows -> Unix line endings conversion
- https://github.com/sumerc/yappi/pull/164
* Drop 0002-add-3.11-to-the-setup.patch; upstream added 3.11 and 3.12
* Drop install of yappi.py in ptest; use site-packages as intended
* Drop complex run-ptest and simply run 'pytest --automake'
* Move out of "problems" group to "slow" group in ptest-packageslists-meta-python.inc
- can now build meta-python-image-ptest-python3-yappi
- tests take about 45 seconds
https://github.com/sumerc/yappi/blob/1.6.0/CHANGELOG
1.6.0 (2023-12-07)
- Drop support 2.7-3.5 and clean backward compatible code (pull/152)
- Add Python 3.12 wheels
1.5.1 (2023-12-06)
- Add support for Python 3.12
- Fix child callgrind functions disappear
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Allowing inheritance of GreenSSLSocket without overriding the __new_ method
* [bug] Fix broken API related to '__version__' removal
* [doc] Fix pypi broken link
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Refactor distro.info() method to return an InfoDict
-Ignore the file '/etc/board-release'
-Ignore the file '/etc/ec2_version'
-Run Python 3.6 on Ubuntu 20.04 for CI and bump isort
-Test on modern versions of CPython and PyPy and macOS
-Add support for ALT Linux Server 10.1 distribution
-Add Debian Testing to the tests
-Update archlinux resource for tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-Cannot get release notification action in main.yml to work. Commenting it out for now.
-Fixed invalid main.yml.
-The escape function no longer escapes \x00. It's not necessary.
-Inline flags can now be turned off and apply to what follows.
-Added \R to match line endings.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Add support for Python 3.9 through 3.12, drop support for 3.7
-Removal of dependency on six module
-Raise explicit exception when deserializing a vector with a subtype that
isn’t a constant size
-Remove outdated Python pre-3.7 references
-Remove backup(.bak) files
-Fix doc typo in add_callbacks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-* avoid buffer being unnecessarily initialized with 0s in several
functions of the 'bitarray.util' module
-* fix '.count()' type hint in pyi-file
-* improve testing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
- Fix conversion of deprecated flag on parameters
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Delete upstreamed patch for off_t
Rebase the other patches on the latest version
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This allows build with python 3.12.
Signed-off-by: Ny Antra Ranaivoarison <nyantra.ranaivoarison@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove patch 0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
that was incorporated upstream and released in 4.25.1
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Updated the license file and verified terms remained the same
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
fix(wheels): link libstdc++ statically on manylinux1 by @mayeut in #159
chore(wheels): link libstdc++/libgcc statically on musllinux by @mayeut in #160
chore: add Windows ARM support by @henryiii in #169
chore: continue testing with python 2.7 by @mayeut in #199
chore: move to setuptools_scm by @henryiii in #170
chore: switch to ruff by @henryiii in #174
chore: use trusted publisher deployment by @jcfr in #191
chore: use wheel tags cli by @mayeut in #84
ci: allow setting a version by @henryiii in #171
ci: cancel on repeated pushes by @henryiii in #177
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add to ptest-packelists-meta-python.inc "FAST" under 30 s
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Dependency for python3-pydantic ptests.
"""
cloudpickle makes it possible to serialize Python constructs not
supported by the default pickle module from the Python standard
library.
cloudpickle is especially useful for cluster computing where Python
code is shipped over the network to execute on remote hosts, possibly
close to the data.
"""
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Dependency for python3-pydantic-core ptests.
"""
dirty-equals is a python library that (mis)uses the __eq__ method to make
python code (generally unit tests) more declarative and therefore easier
to read and write.
dirty-equals can be used in whatever context you like, but it comes into
its own when writing unit tests for applications where you're commonly
checking the response to API calls and the contents of a database.
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Newer python3-pydantic offloaded some of its code to python3-pydantic-core
* Add python3-annotated-types to RDEPENDS.
* Add DESCRIPTION and trim SUMMARY.
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Run-time dependency for python3-pydantic
"""
PEP-593 added typing.Annotated as a way of adding context-specific
metadata to existing types, and specifies that Annotated[T, x] should
be treated as T by any tool or library without special logic for x.
This package provides metadata objects which can be used to represent
common constraints such as upper and lower bounds on scalar values and
collection sizes, a Predicate marker for runtime checks, and descriptions
of how we intend these metadata to be interpreted. In some cases, we also
note alternative representations which do not require this package.
"""
References:
https://peps.python.org/pep-0593/
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Runtime dependency for current python3-pydantic
This package provides the core functionality for pydantic validation and serialization.
Pydantic-core is currently around 17x faster than pydantic V1. See tests/benchmarks/ for details.
https://github.com/pydantic/pydantic-core/tree/v2.14.5/tests/benchmarks
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
* Avoid duplicate inference results for some uses of typing.X constructs like Tuple[Optional[int], ...].
This was causing pylint to occasionally omit messages like deprecated-typing-alias.
Closespylint-dev/pylint#9220
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.0.0:
- repr() now returns an evaluatable string, like
MyRLPObj(my_int_field=1, my_str_field="a_str")
- Convert .format strings to f-strings
- Add autoflake linting and move config to pyproject.toml
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.9.0:
- Modernize setuptools support to use pyproject.toml
- Remove brittle test
Remove fix-ptests.patch as the issue has been solved upstream.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.130.0:
- Make ServiceInfo aware of question history
- Small speed up to ServiceInfo construction
- Significantly improve efficiency of the ServiceBrowser scheduler
- Small speed up to processing incoming records
- Small performance improvement for converting time
- Small performance improvement for ServiceInfo asking questions
- Small performance improvement constructing outgoing questions
- Scheduling race with the QueryScheduler
- Ensure question history suppresses duplicates
- Microsecond precision loss in the query handler
- Ensure IPv6 scoped address construction uses the string cache
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.11.1:
- Improved interface generator handling of multiple uppercase
letters sequences.
- Improved python formatting generated by interface code generator.
- Added option --block to generate blocking interface code.
- Fixed docstrings still being present even if python was
configured with --without-doc-strings.
- Fixed interface generator crashing when a rare write-only
property is encountered.
- Fixed async interfaces iterating over all members during
initialization.
- Fixed TypeError: Dbus type '\x00' is unknown being raised when
trying to read from a message more than one time.
- Fixed missing class body when generating code for interface
without members.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.7.0:
- Backward compatibility fix
- Update project and CI
- Update models for updated schema and new resource types
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.12.1:
- Addition of type hints.
- Fixes the previous release not shipping the py.typed file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 7.3.3:
- Fix: function definitions with multi-line signatures can now be
excluded by matching any of the lines.
- Fix: XML reports could fail with a TypeError if files had numeric
components that were duplicates except for leading zeroes, like
file1.py and file001.py.
- The coverage annotate command used to announce that it would be
removed in a future version. Enough people got in touch to say
that they use it, so it will stay. Don't expect it to keep up
with other new features though.
- Added new debug options <cmd_run_debug>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.9.4:
- Started raising :py:exc:TypeError when a string value is passed
into :py:meth:~yarl.URL.build as the port argument -- by
:user:commonism
- The leading -- has been dropped from the :pep:517 in-tree build
backend config setting names. --pure-python is now just pure-python
- A step-by-step :doc:Release Guide <contributing/release_guide>
guide has been added, describing how to release yarl
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.4.1:
- Declared Python 3.12 and PyPy 3.8-3.10 supported officially in
the distribution package metadata.
- Replaced the packaging is replaced from an old-fashioned
:file:setup.py to an in-tree :pep:517 build backend
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is needed for python 3.12 compatibility.
Drop 0001-direct_mmap-Use-off_t-on-linux.patch as
issue resolved upstream.
Other dropped patches are all due to the code being significantly refactored upstream;
if the issues persist, please write updated patches.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The source contains:
from distutils.version import LooseVersion
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's still used in source tree:
src/M2Crypto/__init__.py: from distutils.version import StrictVersion as Version
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Both homepage and downloads are gone, last release in 2016,
still relies on distutils which is no longer available in python core as of 3.12.
https://pypi.org/project/python-uinput/
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's not mentioned anywhere in source code, and python 3.12
has removed it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's not mentioned anywhere in source code, and python 3.12
has removed it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's not mentioned anywhere in source code, and python 3.12
has removed it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There hasn't been a release in years, and python 3.12 is no longer
compatible as it has removed the smtpd module.
https://github.com/seb-m/pyinotify
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Re-expose ServiceInfo._set_properties for backwards compat
-Correct nsec record writing
-Timestamps missing double precision
-Match cython version for dev deps to build deps
-Correct handling of IPv6 addresses with scope_id in ServiceInfo
-Speed up unpacking TXT record data in ServiceInfo
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Renamed 'mask' variable in ABNF to prevent name collision with 'mask()' function
- Fixed old http import of HTTPStatus in _handshake.py
- Add 'send_text()' and 'send_bytes()' to _app.py
- Improved typehint support
- General readability improvements, made all string concatenations use f-strings
- Applied black formatting style to code
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Make downloadable versions of docs available in pdf, htmlzip, and epub formats
-Add 2023 user survey fine art banner in the docs
-Polish the community resources docs page
-Implement createAccessList RPC endpoint to create an EIP-2930 access list.
-Run flaky eth-tester tests on CI
-Pin pytest-asyncio dependency to <0.23
-Fix collision of w3 variable when initializing contract with function of the same name
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed false positive for unnecessary-lambda when the call has keyword
arguments but not the lambda.
-Fixed incorrect suggestion for shallow copy in unnecessary-comprehension
-Fix false positives for undefined-variable and unused-argument for
classes and functions using Python 3.12 generic type syntax.
-Fixed pointless-string-statement false positive for docstrings
on Python 3.12 type aliases.
-Fix false positive for invalid-exception-operation when concatenating tuples
of exception types.
-Fix a bug where pylint was unable to walk recursively through a directory if
the directory has an __init__.py file.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Added the denoise option to convert floats to int without numerical noise
-Support for Python 3.12
-The changelog now only explictly exists in the repository
License-Update: Copyright year updated to 2023
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Drop python 3.7 support
-Add python 3.11 support
-Merge updates from template, including use pre-commit for linting, and
changing the name of the master branch to main
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-Update:
Copyright year updated to 2023.
Changelog:
============
-Use correct default parameters for scrypt
-Drop python 3.7 support
-Checksum address when creating a keyfile
-Merge project template updates, including using pre-commit for linting.
Add typing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* speedup unaligned copies by always using word shifts (in combination
with builtin byte swap 64 when available) when bit-endianness and
machine byte-order are opposite
* add 'HAVE_BUILTIN_BSWAP64' to header
* avoid misaligned pointers when casting to '(uint64_t *)'
* add tests
* simplify 'copy_n()' (remove special cases), see #d2d6fd53
* add [word shift example C program](../examples/shift_r8.c),
and simplify 'shift_r8()'
* improve documentation and testing
* add [roadmap](https://github.com/ilanschnell/bitarray#roadmap)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add support for cluster clients from Redis SDK
-Improve location reporting for timer metrics
-Fix Celery TypeError with no-argument apply_async
-Fix Lambda integration with EventBridge source
-Add max tries to Spotlight
-Handle os.path.devnull access issues
-Change code.filepath frame picking logic
-Trigger AWS Lambda tests on label
-Run permissions step on pull_request_target but not push
-Hash AWS Lambda test functions based on current revision
-Update Django version in tests
-Make metrics tests non-flaky
-Various fixes & improvements
-Only add trace context to checkins and do not run event_processors for checkins
-Metric span summaries
-Add source context to code locations
-Use in-app filepath instead of absolute path
-Switch to jinja2 for generating CI yamls
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixes a bug that caused an internal pytest error when collecting .txt files
-Fixes a bug that caused an internal pytest error when using module-level skips
-This release is backwards-compatible with v0.21. Changes are non-breaking,
unless you upgrade from v0.22.
-BREAKING: The asyncio_event_loop mark has been removed. Event loops with class,
module, package, and session scopes can be requested via the scope keyword
argument to the _asyncio_ mark.
-Introduces the event_loop_policy fixture which allows testing with non-default
or multiple event loops
-Introduces pytest_asyncio.is_async_test which returns whether a test item is
managed by pytest-asyncio
-Removes and pytest-trio, mypy, and flaky from the test dependencies
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Update changelog for 4.0.0
-docs: fix Linux user_log_dir example in README
-Drop support for EOL Python 3.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixed integration tests
-Fixed normalizing imports from more than one level of parent modules
-Remove optional dependencies without extras
-Cleanup deprecated extras
-Fixed #1989: settings lookup when working in stream based mode
-Fixed 80 line length for wemake linter
-Add support for Python 3.12 75
-Fixed: add newest version to pre-commit docs
-Fixed assertions in test_git_hook
-Removed check for include_trailing_comma for the Hanging Indent wrap mode
-Use the standard library tomllib on sufficiently new python
-Update pre-commit.md version number
-doc: Update black_compatibility.md
-Fixed safety sept 2023
-docs: fix black profile documentation
-Fixed typo: indended -> indented
-Docs(configuration/options.md): fix missing trailing spaces for hard linebreak
-Update pre-commit.md
-chore: move configurations to pyproject.toml
-Fixed typo in README
-Update version in pre-commit setup to avoid installation issue with poetry
-Skip .pytype directory by default.
-Fixed a tip block styling in the Config Files section
-Do not cache configuration files
-Derive settings_path from --filename
-Fixed year of version 5.12.0 in CHANGELOG.md
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Replace mktemp with mkstemp when caching to disk for legacy plugins
-Fix grammar in ImportError
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix user cred universe domain issue
-Fix vm universe_domain bug
-Add custom tls signer for ECP Provider.
-Add custom tls signer for ECP Provider.
-Add with_universe_domain
-Fixes issue where Python37DeprecationWarning cannot be filtered
-Remove broken link in Python37DeprecationWarning
-Add support for Python 3.12
-Add universe domain support for VM cred
-Modify the token refresh window
-Add missing before request to async oauth2 credentials.
-Auto create self signed jwt cred
-Migrate datetime.utcnow for python 3.12
-Update user cred doc
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add auto_populated_fields field of MethodSettings in google/api/client_pb2
-Add support for Python 3.12
-Migrate to native namespace packages
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add support for Python 3.12
-Add type annotations to wrapped grpc calls
-Add universe_domain argument to ClientOptions
-Introduce compatibility with native namespace packages
-Fix regression in bidi causing Thread-ConsumeBidirectionalStream caught
unexpected exception and will exit
-Replace deprecated datetime.datetime.utcnow()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* Fixing werkzeug 3 deprecated version import. Import is replaced by new style version check with importlib
* Fixing flask 3.0+ compatibility of 'ModuleNotFoundError: No module named 'flask.scaffold'' Import error.
* Fix wrong status code and message on responses when handling 'HTTPExceptions'
* Add flask 2 and flask 3 to testing matrix.
* Update internally pinned pytest-flask to 1.3.0 for Flask >=3.0.0 support.
* Python 3.12 support.
* Fix wrong status code and message on responses when handling HTTPExceptions.
* Update changelog Flask version table.
* Remove temporary package version restrictions for flask < 3.0.0, werkzeug and jsonschema
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Speed up message callbacks
-Speed up run time constructed method handlers
-Speed up ServiceInterface callbacks with cython methods
-Small speed up to the aio message reader
-Reduce duplicate code in aio MessageBus
-Speed up sending messages with call on the MessageBus
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Allow explicit zsh global completion activation
-Fix and test global completion in zsh
-Add -yes option to activate-global-python-argcomplete
-Test suite improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
NOTE: License changed from MIT -> MPL-2.0 in version 4.0.3
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update license file checksum and verified the terms are the same
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The 2.5.1 release is not comptabile with python3-sqlalchemy 2.0.23 which
is currently provided by meta-openembedded. This results in the
following error:
root@host:~# python3
Python 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from flask_sqlalchemy import SQLAlchemy
>>> from flask import Flask
>>> app = Flask('foobar')
>>> app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db'
>>> db = SQLAlchemy(app)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py", line 758, in __init__
_include_sqlalchemy(self, query_class)
File "/usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py", line 112, in _include_sqlalchemy
for key in module.__all__:
^^^^^^^^^^^^^^
AttributeError: module 'sqlalchemy' has no attribute '__all__'. Did you mean: '__file__'?
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix NameError on parse_version with eventlet
-build(deps): bump checkouts/data-schemas from 68def1e to e9f7d58
-Move installed modules code to utils
-Note: We moved the internal function _get_installed_modules from
sentry_sdk.integrations.modules to sentry_sdk.utils. So if you use this
function you have to update your imports
-Add code locations for metrics
-Add query source to DB spans
-Send events to Spotlight sidecar
-Run integration tests with newest pytest
-Bring tests up to date
-Fix: Prevent global var from being discarded at shutdown
-Fix: Scope transaction source not being updated in scope.span setter
-Django: Support Django 5.0
-Django: Handling ASGI body in the right way.
-Flask: Test with Flask 3.0
-Celery: Do not create a span when task is triggered by Celery Beat
-Redis: Ensure RedisIntegration is disabled, unless redis is installed
-Quart: Fix Quart integration for Quart 0.19.4
-gRPC: Make async gRPC less noisy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
#632: --dist=loadscope now sorts scopes by number of tests to assign largest scopes early
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Bump deps.
- [misp-objects] Bumped latest version.
- Eml and msg are in sync again.
- Update calls to getStringStream to the public method.
- Avoid confusing error when an auth key is limited to an IP.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-uprev pydantic-core to 2.14.5
-Add ConfigDict.ser_json_inf_nan
-Fix validation of Literal from JSON keys when used as dict key
-Fix bug re custom_init on members of Union
-Fix JsonValue bool serialization
-Fix handling of unhashable inputs with Literal in Unions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add support for Python 3.12
-Clean up temporary files after UnicodeTests
-Add Python 3.5, 3.6 and 3.12.0-rc.1 to test matrix
-Set prompt correctly for zsh
-Add zsh convenience function to replwrap module
-Rework async unittests to rely on unittest.IsolatedAsyncioTestCase
-Make test_expect.py work on POSIX systems that are not Linux based
-Add support for socket, which allows sockets to be used crossplatform
-Update async to work on newer versions of python
-Remove deprecated RSAAuthentication option (SSHv1)
-Multiple CI fixes
-Use Github Actions for CI
-Remove pytest-capturelog from testing requirements
-Fix usage for Solaris
-Fix threading for new versions of python
-Fix documentation builds for use with Sphinx 3
-Use sys.executable for tests and wrapper, allowing the calling python executable to be used instead
-Update documentation about Wexpect
-Added project urls to setup.py
-Provide examples for how to use Pexpect and Pyte
-Coerce compiled regex patterns type according to spawn encoding
-Several doc updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Do not detect as requirements.txt if the file is a python script.
-Provide information of the original line when parsing requirement fails.
-Resolve -r requirements paths relative to the requirement file they are specified
-Updating package now overwrites the old files instead of removing before installing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Removed a couple of files that accidentally got included in the previous release.
-The 8-bit float formats have been renamed 'e4m3float' and 'e5m2float'.
-Some refactoring and performance optimizations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed importing aiohttp under PyPy on Windows.
-Fixed async concurrency safety in websocket compressor.
-Fixed ClientResponse.close() releasing the connection instead of closing.
-Fixed a regression where connection may get closed during upgrade.
-Fixed messages being reported as upgraded without an Upgrade header in Python parser.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-uprev pydantic-core to 2.14.3
-Fix package description limit
-Fix ValidateCallWrapper error when creating a model which has a
@validate_call wrapped field annotation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-Create virtualenv for conda base Python. #2409
-Log the response text when pdm publish fails with HTTP error.
-Improve the error message when a specific package can't be found in the lockfile.
-prevent wrong project name (including space and illegal characters)
-Fix a bug that PDM cannot detect namespace packages correctly when creating symlinks.
-Fix template files created by pdm init being read-only when copied from a read-only PDM installation.
-Don't reset the build backend when asking for import.
-Never wrap the output of the export command.
-Forbid global project in conda base environment, since it may remove conda-managed packages.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Update pyav plugin to reflect AV changes
-Unpin Pillow and allow versions >=10.1.0
-Support for AVIF image format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed a regression in Django 4.2 that caused a crash of QuerySet.aggregate()
with aggregates referencing expressions containing subqueries (#34798).
-Restored, following a regression in Django 4.2, creating
varchar/text_pattern_ops indexes on CharField and TextField with
deterministic collations on PostgreSQL (#34932).
-CVE-2023-46695: Potential denial of service vulnerability in UsernameField on Windows
-Fixed a regression in Django 4.2.5 where overriding the deprecated
DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings in tests caused the main
STORAGES to mutate (#34821).
-Fixed a regression in Django 4.2 that caused unnecessary casting of string
based fields (CharField, EmailField, TextField, CICharField, CIEmailField, and
CITextField) used with the __isnull lookup on PostgreSQL.
-CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-New PREFER_MONTH_OF_YEAR setting (#1146)
-Absolute years in Russian are no longer being treated as a number of years in
the past (#1129)
-Removed the use of datetime.utcnow, deprecated on Python 3.12 (#1179)
-Applied Black formatting to the code base (#1158)
-Initial integration with OSSFuzz (#1198)
-Extended test cases (#1191)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This version of python3-gpiod requires libgpiod v2.1 so fix RDEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-beautifulsoup4 does depend on python3-soupsieve but
python3-soupsieve does not depend on python3-beautifulsoup4.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Small speed up to writing outgoing packets
-Speed up incoming packet reader
-Small speed up to processing incoming dns records
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-When coming back through the middleware onion after a request is made, we have
the response id. Use it to match to the cached request information and process
the response accordingly.
-Adds Discord bot template repo to Resources page
-Additional contract abi documentation to make it a clear requirement for
contract instances.
-Fix type annotations for web3 constants.
-Add upper pin to deprecated dependency lru-dict whose new minor version release
introduced a typing issue with CI lint builds.
-Recompile test contracts with new Solidity version v0.8.23 to ensure compatibility.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improve the performance when parsing a table with nested dotted keys.
-Keep the newlines when replacing a table.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Updated gRPC integration: Asyncio interceptors and easier setup
-Python 3.12: Replace deprecated datetime functions
-Metrics: Unify datetime format
-Celery: Set correct data in check_ins
-Celery: Read timezone for Crons monitors from celery_schedule if existing
-Django: Removing redundant code in Django tests
-Django: Make reading the request body work in Django ASGI apps.
-FastAPI: Use wraps on fastapi request call wrapper
-Fix: Probe for psycopg2 and psycopg3 parameters function.
-Fix: Remove unnecessary TYPE_CHECKING alias
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Wait for workers to finish reporting when test run stops early.
-Added support for Python 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-don't overwrite day/night specific conditions
-Remove dependency on pytz
-Use ciso8601 for parsing time when already installed
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-pre-compiled wheels for Microsoft Windows (32-bit and 64-bit) are now
available for Python 3.12 on PyPI.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix regression regarding IPython input hook (%gui) integration.
- Improved Python 3.12 support (fixes event loop 'DeprecationWarning').
- Vi key bindings: 'control-t' and 'control-d' for indent/unindent in insert
mode.
- Insert partial suggestion when 'control+right' is pressed, similar to Fish.
- Use sphinx-nefertiti theme for the docs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
site_cache_dir: Use /var/cache again instead of /var/tmp on UNIX
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Support with_call for wrapped rpcs
-Update async client to use async retry
-Add caching to routing header calculation
-Add warning to retry target to avoid incorrect usage
-Drop usage of distutils
-Ensure exception is available when BackgroundConsumer open stream fails
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-Move project metadata to pyproject.toml, modify build scripts
-pyproject.toml: include the full README.md as the readme contents
-Remove dependency on six
-Fix geojson to esrijson conversion with custom SRID
-Add explicit support for Python3.11
-docs: Simplify release process, make patch versioning more clear
-Add explicit support for Python3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-ome users were experiencing encoding issues when parsing the networks json.
Use UTF-8 explicitly.
-Fix character encoding issue
-Fix and add new test cases for invalid Network chain_id values.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add support for tuples to the marshaller
-Re-release since the previous release ran out of space on PyPI
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:
=============
-Move HexBytes prepend of 0x from hex method to __repr__ to not break hex of
parent bytes class
-Drop python 3.7 support
-Added missing build dependency.
-Add build.os config for readthedocs
-Change to using pre-commit to manage linting tools
-Merge project template updates and bump mypy to v1.5.1
-Merge template - .gitignore updates and other fixes
-Merge template updates, including additional linting, move most lint config to
pyproject.toml
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python3targetconfig class does not setup the build config for target
in do_ptest_compile_base so we need to do this manually. While at it: use
the provided nativepython3 command instead of using the full path.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added runtime dependencies. Upgrade to release 0.13.2:
- adding coverage information
- changes tests to pystes
- adding support for pyproject.toml
- adding extra properties for unit
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.126.0:
- Speed up outgoing packet writer
- Speed up writing name compression for outgoing packets
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.1:
- Relax setuptools version number
License-Update: Copyright years changed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 10.1.0:
- Added TrueType default font to allow for different sizes
- Fixed invalid argument warning
- Added ImageOps cover method
- Catch struct.error from truncated EXIF when reading JPEG DPI
- Consider default image when selecting mode for PNG save_all
- Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata
- Added CMYK to RGB unpacker
- Improved flexibility of XMP parsing
- Support reading 8-bit YCbCr TIFF images
- Allow saving I;16B images as PNG
- Corrected drawing I;16 points and writing I;16 text
- Set blue channel to 128 for BC5S
- Increase flexibility when reading IPTC fields
- Set C palette to be empty by default
- Added gs_binary to control Ghostscript use on all platforms
- Read bounding box information from the trailer of EPS files if
specified
- Added reading 8-bit color DDS images
- Added has_transparency_data
- Fixed bug when reading BC5S DDS images
- Prevent TIFF orientation from being applied more than once
- Use previous pixel alpha for QOI_OP_RGB
- Added BC5U reading
- Allow getpixel() to accept a list
- Allow GaussianBlur and BoxBlur to accept a sequence of x and y
radii
- Expand JPEG buffer size when saving optimized or progressive
- Added session type check for Linux in ImageGrab.grabclipboard()
- Allow "loop=None" when saving GIF images
- Fixed transparency when saving P mode images to PDF
- Added saving LA images as PDFs
- Set SMaskInData to 1 for PDFs with alpha
- Changed Image mode property to be read-only by default
- Silence exceptions in _repr_jpeg_ and _repr_png_
- Do not use transparency when saving GIF if it has been removed
when normalizing mode
- Fix missing symbols when libtiff depends on libjpeg
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.8.3:
- Ensure readonly attribute is set correctly when creating new
objects
- Optimize sparse bitarray compression for raw block type
- Improve hash functions in Bloom filter example
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.16.0:
- The patch_function_wrapper() decorator now accepts an enabled
argument which can be a literal boolean value, object that
evaluates as boolean, or a callable object which returns a
boolean.
- The import hook loader and finder objects are now implemented
as transparent object proxies so they properly proxy pass access
to attributes/functions of the wrapped loader or finder.
- Code files in the implementation have been reorganized such that
the pure Python version of the ObjectProxy class is directly
available even if the C extension variant is being used.
- Bug fix: it was not possible to update the __class__ attribute
through the transparent object proxy when relying on the C
implementation.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add file-magic version 0.4.1, a Python front end for libmagic(3).
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python bindings for libgpiod have undergone several significant
changes that make them easier to use for users of pip. The libgpiod
sources are now vendored with the python3-gpiod as the biggest complaint
by far was the fact that if the system doesn't provide the correct
version of libgpiod, the python bindings won't build.
This is however irrelevant for the meta-python recipe as we use the
provided switch to keep linking against the libgpiod provided by
meta-openembedded.
We have changed the way the tests are built, they are now generated by a
separate build script and no longer by setup.py. The package now
correctly build with the preferred pep517 method so change the inherited
classes.
We have also gained control over the gpiod module on pypi (which
previously hosted a pure python GPIO library) so the location of the
sources has changed.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Speed up incoming packet processing with a memory view
Speed up decoding labels from incoming data
Speed up ServiceBrowsers with a pxd for the signal interface
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add support for Python 3.12
CI improvements
Unit test improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-The handling introduced in v.0.30.2 (raising an exception for clarity)
is retained for cases when no name mapping policy is specified but function
signature contains defaults in non-kwonly args and kwonly args are also
defined
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Replace `python3-isodate` with `python3-aniso8601` in the `python3-flask-restx`
recipe to meet the updated dependency requirements for Flask-RESTx.
Signed-off-by: Arthur Oliveira <arthur.oliveira@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add new python3-aniso8601 recipe for parsing ISO 8601 strings with a
BSD-3-Clause license.
Signed-off-by: Arthur Oliveira <arthur.oliveira@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-ninja is a build dependency for other python modules.
For this, python3-ninja must be built for native mode.
This partially reverts d4aa17dc43
("meta-python: Drop broken BBCLASSEXTEND variants")
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-ninja is used as a build dependency by other modules.
For that, python3-ninja and all its dependencies must be built
in native mode.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pdm, a modern Python package and dependency manager supporting
the latest PEP standards. Version 2.10.1 brings:
- Fix list index out of range when build error message is empty
- Fix find_link sources being exported as --extra--index-url
- Fix an installation failure when install.cache = true
- Fix a resolution issue that extra dependencies are not resolved
when the bare dependency has more specific version constraint
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pdm-backend, the build backend used by PDM that supports latest
packaging standards. Version 2.1.7 provides:
- Rename tag-pattern to tag_regex in the docs
- Copytree handle existing dirs
- Normalize the dist info name in the wheel
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add Wand, a ctypes-based simple MagickWand API binding for Python.
Versions 0.6.13 and 0.6.12 provide:
- Hotfix release to remove a "work-in-progress" pyproject.toml
- Fixed behavior when passing zero to Image.chop()
- Fixed libmagick yield MagickCore library on Linux
- Fixed removing mask when passing None to Image.write_mask() method
- Added new COMPOSITE_OPERATORS operators
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
${PYPI_SRC_URI} is prepended to SRC_URI by the pypi class so there is no
reason to also do it in the recipe.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add py7zr, a pure python 7-zip library. Version 0.20.7 with Python
3.12 support.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pyppmd, a PPMd compression/decompression library.
Version 1.1.0 provides:
- Add Python 3.12 support
- Minimum required python to be 3.8
- Export PPMD8_RESTORE_METHOD* constants
- Drop setup.cfg
- Drop github actions workflows
- README: Add SPDX identifier
- CI run on python 3.10, 3.11 and 3.12
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pybcj, a bcj filter library. Version 1.0.2 brings:
- Support python 3.12
- Add cibuildwheel config
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
ImportError while importing test module '/usr/lib/python3-cbor2/ptest/tests/test_encoder.py'.
E ModuleNotFoundError: No module named 'hypothesis'
Signed-off-by: Khem Raj <raj.khem@gmail.com>