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>