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 #364

Closed
wants to merge 20 commits into from
Closed

Meta python merge #364

wants to merge 20 commits into from

Conversation

threexc
Copy link
Contributor

@threexc threexc commented May 28, 2021

No description provided.

leon-anavi and others added 20 commits May 28, 2021 09:03
Upgrade to release 1.6.2:

- Fix for issue key/keyref with dynamic types
- Change default decoding of mixed content with only text to a
  string instead of a dictionary

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

- Fix exception handling bug

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

- Fixed regression caused by just fixed bug that scaled back the
  filter for unique=True/index=True too far such that these
  directives no longer worked for the op.create_table() op, this
  has been fixed.
- Fixed 1.6-series regression where UniqueConstraint and to a
  lesser extent Index objects would be doubled up in the generated
  model when the unique=True / index=True flags were used.
- Fixed a bug where paths defined in post-write hook options would
  be wrongly escaped in non posix environment (Windows).
- Fixed regression where a revision file that contained its own
  down revision as a dependency would cause an endless loop in the
  traversal logic.

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

- A new approach has been applied to the warnings system in
  SQLAlchemy to accurately predict the appropriate stack level for
  each warning dynamically. This allows evaluating the source of
  SQLAlchemy-generated warnings and deprecation warnings to be
  more straightforward as the warning will indicate the source
  line within end-user code, rather than from an arbitrary level
  within SQLAlchemy’s own source code.

orm:
- Fixed additional regression caused by “eager loaders run on
  unexpire” feature #1763 where the feature would run for a
  contains_eager() eagerload option in the case that the
  contains_eager() were chained to an additional eager loader
  option, which would then produce an incorrect query as the
  original query-bound join criteria were no longer present.
- Fixed issue in subquery loader strategy which prevented caching
  from working correctly. This would have been seen in the logs as
  a “generated” message instead of “cached” for all subqueryload
  SQL emitted, which by saturating the cache with new keys would
  degrade overall performance; it also would produce “LRU size
  alert” warnings.

sql:
- Adjusted the logic added as part of #6397 in 1.4.12 so that
  internal mutation of the BindParameter object occurs within the
  clause construction phase as it did before, rather than in the
  compilation phase. In the latter case, the mutation still
  produced side effects against the incoming construct and
  additionally could potentially interfere with other internal
  mutation routines.

mysql:
- Added support for the ssl_check_hostname= parameter in mysql
  connection URIs and updated the mysql dialect documentation
  regarding secure connections. Original pull request courtesy of
  Jerry Zhao.

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Add python3-sqlite3 to ptest RDEPENDS.

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

- Remove support for Flask-Script
- Use unittest testrunner
- Remove dependency on six package
- Added sphinx build files to .gitignore file
- Fix Sphinx warning

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.0.1:

- Re-add the filename parameter in send_from_directory. The
  filename parameter has been renamed to path, the old name is
  deprecated.
- Mark top-level names as exported so type checking understands
  imports in user projects.
- Fix type annotation for g and inform mypy that it is a namespace
  object that has arbitrary attributes.
- Fix some types that weren’t available in Python 3.6.0.
- Improve typing for send_file, send_from_directory, and
  get_send_file_max_age.
- Show an error when a blueprint name contains a dot. The . has
  special meaning, it is used to separate (nested) blueprint names
  and the endpoint name.
- Combine URL prefixes when nesting blueprints that were created
  with a url_prefix value.
- Roll back a change to the order that URL matching was done. The
  URL is again matched after the session is loaded, so the session
  is available in custom URL converters.
- Re-add deprecated Config.from_json, which was accidentally
  removed early.
- Improve typing for some functions using Callable in their type
  signatures, focusing on decorator factories.
- Nested blueprints are registered with their dotted name. This
  allows different blueprints with the same name to be nested at
  different locations.
- register_blueprint takes a name option to change the (pre-dotted)
  name the blueprint is registered with. This allows the same
  blueprint to be registered multiple times with unique names for
  url_for. Registering the same blueprint with the same name
  multiple times is deprecated. #1091
