Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta python merge #420

Closed
wants to merge 8 commits into from
Closed

Meta python merge #420

wants to merge 8 commits into from

Conversation

threexc
Copy link
Contributor

@threexc threexc commented Aug 25, 2021

No description provided.

leon-anavi and others added 8 commits August 25, 2021 08:52
Upgrade to release 6.4.1:

- Renamed colorlog.logging to colorlog.wrappers
- Import log levels from the logging module
- Dropped support for Python 2 and Python versions below 3.5
- Added type hints and added mypy to CI
- Support 256 colour ANSI codes
- Support "light" ANSI codes
- Support the NO_COLOR environment variable, and a no_color option
- Updated various examples and documentation
- Merged TTYColoredFormatter into ColoredFormatter, and ensure no
  ANSI codes are printed when colors are disabled
- Replaced LevelFormatter with a far simpler implementation
- Fixed version_info check for the Formatter validate parameter
- Define formatMessage instead of format, so that ColoredRecord is
  used in fewer places
- Use setuptool's "normalised" format for the version number
- Add PEP 561 typing marker so mypy can find type annotations
- Renamed internal modules
- colorlog.colorlog is now colorlog.formatter
- colorlog.logging is now colorlog.wrappers
- Removed colorlog.escape_codes object so that the
  colorlog.escape_codes module can be imported and used
- Import log levels from the logging module

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Upgrade to release 0.17.13:

- minor fix in attr handling
- fix issue with anchor on registered class not preserved and
  those classes using package attrs with @attr.s()

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Upgrade to release 3.17.5:

- Fix the C extension module to harden is_namedtuple against
  looks-a-likes such as Mocks. Also prevent dict encoding from
  causing an unraised SystemError when encountering a non-Dict.
  Noticed by running user tests against a CPython interpreter
  with C asserts enabled (COPTS += -UNDEBUG).

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Upgrade to release 2.3.2:

- fix slice assignment for shared buffer with offset case
- add tests (including internal debug mode tests for
  `buffers_overlap()`)

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Upgrade to release 2.1.5:

- Fix regression introduced in 2.1.4 (reverted "Allow overriding
  or adding custom event handlers to event dispatch map.
- Convert regexes of type str to list.

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
New
~~~
- Method `sharing_group_exists` [Jakub Onderka]
- Method `update_sharing_group` [Jakub Onderka]
- Save one REST call when initialize PyMISP class. [Jakub Onderka]
- Method `organisation_exists` [Jakub Onderka]
- Method `sharing_group_exists` [Jakub Onderka]
- Method `update_sharing_group` [Jakub Onderka]
- `to_dict` method supports `json_format` parameter. [Jakub Onderka]
- Method `organisation_exists` [Jakub Onderka]
- Method `sharing_group_exists` [Jakub Onderka]
- Method `update_sharing_group` [Jakub Onderka]
- Save one REST call when initialize PyMISP class. [Jakub Onderka]
- Method `organisation_exists` [Jakub Onderka]
- Method `sharing_group_exists` [Jakub Onderka]
- Method `update_sharing_group` [Jakub Onderka]
- Exclude decayed attributes in search. [Raphaël Vinot]

Signed-off-by: Zheng Ruoqin <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
22.2.1
Fix bundling of wepoll on Windows.

22.2.0
New features:

IPC support on Windows: where available (64bit Windows wheels and bundled libzmq when compiling from source, via wepoll), IPC should work on appropriate Windows versions.
Nicer reprs of contexts and sockets
Memory allocated by recv(copy=False) is no longer read-only
asyncio: Always reference current loop instead of attaching to the current loop at instantiation time. This fixes e.g. contexts and/or sockets instantiated prior to a call to asyncio.run.
ssh: $PYZMQ_PARAMIKO_HOST_KEY_POLICY can be used to set the missing host key policy, e.g. AutoAdd.
Fixes:

Fix memory corruption in gevent integration
Fix memoryview(zmq.Frame) with cffi backend
Fix threadsafety issue when closing sockets
Changes:

pypy Windows wheels are 64b-only, following an update in cibuildwheel 2.0
deprecate zmq.utils.jsonapi and remove support for non-stdlib json implementations in send/recv_json. Custom serialization methods should be used instead.

Signed-off-by: Zheng Ruoqin <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
fix notebook memory leak (#1216)
fix contrib.concurrent with generators (#1233 <- #1231)

Signed-off-by: Zheng Ruoqin <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
@kraj
Copy link
Contributor

kraj commented Aug 25, 2021

merged

@kraj kraj closed this Aug 25, 2021
@threexc threexc deleted the meta-python-merge branch August 26, 2021 14:14
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Apr 29, 2023
…325338b6e7b3d42de)

Drop patches now part of new upstream release:
- 0001-Fix-memory-leak.patch
- 0001-cmake-Link-with-libatomic-on-rv32-rv64.patch
- 0001-dlt-system-Fix-buffer-overflow-detection-on-32bit-ta.patch

Cherry-pick and propose upstream two patches to fix build failures with security hardening flags enabled
and with some systemd configuration (underlink)
- 481.patch
- 482.patch

Add new dlt-adaptor-stdin cmake optional flag
Drop PV variable, not needed anymore
Drop latomic manual added flag, upstream code changed to avoid its need
See: COVESA/dlt-daemon#433 and COVESA/dlt-daemon@2224cdd
(changed from atomic_bool to atomic_int, the latter doesn't require manual atomic library link since
it can be optimized properly by the compiler on riscv platforms)

What's Changed:

    dlt-system: fix a libc buffer overflow detection on 32bit targets by @mtitinger in openembedded#337
    dlt-daemon: create sockets using "android way" by @sebastienraillet in openembedded#333
    fixes compilation issue with clang by @sebastienraillet in openembedded#339
    dlt-daemon: Only create directories if they do not exist yet by @alexmohr in openembedded#340
    dlt-system : fix invalid free with ConfigurationFileName by @mtitinger in openembedded#342
    fix for the issue openembedded#341 by @rvalovyi in openembedded#347
    Forcibly the severity level set by @dhnatiuk1 in openembedded#346
    fix -Wformat issues reported by clang by @sebastienraillet in openembedded#349
    dlt-system: fix invalid free by removing unused TempDir by @andreirusu96 in openembedded#350
    Support for Cygwin toolchain. by @DoctorNoobingstoneIPresume in openembedded#351
    filetransfer: Return error if no free space by @ssugiura in openembedded#354
    lib: Correct VARI usage in dlt_user_log_write_uint by @ssugiura in openembedded#356
    Fix DLT User/Client tests by @andreirusu96 in openembedded#357
    tests: Deplicate unused files and variables by @ssugiura in openembedded#359
    Fix the target name in documentation by @mawillers in openembedded#372
    cmake: Add option to enable each adaptor by itself by @alexmohr in openembedded#364
    cmake: Add options to enable/disable each dlt console tool by @alexmohr in openembedded#363
    filetransfer: Fix getFileCreationDate2 stat check by @andreirusu96 in openembedded#361
    dlt_config_file_parser.c:Fix a pointer release bug in the file。 by @Leslie-bcy in openembedded#376
    Update workflow by @thanhbnq in openembedded#389
    README: Update link to github actions by @ssugiura in openembedded#392
    Fix handle returned value by @thanhbnq in openembedded#384
    systemd: install adaptor-udp service for adaptor=on by @danielweber2018 in openembedded#393
    automotive-dlt.pc: add the path to find the static library by @zeerd in openembedded#387
    enforce-trace-limit: ContextLogLevel is now enforced in the daemon by @alexmohr in openembedded#382
    dlt-daemon-connection: Start up even if not all bindings are valid by @alexmohr in openembedded#380
    dlt_common.c: Change default logging_mode by @wusto in openembedded#406
    logstorage: Truncate ECUid in Logstorage filter to prevent crash by @andreirusu96 in openembedded#402
    Update dlt_for_developers.md by @marques-bruno in openembedded#405
    dlt-gateway: Fix crash on invalid ip by @alexmohr in openembedded#381
    dlt_client:Block in connect() by @thanhbnq in openembedded#409
    dlt_daemon_client: Fix change loglevel of application by @lti9hc in openembedded#408
    Update maintainer by @thanhbnq in openembedded#410
    systemd: add support for socket activation via systemd by @alexmohr in openembedded#401
    internal-logging: Fix issues with file logging by @alexmohr in openembedded#378
    dlt_common: change output of message for log initialization by @lti9hc in openembedded#412
    Avoid memory corruption behind buffer wp in function dlt_getloginfo_conv_ascii_to_id by @michael-methner in openembedded#411
    dlt_daemon_client: Fix Control Msg ECUId comparison with active Gateway by @andreirusu96 in openembedded#414
    Fix for Resource and Memory Leak by @lti9hc in openembedded#418
    dlt-receive: set host interface and allow multiple udp multicast addresses by @thanhbnq in openembedded#420
    dlt-system: Fix buffer overflow detection on 32bit targets by @sandy-lcq in openembedded#398
    cmake: network trace enable toggle by @danielweber2018 in openembedded#424
    client: Fix Get Log Info response conversion method by @andreirusu96 in openembedded#422
    filetransfer: fix filesize divisible by blocksize case by @danielweber2018 in openembedded#383
    Updates for Coding Styles by @thanhbnq in openembedded#425
    gateway: Fix Node handling and ECUid checks by @andreirusu96 in openembedded#429
    Update contacts and removed mailing lists by @michael-methner in openembedded#431
    dlt-user: Fix crashes in dlt_free during dlt_init by @alexmohr in openembedded#362
    dlt-convert: Fix memory leak by calling dlt_file_free by @lvklevankhanh in openembedded#434
    dlt-user: fix potential non closed socket in init/free by @alexmohr in openembedded#435
    Check for negative index in dlt_file_message by @michael-methner in openembedded#437
    Fix memory leak by @lvklevankhanh in openembedded#441
    dlt-connection: add socket timeout by @alexmohr in openembedded#439
    Installs dlt.conf on android by @sebastienraillet in openembedded#446
    This changes a mispatch from fcb676a to install udp binary correctly by @smooge in openembedded#449
    logfile: exhance internal dlt logging by introducing size limits by @danielweber2018 in openembedded#369
    dlt-logd-converter: fixes android 12 compilation by @sebastienraillet in openembedded#445
    dlt-logd-converter: Fix getting log level from log msg by @RobinChenJP in openembedded#456
    house-keeper: remove infinite wait by @alexmohr in openembedded#438
    cmake: remove duplicated option message by @minminlittleshrimp in openembedded#454
    Android: Add new feature in Android bp by @minminlittleshrimp in openembedded#461
    dlt_multiple_files: remove superfluous mode bits and add header file to header list by @minminlittleshrimp in openembedded#462
    dlt-user: fix crash with certain strings by @alexmohr in openembedded#463

Signed-off-by: Gianfranco Costamagna <[email protected]>
Signed-off-by: Gianfranco Costamagna <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request May 8, 2023
Changelog:
==========
-  Test suite shell wrapper: Accept OSError on exit
-  Test suite: Use general regex to cut zsh reset ANSI sequences (openembedded#425)
-  Allow importlib-metadata 6.x; skip test failures on Python 3.7 (openembedded#420,
   openembedded#424)
-  Note completers can return iterables of strings, not just lists
   (openembedded#422)
-  Documentation and test improvements

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request May 8, 2023
Changelog:
==========
-  Test suite shell wrapper: Accept OSError on exit
-  Test suite: Use general regex to cut zsh reset ANSI sequences (openembedded#425)
-  Allow importlib-metadata 6.x; skip test failures on Python 3.7 (openembedded#420,
   openembedded#424)
-  Note completers can return iterables of strings, not just lists
   (openembedded#422)
-  Documentation and test improvements

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request May 9, 2023
Changelog:
==========
-  Test suite shell wrapper: Accept OSError on exit
-  Test suite: Use general regex to cut zsh reset ANSI sequences (openembedded#425)
-  Allow importlib-metadata 6.x; skip test failures on Python 3.7 (openembedded#420,
   openembedded#424)
-  Note completers can return iterables of strings, not just lists
   (openembedded#422)
-  Documentation and test improvements

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request May 9, 2023
Changelog:
==========
-  Test suite shell wrapper: Accept OSError on exit
-  Test suite: Use general regex to cut zsh reset ANSI sequences (openembedded#425)
-  Allow importlib-metadata 6.x; skip test failures on Python 3.7 (openembedded#420,
   openembedded#424)
-  Note completers can return iterables of strings, not just lists
   (openembedded#422)
-  Documentation and test improvements

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request May 9, 2023
Changelog:
==========
-  Test suite shell wrapper: Accept OSError on exit
-  Test suite: Use general regex to cut zsh reset ANSI sequences (openembedded#425)
-  Allow importlib-metadata 6.x; skip test failures on Python 3.7 (openembedded#420,
   openembedded#424)
-  Note completers can return iterables of strings, not just lists
   (openembedded#422)
-  Documentation and test improvements

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants