Commit Graph

7002 Commits

Author SHA1 Message Date
Khem Raj
4030c2da9e
python3-pydantic-core: Enable benchmark tests
Add missing dependencies for additional ptests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04 13:26:23 -07:00
Khem Raj
a8b2cdc20e
python3-pydbus: Add bash dependency for ptests
ptest script uses bash

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 23:14:36 -07:00
Tomasz Żyjewski
5c2de83cc2
python: python-libusb1: add recipe
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 17:54:03 -07:00
Guðni Már Gilbert
28defafdc5
python3-ecdsa: cleanup DEPENDS
Remove python3-pbr from DEPENDS: when looking at the source code
it looks like pbr is used in the CI process when building for
Python 2.6 only. Python 2 is no longer supported in the Yocto
project so it can be safely removed.

Remove python3-pip from DEPENDS: pip is not a build time
dependency.

Changes were tested on Kirkstone. The requirements for
python3-ecdsa v0.18 are exactly the same.

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:56 -07:00
Wang Mingyu
9d6c9be201
python3-web3: upgrade 6.15.1 -> 6.16.0
Changelog:
=========
-Catch all types of "eth-abi" "DecodingError" in "EthereumTesterProvider->_make_request()"
-Fix/update methods and decorators in "web3/_utils/abi.py" to address issues
 raised by "mypy"
-Fix "process_log()" when parsing logs for events with indexed and non-indexed
 inputs. "get_event_data()" now compares log topics and event ABIs as hex values.
-Fix "process_log" for "HexStr" inputs. Explicit type coercion of entry "topics"
 and "data" values.
-Fix typing for json data argument to "eth_signTypedData".

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:55 -07:00
Wang Mingyu
f63f2e8627
python3-tox: upgrade 4.14.1 -> 4.14.2
Changelog:
==========
-Add provision arguments to ToxParser to fix crash when provisioning new tox
 environment without list-dependencies
-Removed unused line from the 'fresh_subprocess' documentation.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:54 -07:00
Wang Mingyu
dbd0cfe921
python3-thrift: upgrade 0.16.0 -> 0.20.0
Changelog:
 https://github.com/apache/thrift/blob/v0.20.0/CHANGES.md

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:54 -07:00
Wang Mingyu
3237d11b62
python3-socketio: upgrade 5.11.1 -> 5.11.2
Changelog:
==========
-Improved routing to catch-all namespace handlers
-Option to disable routing in ASGIApp

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:54 -07:00
Wang Mingyu
0c43121ca4
python3-sentry-sdk: upgrade 1.42.0 -> 1.44.0
Changelog:
===========
-ref: Define types at runtime
-Explicit reexport of types
-feat(profiling): Add thread data to spans
-Add optional keep_alive
-Add support for Celery Redbeat cron tasks
-The SDK now supports the Redbeat scheduler in addition to the default Celery
 Beat scheduler for auto instrumenting crons.
-aws_event can be an empty list
-Re-export Event in types.py
-Small API docs improvement
-Fixed OpenAI tests
-Bump checkouts/data-schemas from ed078ed to 8232f17

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:54 -07:00
Wang Mingyu
df5c81a49e
python3-requests-oauthlib: upgrade 1.4.0 -> 2.0.0
Changelog:
==========
-Merge pull request #534 from iliakur/patch-1
-Drop py2 support from the wheel

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:54 -07:00
Wang Mingyu
7de9c8f80a
python3-pyzstd: upgrade 0.15.9 -> 0.15.10
License-Update: add contributors to Copyright

Changelog:
==========
-Fix SeekableZstdFile class can't open new file in appending mode.
-Support sub-interpreter on CPython 3.12+, can utilize per-interpreter GIL.
-On CPython(3.5~3.12)+Linux, use another output buffer code that can utilize the
 mremap mechanism.
-Change repository URL and maintainer following the deletion of the GitHub
 account of the original author, Ma Lin (animalize)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:54 -07:00
Wang Mingyu
14858176f3
python3-pywbemtools: upgrade 1.2.0 -> 1.2.1
Changelog:
===========
-Increased minimum version of pywbem to 1.6.3 to pick up fixes
-Fixed use of pytest.warns(None)
-Resolved pylint issue on using max()
-Test: Upgraded GitHub Actions plugins to use node.js 20
-Development: Fixed dependency issue with safety 3.0.0 by pinning it
-Added RTD default config file
-Test py27hang with subprocess32 package pywbemlistener py27 tests disabled (#1341)
-Split safety run into separate make target and moved to end of test
-Test: Circumvented a pip-check-reqs issue by excluding its version 2.5.0
-Fixed PyYAML install issue due to Cython 3
-Circumvented removal of Python 2.7 from setup-python
-Set limit in requirements.txt to not use click-repl 0.3.0.
-Added package level to .done files
-Commits on May 28, 2023
-Add .safety-policy.yaml file.
-Limits on use of urllib3 to < version 2.0.
-Fixed coveralls issues with KeyError and HTTP 422 Unprocessable Entity

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
8d9ca62e5b
python3-pywbem: upgrade 1.6.2 -> 1.6.3
Changelog:
============
-Fixed new Pylint issue for unused variable 'exp_result'
-Fixed use of pytest.warns(None)
-Fixed pkgutil install issue on Python 3.12
-Test: Upgraded GitHub Actions plugins to use node.js 20
-Fixed call to pipdeptree
-Added Python 3.6 / Windows / latest to normal tests
-Pinned lxml to <4.9.4 on Python 3.5 on Windows
-Added RTD default config file (#3083)
-Split safety into separate make target and moved to end of test
-Disable cyclic-import issue.
-Update .safety_policy, dev-ramts, minimum_constraints.txt files.
-Test: Circumvented a pip-check-reqs issue by excluding its version 2.5.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
416bf71451
python3-pytest-lazy-fixtures: upgrade 1.0.6 -> 1.0.7
Changelog:
===========
-Fix coverage
-Add shortcut for lazy fixtures

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
0ae69566e6
python3-pytest-cov: upgrade 4.1.0 -> 5.0.0
Changelog:
============
-Removed support for xdist rsync (now deprecated)
-Switched docs theme to Furo.
-Various legacy Python cleanup and CI improvements.
-Added a pyproject.toml example in the docs.
-Modernized project's pre-commit hooks to use ruff.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
1490fd58eb
python3-pytest-asyncio: upgrade 0.23.5 -> 0.23.6
Changelog:
 Fix compatibility with pytest 8.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
021d260f4d
python3-pymisp: upgrade 2.4.187 -> 2.4.188
Changelog:
==========
- Support X-MISP-AUTH Header.
- Bump changelog.
- Bump deps.
- Bump version, templates.
- Strip API key before setting it.
- Python 3.8 support & typing.
- Typing for Python < 3.10.
- Avoid issue when payload ist a list.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
f474f669fb
python3-pyasn1-modules: upgrade 0.3.0 -> 0.4.0
Changelog:
==========
- Added support for Python 3.11, 3.12
- Removed support for EOL Pythons 2.7, 3.6, 3.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Wang Mingyu
67d2012d6f
python3-pdm: upgrade 2.12.4 -> 2.13.2
Changelog:
==========
https://pdm-project.org/latest/dev/changelog/

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
545eb9110c
python3-jdatetime: upgrade 4.1.1 -> 5.0.0
Changelog:
===========
-tests(test_zoneinfo_as_timezone): skip if tzinfo is not available on windows
-fix(strftime): treat %% as an escape sequence
-chore(jalai.py): cleanup the code
-fix(strftime): also escape %% before c, x, and X
-fix(date, datetime): return NotImplemented for unknown type operations
-docs(README.rst): use jdatetime.FA_LOCALE instead if fa_IR
-Update python versions
-update jalali license
-update licences
-Use jalali core

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
a9c445f408
python3-gspread: upgrade 6.0.2 -> 6.1.0
Changelog:
==========
-Add py.typed marker
-Improve back-off client
-Add new auth method API key
-Bugfix/add set timeout
-Fix wrapper cast_to_a1_notation
-Bump bandit from 1.7.5 to 1.7.8
-Bump mypy from 1.6.1 to 1.9.0
-Bump typing-extensions from 4.8.0 to 4.10.0
-Bump flake8 from 5.0.4 to 7.0.0
-fix error message readability
-Add missing method import_csv()
-update readme examples
-Add user friendly message when we can't override a test cassette
-Allow "warning" type protected ranges
-Improce README and documentation with value render options

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
1beca88b5c
python3-graphviz: upgrade 0.20.1 -> 0.20.3
License-Update: Copyright updated to 2024

Changelog:
===========
-Revert improvements to the internal tools.deprecate_positional_args() decorator
 that caused false positive PendingDeprecationWarning: The signature of ... will
 be reduced warnings that have been misinterpreted in the 0.20.2 release process.
-Drop Python 3.7 support (end of life 27 Jun 2023).
-Tag Python 3.11 and 3.12 support.
-Add caveat about labe escaping/quoting to .node() and .render() API docs.
-Document that doctest_skip_exe() lines in doctest should be ignored.
-Improve internal tools.deprecate_positional_args() decorator and fix incorect test assertion.
-Update GitHub actions.
-Pin pytest test dependency to <8.1 as a workaround for import file mismatch
 error related to conftest.py files, in pytest 8.1.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
583938a094
python3-google-auth: upgrade 2.28.2 -> 2.29.0
Changelog:
===========
-Adds support for custom suppliers in AWS and Identity Pool credentials
-Refactor tech debt in aws and identity pool credentials

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
2a9127a51e
python3-google-api-python-client: upgrade 2.122.0 -> 2.124.0
Changelog:
============
https://github.com/googleapis/google-api-python-client/releases/tag/v2.124.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:52 -07:00
Wang Mingyu
7fd541b3d8
python3-google-api-core: upgrade 2.17.1 -> 2.18.0
Changelog:
==========
-Add common logic for supporting universe domain
-Add _registered_method to grpc ChannelStub
-deps: Require proto-plus >= 1.22.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:51 -07:00
Wang Mingyu
3b614b0b64
python3-flask-marshmallow: upgrade 1.2.0 -> 1.2.1
Changelog:
==========
-Fix File field when it receives an empty value
-Fix validate.FileSize to handle SpooledTemporaryFile

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:51 -07:00
Wang Mingyu
edd4779ed8
python3-filelock: upgrade 3.13.1 -> 3.13.3
Changelog:
 Make singleton class instance dict unique per subclass

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:51 -07:00
Wang Mingyu
4e3e85c685
python3-eventlet: upgrade 0.35.2 -> 0.36.1
Changelog:
============
*eventlet.websocket is not always used from eventlet.wsgi, so do not assume
 eventlet.set_idle exists
*Make sure asyncio hub doesn't use greendns for asyncio DNS APIs
*Make asyncio.to_thread work with the same semantics as normal asyncio
*Refactor congruence checks based on assert at runtime
*Run tests on macOS in CI, and some fixes to get it in reasonable state
*Fix wsgi.server shutdown for in-flight requests
*Add debug convenience helpers - asyncio, threads
*Handle errors better.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:51 -07:00
Wang Mingyu
98cb1b38cb
python3-eth-rlp: upgrade 2.0.0 -> 2.1.0
Changelog:
 Bump to hexbytes>=1.2.0 and add blocklint to linting

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:51 -07:00
Wang Mingyu
dee23aebb8
python3-djangorestframework: upgrade 3.14.0 -> 3.15.1
Changelog:
===========
-Fix SearchFilter handling of quoted and comma separated strings, when
 .get_search_terms is being called into by a custom class.
-Revert number of 3.15.0 issues which included unintended side-effects.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:50 -07:00
Wang Mingyu
dca7c04a8a
python3-cassandra-driver: upgrade 3.29.0 -> 3.29.1
bugfix:
=======
-cassandra-driver for Python 3.12 Linux is compiled without libev support
-Consider moving to native wheel builds for OS X and removing universal2 wheels

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:50 -07:00
Wang Mingyu
02b9fb3f85
python3-blivet: upgrade 3.9.1 -> 3.9.2
0006-tweak-btrfs-packages.patch
0011-invoking-dd-with-infinite-timeout.patch
refreshed for 3.9.2

Changelog:
==========
-tests: Add a simple unit test for listing btrfs subvolumes
-Fix getting default subvolume ID for mounted btrfs volumes
-Do not try to get btrfs subvolumes without libblockdev
-Do not raise not implemented exception when checking if btrfs is empty
-Try to start stratisd before checking its availability
-Fix creating Stratis filesystem without size specified
-Fix printing the partition type UUID
-Adjust check for btrfs filesystem being empty
-Fix util.detect_virt on Amazon
-misc: Vagrantfile update
-misc: Run pip with --break-system-packages
-misc: Add missing libmount build dependencies
-availability: Check for mpath friendly names availability
-Allow running blivet without libmount Python bindings
-Fstab cleanup fix
-Fix getting subvolumes for mounted btrfs volumes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:50 -07:00
Wang Mingyu
995bac1a61
python3-asgiref: upgrade 3.7.2 -> 3.8.1
Changelog:
===========
* Fixes a regression in 3.8.0 affecting nested task cancellation inside
  sync_to_async.
* Adds support for Python 3.12.
* Drops support for (end-of-life) Python 3.7.
* Fixes task cancellation propagation to subtasks when using synchronous Django
  middleware.
* Allows nesting "sync_to_async" via "asyncio.wait_for".
* Corrects WSGI adapter handling of root path.
* Handles case where `"client"` is "None" in WsgiToAsgi adapter.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:50 -07:00
Khem Raj
a81c30edea
meta-python-image-ptest: Use 2G RAM for some demanding tests
scrypt/fastjsonschema/pillow run into OOM on some qemu
architectures e.g. RISCV64. Raise the memory to be atleast 2G
for running these ptest images

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-31 08:32:39 -07:00
Guðni Már Gilbert
55017a608e
python3-ecdsa: remove python3-pbr
python3-pbr is not a runtime dependency or a buildtime dependency.
The reason for this change is not only to clean up the RDEPENDS list.
But also because python3-pbr adds pip as a runtime dependency which
is not always desireable.

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-31 08:32:39 -07:00
alperak
846418dc8b
python3-pydbus: Drop ${PYTHON_PN}
Python2 is long unsupported, so we no longer need this variable. It was used to handle Python2/3 compatibility.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-30 00:48:27 -07:00
alperak
df763fc1d0
python3-validators: upgrade 0.22.0 > 0.24.0 and enable ptest
License-Update: Rename LICENSE to LICENSE.txt and update copyright year

* Ptest and library example tested on qemux86-64 and qemuarm64

* Add ptest into PTESTS_FAST_META_PYTHON

qemux86-64:

Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 19
END: /usr/lib/python3-validators/ptest
2024-03-30T05:07
STOP: ptest-runner
TOTAL: 1 FAIL: 0

qemuarm64:

Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 18
END: /usr/lib/python3-validators/ptest
2024-03-30T05:10
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Changelog:

0.24.0
===========
Features

    feat: conditionally raises ValidationError; bump version by @yozachar in #343

Maintenance

    patch: domain & url modules by @yozachar in #339
    fix: domain name not confirming to rfc_2782 by @yozachar in #341
    maint: update dev dependencies; adds favicon to docs by @yozachar in #342

0.23.2
===========
Maintenance

    maint: rectifies changelog by @yozachar in #336
    fix: packaging as well as rST & md document generation by @yozachar in #337

0.23.1
===========
Maintenance

    maint: fix between & length validators by @yozachar in #334
    fix: manual nav reference for mkdocs; bumps version by @yozachar in #335

0.23.0
===========
Features

    feat: add french i18n validation by @imperosol in #308

Maintenance

    fix: Valid URLs failing validation - query and fragment parts by @danherbriley in #297
    fix: bug in between module by @yozachar in #301
    chore: update dependencies, improve packaging by @yozachar in #304
    Fix fragment check by @darkdragon-001 in #305
    build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #310
    fix: allow pct-encoded entities in fragments by @conitrade-as in #317
    chore: update dev dependencies by @yozachar in #318
    build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #321
    build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #322
    chore: monthly updates for Jan'24 by @yozachar in #324
    maint: adds versiond docs; update copyright year by @yozachar in #329
    chore: update dev dependencies by @yozachar in #330
    build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #331
    build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #332
    build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #319

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-30 00:48:27 -07:00
Peter Marko
9660163c4f
python3-grpcio: cleanup dependencies
* setuptools: this is needed only for building
* six: no longer needed for some time already,
  see https://github.com/grpc/grpc/pull/31340

Current requirements:
https://github.com/grpc/grpc/blob/v1.62.1/setup.py#L539

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-27 07:57:30 -07:00
Fathi Boudra
5f6b96e5be
python3-django: upgrade 4.2.10 -> 4.2.11
CVE-2024-27351: Potential regular expression denial-of-service in
django.utils.text.Truncator.words()

Fixed a regression in Django 4.2.10 where intcomma template filter could
return a leading comma for string representation of floats.
https://code.djangoproject.com/ticket/35172

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-27 07:57:30 -07:00
Leon Anavi
360e6fbe17
python3-cachetools: Upgrade 5.3.2 -> 5.3.3
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>
2024-03-27 07:57:30 -07:00
Leon Anavi
d46d2caa25
python3-typeguard: Upgrade 4.1.5 -> 4.2.1
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>
2024-03-27 07:57:30 -07:00
alperak
1ea98b7bfe
python3-portalocker: enable ptest
* test_combined.py deleted because it is not a functional test. It checks if the 'combine' function work correctly which is parse README.rst and LICENSE.

* Ptest and library example tested on qemux86-64 and qemuarm64

* Add ptest into PTESTS_FAST_META_PYTHON

qemux86-64:

Testsuite summary
TOTAL: 21
PASS: 21
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 11
END: /usr/lib/python3-portalocker/ptest
2024-03-26T18:47
STOP: ptest-runner
TOTAL: 1 FAIL: 0

qemuarm64:

Testsuite summary
TOTAL: 21
PASS: 21
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 11
END: /usr/lib/python3-portalocker/ptest
2024-03-26T18:52
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-26 12:29:15 -07:00
Leon Anavi
ff59eced7c
python3-paho-mqtt: Upgrade 1.6.1 -> 2.0.0
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>
2024-03-25 13:17:50 -07:00
Leon Anavi
0bae674232
python3-croniter: Upgrade 2.0.1 -> 2.0.3
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>
2024-03-25 13:17:50 -07:00
Leon Anavi
4a23893168
python3-multidict: Upgrade 6.0.4 -> 6.0.5
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>
2024-03-25 13:17:50 -07:00
Sam Van Den Berge
371510307d
python3-aiohttp: add missing dependencies
* 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>
2024-03-25 08:34:13 -07:00
Leon Anavi
a1938bff15 python3-httpx: Upgrade 0.26.0 -> 0.27.0
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>
2024-03-23 10:01:49 -07:00
Leon Anavi
37594d354b python3-anyio: Upgrade 4.2.0 -> 4.3.0
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>
2024-03-23 10:01:49 -07:00
Derek Straka
3c188f75ea python3-dbus: re-add recipe with latest patches and add ptest
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>
2024-03-22 21:19:50 -07:00
Wang Mingyu
291a582faa
python3-types-python-dateutil: upgrade 2.8.19.20240106 -> 2.9.0.20240316
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>
2024-03-20 09:28:11 -07:00