- Improve typing for stream_with_context.

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.15.1:

- Add python_requires metadata to avoid installing on unsupported
  Python versions.
- Drop support for Python < 3.6.
- FileSize validator.
- Extra requirement email installs the email_validator package.
- Fixed Flask 2.0 warnings.
- Various documentation fixes.
- Various CI fixes.

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

- Document the use of simple-websocket with the development web
  server
- Show transport in example apps
- Added Open Collective funding option

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.0.1:

- Fix type annotation for send_file max_age callable. Don't pass
  pathlib.Path to max_age.
- Mark top-level names as exported so type checking understands
  imports in user projects.
- Fix some types that weren't available in Python 3.6.0.
- cached_property is generic over its return type, properties
  decorated with it report the correct type.
- Fix multipart parsing bug when boundary contains special regex
  characters.
- Type checking understands that calling headers.get with a string
  default will always return a string.
- If HTTPException.description is not a string, get_description
  will convert it to a string.

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Add bidict, the bidirectional mapping library for Python.

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

- Document WebSocket support for threading mode
- Allow functions to be used for URL, headers and auth data in
  client connection
- Emit events to multiple rooms
- More descriptive error when joining a room on a bad namespace
- Document the use of arguments in the connect_error handler
- Document that callbacks cannot be used in external processes
- Improve start_background_task() example in the documentation
- Added Open Collective funding option
- Remove Python 2 from PyPI classifiers

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

- Regression using TypedDict as type hint

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.3.9:

- Compatibility with Flask 2.0

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.0.50:

- Add ShareLink plugin
- Revert some fixes
- Merge current SoCo master

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.1.0:

- AddValue is similar to the old AutoNumber: it will always
  activate, but uses _generate_next_value_ to get the next value
  (so the user has some control over the return data type instead
  of always getting an int).

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

- Restructured docs
- Fix WSL2 installation problem
- Fix for interactive mode under Windows

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

- Fixed deprecation warnings emitted in Python 3.10.
- Updated vendored six library to 1.16.0.
- Improved performance of URL parser when splitting the authority
  component.

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

- keras support for initial_epoch
- misc documentation updates
- fix & update tests
- minor framework updates

Signed-off-by: Leon Anavi <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
Add runtime dependency to resolve errors that occurred when import can.

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

kraj commented May 28, 2021

merged

@kraj kraj closed this May 28, 2021
@threexc threexc deleted the meta-python-merge branch May 31, 2021 13:38
halstead pushed a commit that referenced this pull request Jul 9, 2021
Added:

core: implement Device.__eq__() (#147)
Changed:

libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (#365)
libusb0: implement is_kernel_driver_active() for Mac OS (#374)
Fixed:

setup: prevent installation on unsupported Python versions (PR #364)
control: fix undefined USBError (#372)
tests: fix legacy/hardware tests for Python 3.9 (#373)

Add runtime dependency to resolve errors that occurred when import usb.

Signed-off-by: Zang Ruochen <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jul 9, 2021
Added:

core: implement Device.__eq__() (openembedded#147)
Changed:

libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (openembedded#365)
libusb0: implement is_kernel_driver_active() for Mac OS (openembedded#374)
Fixed:

setup: prevent installation on unsupported Python versions (PR openembedded#364)
control: fix undefined USBError (openembedded#372)
tests: fix legacy/hardware tests for Python 3.9 (openembedded#373)

Add runtime dependency to resolve errors that occurred when import usb.

Signed-off-by: Zang Ruochen <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jul 9, 2021
Added:

core: implement Device.__eq__() (openembedded#147)
Changed:

libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (openembedded#365)
libusb0: implement is_kernel_driver_active() for Mac OS (openembedded#374)
Fixed:

setup: prevent installation on unsupported Python versions (PR openembedded#364)
control: fix undefined USBError (openembedded#372)
tests: fix legacy/hardware tests for Python 3.9 (openembedded#373)

Add runtime dependency to resolve errors that occurred when import usb.

Signed-off-by: Zang Ruochen <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Jul 12, 2021
Added:

core: implement Device.__eq__() (openembedded#147)
Changed:

libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (openembedded#365)
libusb0: implement is_kernel_driver_active() for Mac OS (openembedded#374)
Fixed:

setup: prevent installation on unsupported Python versions (PR openembedded#364)
control: fix undefined USBError (openembedded#372)
tests: fix legacy/hardware tests for Python 3.9 (openembedded#373)

Add runtime dependency to resolve errors that occurred when import usb.

Signed-off-by: Zang Ruochen <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
halstead pushed a commit that referenced this pull request Jul 13, 2021
Added:

core: implement Device.__eq__() (#147)
Changed:

libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (#365)
libusb0: implement is_kernel_driver_active() for Mac OS (#374)
Fixed:

setup: prevent installation on unsupported Python versions (PR #364)
control: fix undefined USBError (#372)
tests: fix legacy/hardware tests for Python 3.9 (#373)

Add runtime dependency to resolve errors that occurred when import usb.

Signed-off-by: Zang Ruochen <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Trevor Gamblin <[email protected]>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Feb 16, 2023
0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch
removed since it's included in 2.1.8.

0001-Makefile-Do-not-set-Werror.patch
refreshed for 2.1.8

Changelog:
===========
 make: avoid hard-coding path to sed (openembedded#357)
 etc: install system unit with without executable bit (openembedded#354)
 Add ability for MGMT IPC to check UID only
 Use config for iscsistart and iscsiadm fw login
 iscsiuio: Use pthread_t for INVALID_THREAD (openembedded#363)
 Add a 'distclean' Makefile top-level target
 Cleanup fwparam makefile (openembedded#360)
 Small bug fixes (openembedded#364)
 Use meson as the main build system (openembedded#365)
 libopeniscsiusr: cleanup recent reallocarray->realloc change (openembedded#369)
 Added examples in man file for iscsiadm session commands.
 iscsid: fix logout pdu send failure handling
 Update README's error handler/timeout section
 iscsiuio: fix LDADD
 libopeniscsiusr: use realloc instead of reallocarray (openembedded#368)
 iscsiadm: enable specify iface name-value parameters when creating iface
 Fix a possible passing null pointer in usr/iface.c (openembedded#356)

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 Feb 17, 2023
0002-iscsiuio-Use-pthread_t-for-INVALID_THREAD.patch
removed since it's included in 2.1.8.

0001-Makefile-Do-not-set-Werror.patch
refreshed for 2.1.8

Changelog:
===========
 make: avoid hard-coding path to sed (openembedded#357)
 etc: install system unit with without executable bit (openembedded#354)
 Add ability for MGMT IPC to check UID only
 Use config for iscsistart and iscsiadm fw login
 iscsiuio: Use pthread_t for INVALID_THREAD (openembedded#363)
 Add a 'distclean' Makefile top-level target
 Cleanup fwparam makefile (openembedded#360)
 Small bug fixes (openembedded#364)
 Use meson as the main build system (openembedded#365)
 libopeniscsiusr: cleanup recent reallocarray->realloc change (openembedded#369)
 Added examples in man file for iscsiadm session commands.
 iscsid: fix logout pdu send failure handling
 Update README's error handler/timeout section
 iscsiuio: fix LDADD
 libopeniscsiusr: use realloc instead of reallocarray (openembedded#368)
 iscsiadm: enable specify iface name-value parameters when creating iface
 Fix a possible passing null pointer in usr/iface.c (openembedded#356)

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 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 Jun 19, 2023
Changelog:
===========
 Fixed introspection for failed assert_has_calls (openembedded#365).
 Updated type annotations for mocker.patch and mocker.spy (openembedded#364).

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 Jun 19, 2023
Changelog:
===========
 Fixed introspection for failed assert_has_calls (openembedded#365).
 Updated type annotations for mocker.patch and mocker.spy (openembedded#364).

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.

4 participants