Upgrade to release 1.48:
- test: compare Unicode string values exactly
- Serialize and compare patches whose paths are pointer objects
- Report errors of jsondiff and jsonpatch in one line
- Let jsonpatch --backup replace an existing backup
- Reject diffs that change a member whose name is not a string
- from_diff: avoid the generic deepcopy and the sorted copy for
move keys
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 10.2.0:
Features:
- Restored csv, inspect, json, zipfile, _adapters, and
importlib.metadata to module scope, where a reader can see what
the module depends on, instead of hiding them in the functions
that use them for performance. They are declared in
__lazy_modules__ and so stay deferred, and deferred alike on
every supported Python: 3.15 honors the declaration natively
(PEP 810) and earlier Pythons reach the same behavior through
the lazy-importer backport, which is now a dependency there.
Bugfixes:
- MetadataPathFinder is now installed on sys.meta_path only after
the module is fully initialized. Previously it was installed
partway through, so anything walking sys.meta_path during that
window, such as another thread calling entry_points(), would raise
NameError: name 'PathDistribution'
- is not defined. An import interrupted in that window left the
half-built finder installed for the life of the process, failing
every subsequent lookup.
- Return License-File, Import-Name, and Import-Namespace as lists
in JSON-compatible metadata, including when only one value is
present, and retain all repeated values as required by PEP 566.
Improved Documentation:
- Added a caveats page describing how this package and
importlib.metadata interoperate: the two class hierarchies, the
protocols both satisfy, and what that asks of consumers and of
custom providers.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 1.10.2:
Fixes a regression in 1.10.0 and 1.10.1, and a bug in how
TomlConfigParser reads section names.
- None as a command line arg works again.
parser.parse_args(['--foo', None]) raised TypeError: object of
type 'NoneType' has no len() in 1.10.0 and 1.10.1. It gives
foo=None again, as 1.9.0 and plain argparse do. The same goes for
0 and False.
- A quoted part of a TOML section name can now hold a dot when it
is in single quotes or comes after a space (#370).
TomlConfigParser(["tool.'a.b'"]) and TomlConfigParser(['tool .
"a.b"']) now read the table [tool."a.b"]. Before, both names were
split at the dot inside the quotes, so that table's settings were
silently not read (tool."a.b" already worked). Writing a config
file with such a section name now writes [tool."a.b"] too.
With that fix, the quoted parts of a section name follow TOML's rules
more closely:
- Backslash escapes are read in a double-quoted part and left as
they are in a single-quoted part.
- Spaces inside double quotes are kept. tool." a " used to be read
as tool.a.
- A quote character in the middle of an unquoted part, which isn't
valid TOML, now starts a quoted part, so tool.it's.x is no longer
split at the second dot. Write it as tool."it's".x, which works
in earlier versions too.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Fix this do_compile failure with musl multilib:
openssl/configuration.h:19: Error: Unable to find 'bits/wordsize.h'
openssl/configuration.h:43: Error: CPP #error ""Unknown __WORDSIZE
detected""
oe-core f296632258 ("multilib_header_wrapper.h: support musl") detects
musl with __has_include. swig has no __has_include, so the wrapper
includes bits/wordsize.h as on glibc. musl does not have this header.
Pass -D__MHWORDSIZE to swig. The wrapper uses a predefined
__MHWORDSIZE as is (rule 1 in f296632258).
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
pytokens is compiled with mypyc, which builds its runtime with -Werror.
The mypy 1.17 runtime (misc_ops.c and friends) uses _Py_IDENTIFIER,
_PyUnicode_FromId and _PyObject_GetAttrId, which Python 3.15 marks
deprecated, so the build fails with 19 -Wdeprecated-declarations
errors. mypy 1.20 dropped these calls, but upgrading needs new librt
and ast-serialize recipes. Downgrade the warning from an error until
then; the APIs are still present in 3.15.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
setup.py exits unless the interpreter is 3.10 - 3.14, so do_compile
fails now that oe-core ships Python 3.15. Upstream main still has the
same bound; raise it to 3.15.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 0.29.2:
- Drop support for Python 3.10.
- Limit the full test matrix to Python 3.15.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 4.1.2:
- FIX: Fix :lang() taking time quadratic in the number of top level
elements of a fragment that have an html or head child, such as
many documents concatenated and parsed with html.parser, as the
content language found in the header of each one was cached in a
list that was searched for every new top level element.
- FIX: Fix :lang() taking time quadratic in the size of the
document when many elements share a long language tag, such as
one inherited from <html lang>, as the tag was checked and
matched again for every element.
- FIX: Fix :-soup-contains() taking time quadratic in the depth of
the document, such as a long list of unclosed <li> parsed with
html.parser, as the text of every element, which includes that of
all its descendants, was gathered and searched again for every
element.
- FIX: NOCACHE now turns off the caches of the content language in
a document's header, of the forms of a document, and of the
selected options of a select, so :lang(), :default,
:indeterminate and :checked see changes made to the tree during a
lazy iteration such as iselect().
- FIX: Slimmed relation caches so they now take roughly half the
memory.
- FIX: Fix nth selectors with very large An+B values raising an
OverflowError when matching, and matching the wrong elements when
a value is larger than 2^53, as the position of an element was
checked with a float division. A value with more digits than
Python will convert to an integer now raises a
SelectorSyntaxError instead of a ValueError.
- FIX: filter() given a list of tags now matches the tags under the
same top level element together, sharing the caches that keep
matching linear, instead of matching each tag separately, which
took time quadratic in the depth of a nested document for any
selector. A selector that uses :scope or & still matches each tag
separately, as each tag is its own scope.
- FIX: The ignore option now disallows a pseudo-class however its
name is written, as names were compared without resolving CSS
escapes, so a name written with an escape, such as :h\61 s(), was
not disallowed. Document that each alias of a pseudo-class, such
as :contains() for :-soup-contains(), must be listed as well.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 2026.11.19:
- Findall: return strings for a single group that repeats
- Fix locking of scanner/splitter state shared across threads
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 3.19.0:
Changed:
- Drop support for EOL Python 3.10
Fixed:
- Fix copy() failing when a format option is set
- Handle rows with fewer cells than header in from_html()
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 0.37.0:
- Added is_snapshot() so extensions can recognize inline and
external snapshot objects.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 1.85.3:
- Fixed a deadlock that could freeze the entire Python
process when closing a channel (synchronous API) while gRPC's
background threads were running Python callbacks (for example,
call credentials plugins).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 1.85.3:
- Fixed a deadlock that could freeze the entire Python process when
closing a channel (synchronous API) while gRPC's background
threads were running Python callbacks (for example, call
credentials plugins).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 1.85.3:
- Fixed a deadlock that could freeze the entire Python process when
closing a channel (synchronous API) while gRPC's background
threads were running Python callbacks (for example, call
credentials plugins).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 4.2.12:
- UnixFileLock refuses, with PermissionError, a lock file that
another account owns under a sticky parent such as /tmp. Its
owner could remove it during a hold, after which a second process
locked a new file at the same path and both held the lock. A file
owned by the directory's owner, such as root in /tmp, is still
accepted.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 1.5.1:
Security fixes:
- Prevent quadratic regex matching on long whitespace runs in the
Jalali calendar (GHSA-rq5p-ww4m-666c)
- Prevent quadratic parsing in search_dates() on a long run of
skipped words after a number (GHSA-c83m-fh72-x3jp)
- Prevent unbounded recursion and quadratic parsing in
search_dates() on many quantities written in words
(GHSA-8hqv-h88c-f367)
- Prevent quadratic time in search_dates() on a long text whose
words and Unicode-normalized words differ in number
(GHSA-wr9g-q4w6-fp42)
- Prevent quadratic parsing in parse() on a long run of separators
followed by skipped words (GHSA-5g92-f88x-gwj5)
New features:
- Support "less than a minute ago" in Russian, which was not parse
Fixes:
- search_dates() looks for the words of a quantity written in words
among at most 16 words, so a longer quantity can give a different
result
- search_dates() yields at most eight dates from a run of more than
eight quantities written in words, where it yielded all of them
before
- Keep a full stop that belongs to a date inside the date in
search_dates(), so "Sept. 5, 2020" is no longer split at the full
stop
- Use the reference date's year when a custom format has no year,
so PREFER_DAY_OF_MONTH="last" returns February 29 in a leap year
instead of February 28, and skip invalid leap days instead of
raising ValueError; with PREFER_DAY_OF_MONTH or
PREFER_MONTH_OF_YEAR set to "current", the day or month of
RELATIVE_BASE is used when it is set
- Leave out a time span that does not fit in the years 1 to 9999,
instead of raising ValueError in search_dates() with
RETURN_TIME_SPAN, so the other dates of the text are kept
- Treat digits that the regular expression module matches but int()
rejects as not a number, instead of raising ValueError in parse()
and search_dates()
- Do not raise KeyError for a month or weekday name in date_formats
that is spelled with a letter the regular expression module
equates with a letter of the name when ignoring case, such as the
long s for "s"; the date is read as that name
- Stop the Vietnamese year simplification from eating the month
name "năm", so a month name such as "Tháng năm" (May) followed by
a year parses
- Fix parsing time-only strings such as "3pm" when RELATIVE_BASE is
timezone-aware, which returned None
Cleanups and internal improvements:
- Stop a test from depending on the current year
- Move the pytest and coverage settings into pyproject.toml, which
requires pytest 9 or later for the tests
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 3.1.3:
- Make pickling of functions depending on globals in notebook more
deterministic
- Use PEP 621 metadata to fix building with flit-core >= 4
- Account for removed opcode in Python 3.16
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 45.2.0:
- fix(database): preserve metadata across CAN database imports
- dbc: load and dump Bus.fd_baudrate from BaudrateCANFD
- arxml: keep integral enumeration limits integers
- sym: use the longest Len of a multiplexed message
- Escape quoted signal units and choice labels in DBC output
- c_source: escape signal names that are C keywords
- dbc: keep CAN FD frames from ARXML and in-code databases
- Read relative timestamps in compact candump logs
- Use the frame format when decoding candump logs
- dbc: rewrite a loaded VFrameFormat when the message's frame
format changes
- Read nanosecond timestamps from candump calendar logs
- tester: use raw initial values when scaling is disabled
- Fix for Issue Overlapping Signals / Multiplexors
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 8.0.1
- Fix copying and deep-copying @cached wrappers of callables
without a __qualname__, e.g. functools.partial objects (broken
since v8.0.0).
- Fix deep-copying and pickling LFUCache instances with many
different use counts (broken since v6.1.0).
- Properly support shallow copies of caches, including subclasses
with additional attributes.
- Minor LRUCache performance improvements.
- Minor @cachedmethod error handling improvements.
- Minor documentation improvements.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 0.0.7:
- Drop support for Python 3.10
- Limit the full test matrix to Python 3.15
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
test_localtime_and_gmtime_match_datetime and test_naive_datetime_modes
fail intermittently on musl. time-machine sets TZ to the zone key, and
musl parses keys that are also valid POSIX TZ rule strings, such as
EST5EDT, CST6CDT, GB-Eire, NZ-CHAT and W-SU, as rules instead of loading
the zone file, so libc local time disagrees with zoneinfo.
Prefix the key with a colon, which makes glibc and musl load the zone
file. With this and the musl fix for zone files with a single
transition, 120 of 120 hypothesis seeds of the full suite pass in a musl
image rootfs, against 18 failing seeds with this change alone.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
vlc.py says LGPL version 2.1 or any later version and COPYING is the
LGPL-2.1 text.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Fill in bare Upstream-Status tags with verified references, per the
recipe style guide:
- Backport: add the upstream commit URL; each was matched against the
patch diff (libsdl CVE fixes, gnome-bluetooth3, gnome-screenshot,
NetworkManager-fortisslvpn, bridge-utils, canutils, tipcutils,
libsigrokdecode, smartmontools, sblim-sfcc, phoronix-test-suite,
kconfig-frontends, eject).
- Submitted: add the PR or mailing list URL (poke, unclutter-xfixes,
collectd, python3-pynetlinux, python3-twofish), or switch to Backport
where the fix has since been merged upstream (fuse, mtd-utils, rdate,
openhpi). Where no submission could be found, use Pending.
- Inappropriate: add the reason, or use Pending where the change is a
generic fix upstream could take (terminus-font, python3-pyfanotify).
- opencv 0008 and eject-timeout are distro patches (Debian, Fedora), not
upstream backports; mark them Inappropriate.
- mdns: Apple does not accept external contributions; use Denied instead
of a malformed Inactive-Upstream.
- openjpeg CVE-2023-39327 has an open upstream PR; mark it Submitted.
- ssmtp upstream has been revived, so it is not Inactive-Upstream.
- xsp: use the lastrelease: form.
- Join references that were wrapped onto the line after the tag, and
move the rdate tag above the '---' separator.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Bring Upstream-Status lines in line with the recipe style guide:
- Put Inappropriate reasons in brackets instead of parentheses or
free text after the tag.
- Use the 'lastcommit:'/'lastrelease:' form for Inactive-Upstream.
- Mark patches that link an upstream pull request or mailing list post
as Submitted rather than Pending.
- Mark patches described as OE or cross-build specific as Inappropriate
rather than Pending.
- Drop meaningless qualifiers ('Pending [Unknown]', 'Submitted [Pending]')
and duplicate Upstream-Status lines in the audiofile patches.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 4.2.11:
Bug fixes:
- AsyncStrictSoftFileLock with a poll_interval below 0.05 seconds
now spreads contended retries across a jittered, widening window
like StrictSoftFileLock, instead of a fixed interval.
- SoftReadWriteLock on runtimes without dir_fd other than Windows,
such as GraalPy, now refuses a protocol directory another account
owns under a sticky parent, as the other platforms already do.
- A SoftFileLease garbage collected on its own heartbeat thread no
longer deadlocks that thread, which left every later os.fork() in
the process waiting forever.
- A lock dropped during interpreter shutdown, including a
ReadWriteLock or AsyncReadWriteLock, no longer prints an ignored
exception at exit.
- A lock still referenced when the interpreter exits is released
from an atexit handler before module teardown, except holds of
daemon threads that are still running, and a thread_local=False
lock while any other thread runs.
- On Windows, lock paths that differ only in drive letter or UNC
share case, such as C:\work.lock and c:\work.lock, now share one
FileLock or SoftReadWriteLock singleton and trigger FileLock's
same-thread deadlock detection.
- Releasing a soft lock whose marker a peer replaced no longer
raises AttributeError on GraalPy, which lacks os.pwrite.
- os.fork() no longer waits forever for a lock transition another
thread never finishes; after 30 seconds the child exits with
status 70 and the parent continues.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 1.10.1 which fixes two regressions in 1.10.0:
- Lists before a subcommand work again when the option that ends
them comes from another source. For a nargs='+' or nargs='*'
option, 1.10.0 stops with an error when a config file or env var
list would swallow a subcommand, unless an option after the list
ends it. When the list and that option came from different
sources, 1.10.0 could miss the option and stop with the error
anyway: with FILES="[a, b]" set and name = x in a config file,
prog run failed. It now gives files=['a', 'b'] and name='x' and
treats run as a subcommand, as 1.9.0 did.
- Count options accept values like +2 again. 1.10.0 accepted only
digits as the number for a count option in a config file or env
var, so values that 1.9.0 accepted, such as +2, 1_000 or an env
var value that ends in a newline, became errors. They work again.
A negative number such as -1 is still an error (1.9.0 ignored
it).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 4.4.3:
Bug fixes:
- ppaged() now prints its output when the configured pager
program cannot be run, for example where less is not
installed. Previously only the shell's error was shown and
the output was lost. A pager command which could not be run
is not tried again while the application is running, so the
shell's error is shown once for each pager command instead of
every time.
- A command which prints through a cmd2 console of its own,
such as a Cmd2GeneralConsole showing a Rich progress bar, no
longer ends with a BrokenPipeError message when its output is
piped to something that exits early, as head does. cmd2 now
ends the command quietly instead, printing
broken_pipe_warning if it is set. cmd2 consoles now raise
ConsoleBrokenPipeError, a new subclass of BrokenPipeError
whose file attribute is the stream which broke.
- Fixed tab completion of file paths and shell commands, and
get_exes_in_path(), for names containing square brackets.
This includes a working directory, home directory, or PATH
directory with brackets in its name.
- File path completion, shell command completion, and
get_exes_in_path() now match * and ? literally instead of
returning nothing when the text being completed contains one,
so names containing those characters can be completed.
- Tab completion now quotes a match which has a character that
is special to a shell, such as *, ?, (, &, or $, when the
text being completed is passed to a shell: the arguments of
the shell command and everything after a pipe. This keeps the
shell from expanding or misreading the completed name.
Everywhere else, only a match with a space is quoted, as
before. See the Special Characters in Paths documentation for
details.
- get_exes_in_path(), find_editor(), and shell command
completion no longer skip PATH entries which are symbolic
links to directories.
- find_editor() now finds the edit editor on Windows. It was
the preferred default editor there but could never be found
because it was searched for without its .exe extension, so
the default editor on a Windows machine which has edit
changes to it.
Enhancements:
- Added the rich_progress.py example, which shows how to
display the progress of long-running commands with Rich
status spinners and progress bars. See the new Updating
Output in Place documentation for details, including why a
carriage return embedded in a string passed to poutput() does
not move the cursor.
- Added the textual_tty_toolbar.py example, which shows how to
keep a bottom toolbar on the screen while commands run by
running a cmd2 application inside a Textual application which
draws the toolbar. See Embedding in Textual for how it works
and what it costs.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 0.0.34:
Faster form parsing:
This release reduces parser overhead for forms with many fields and
corrects multipart boundary and header handling. Parsers created
without callbacks also no longer share callback registrations.
- Faster query-string parsing. The parser reuses separator
positions and starts the next field directly when its data is
already available.
- Less overhead for multipart forms. Complete CRLF sequences are
consumed without stepping through each intermediate parser state,
and mark-helper functions are no longer created on each write.
More predictable multipart handling:
- Padded boundaries no longer merge adjacent parts. Spaces
and tabs after delimiters between parts are recognized as
transport padding. Malformed padding now raises
MultipartParseError instead of being returned as part data.
Padded opening boundaries remain unsupported.
- Non-ASCII parameter bytes are preserved.
parse_options_header trims only spaces and tabs, rather than all
Unicode whitespace. This avoids changing parameter values such as
names ending in the UTF-8 bytes for a with a grave accent.
- Whitespace around part header values is ignored by FormParser
. For example, Content-Transfer-Encoding: base64 is
recognized and decoded despite the trailing space. Low-level
MultipartParser callbacks still receive the raw header value
bytes.
Isolated callbacks and clearer security scope:
- Callback registrations stay with their parser. Parsers
constructed without callbacks now get separate dictionaries, so
calling set_callback() on one no longer changes another parser's
handlers.
- A documented threat model. The threat model defines trust
boundaries, application responsibilities, and vulnerability
scope. Bugs in deprecated Content-Transfer-Encoding decoding are
handled as public bug reports rather than security reports.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 2.16.2:
Type aliases evaluate at runtime again:
httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will
notice it if your code, or a library you depend on, uses the aliases in
httpx2._types inside a runtime typing construct. On 2.16.1, import
mistralai.client failed on Python 3.11 to 3.13.
- Optional[QueryParamTypes] and QueryParamTypes | None work again
(#1346). In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes,
CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings.
Optional[...] raised SyntaxError for QueryParamTypes and
HeaderTypes, and | None raised TypeError for all seven. They are
Union[...] objects again, as in 2.16.0.
httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 2.16.2:
Type aliases evaluate at runtime again:
httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will
notice it if your code, or a library you depend on, uses the aliases in
httpx2._types inside a runtime typing construct. On 2.16.1, import
mistralai.client failed on Python 3.11 to 3.13.
- Optional[QueryParamTypes] and QueryParamTypes | None work again.
In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes,
CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings.
Optional[...] raised SyntaxError for QueryParamTypes and
HeaderTypes, and | None raised TypeError for all seven. They are
Union[...] objects again, as in 2.16.0.
httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
test_fuzz.py::test_travel_to_aware_datetime fails whenever hypothesis
generates an ambiguous datetime (one in a DST fold), e.g.
1970-10-25 01:00 America/Dawson_Creek, because per PEP 495 such a
datetime never compares equal to a datetime in another zone. Backport
the pending upstream fix.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
All test modules import zoneinfo, so pytest aborts collection with
"ModuleNotFoundError: No module named 'zoneinfo'" and no test runs.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
flex-native is in the recipe sysroot, so CMake regenerates
src/lm/jsgf_scanner.{c,h} at build time and flex records the absolute
build path in #line directives, which ends up in python3-pocketsphinx-src:
QA Issue: File /usr/src/debug/python3-pocketsphinx/5.1.1/src/lm/jsgf_scanner.c
in package python3-pocketsphinx-src contains reference to TMPDIR [buildpaths]
Pass --noline to flex, and --no-lines to bison should it be found too.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
zope.event 6.x ships a pyproject.toml with build-backend
setuptools.build_meta, so inheriting setuptools3 triggers the
pep517-backend QA warning. Switch to python_setuptools_build_meta
and add python3-wheel-native, which is listed in build-system.requires.
The pyproject.toml caps setuptools below 82, but oe-core ships 84.x,
so add a patch that drops the upper bound.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 7.49.0:
- Fix test_readfunction_unsetopt hanging with a tty on stdin
- Fix skip location reporting in tests/util.py decorators
- Document AsyncCurlMulti blocking limitations
- Add SSH_HOSTKEYFUNCTION and some missing libcurl SSH constants
- Add a debug build of Python to Linux CI/CD
- Preserve pending exception across CurlMulti dealloc cleanup
- Ignore ResourceWarning in test_option_refcounting
- Fix Sphinx documentation build warnings
- Clean up the build system, removing dead and redundant setup.py
and Makefile code
- Remove obsolete cruft from tests directory
- Remove outdated example scripts
- Move dev dependencies into PEP 735 groups and drop
requirements-dev.txt
- Update LGPL v2.1 license text to the latest version
- Stop installing docs/examples via data_files in wheels
- Drop setup.py CLI argument parsing in favor of environment
variables
- Remove dead Windows XP/pre-VS2010 handling, update OpenSSL lib
default
- Add GitHub Actions workflow to build the docs
- Make releases a single dispatch-and-approve workflow
- Skip numpy for tests on Windows ARM64 with Python 3.10
- Make object teardown exception-safe and move Curl cleanup into
tp_finalize
- Move CurlMulti cleanup into tp_finalize
- Drop the removed vcpkg non-http curl feature
- Use Python 3.12 for the vcpkg install on Linux
- Move CurlMime cleanup into tp_finalize
- Allow to free a mime that isn't attached to a Curl
- Accept CurlShare subclasses in setopt
- Clone and bootstrap vcpkg on all platforms
- Invalidate a mime part's subparts when its content is replaced
- Unify CurlShare cleanup into tp_finalize
Install README.rst tests/post_test.py:PostTest.test_post_file.
License-Update: Update LGPL v2.1 license text to the latest version
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 3.1.0:
- Add reference to JavaScript functionality
- Update requires-python version to >=3.7
- Update tests for docstring dedenting in Python 3.13
- Replace get_event_loop() with get_running_loop() for asyncio
compatibility
- Add support for Python 3.14, drop EOL 3.9
- docs: fix typo 'array-line' -> 'array-like' in README.md
- docs: fix 2 comment typos in dominate/dom_tag.py (thie -> the,
presense -> presence)
- fix: handle out-of-range numeric HTML entities in unescape()
- Use normal index deletion for child nodes
- Keep copied async DOM contexts separate
- fix(tags): preserve inline link whitespace
- Preserve numeric zero attribute values
- Fix rendering standalone lazy nodes
Fetch the source from GitHub instead of PyPI, as the PyPI sdist
lacks dominate/community, which ptest-runner python3-dominate
needs to pass.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
License-Update: PKG-INFO no longer has the License line at line 8; point
at LICENSE.txt (ZPL-2.1) instead.
Changes:
- 6.0: replaced the pkg_resources namespace with a PEP 420 native
namespace package.
- 6.1: no longer needs setuptools at runtime; added Python 3.14.
- Dropped Python 3.7, 3.8 (5.1) and 3.9 (6.1); added 3.12/3.13.
- 6.2: package metadata moved from setup.py to pyproject.toml; build
allows setuptools <82. 5.1.1 requires setuptools >=75.8.2.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changes:
- 7.0.0 BREAKING: dropped Python 3.9 and 3.10; added Python 3.15.
- inotify: instance created lazily, recursive watches reconciled
after queue overflow, directories moved into a watched tree are
watched, fixed thread dying with KeyError on tree copies.
- DirectorySnapshotDiff no longer reports new symlinks as moves.
- case_sensitive=False matching fixed on Python <3.13; debounce_
interval_seconds and DelayedQueue.delay_sec deprecated.
- watchmedo: runnable via "python -m watchdog"; AutoRestartTrick stop
signal works on Windows; generate-tricks-yaml output loadable.
- fsevents extension builds on PyPy 3.12.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Add hatch-fancy-pypi-readme to DEPENDS, now required by the build.
Changes:
- 21.15.0: zipapp bundles dependencies for Python 3.15 and no longer
bundles Python 3.8.
- Embedded pip upgraded to 26.3.
- Reject an empty or whitespace-only destination (an unset VENV in
"virtualenv --clear $VENV" could delete the working directory).
- -p/--python and --try-first-with now replace configured values
instead of merging; --app-data handling and seed wheel staging
made more robust.
- Activation: PYTHONHOME cleared/unset (PowerShell, Nushell, csh),
empty PATH entries removed, xonsh sets PKG_CONFIG_PATH,
virtualenv.ini read without % interpolation.
- Fixed seeded console_scripts names such as python3-config
overwriting the environment's python executable.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Refresh the ptest skip patches. The tests moved from httpx to httpx2;
update the ptest RDEPENDS.
Changes:
- 0.50: --ws auto now selects websockets-sansio (needs websockets
>=13.0); legacy websockets implementation deprecated. Startup
failures exit with code 3 and stop the multiprocess supervisor.
- 0.51: workers restarted one at a time on SIGHUP; colorama removed
from the "standard" extra. click.style replaced by internal helper.
- 0.52 to 0.54: experimental HTTP/1.1 and HTTP/2 via the new optional
zttp package (--http zttp [--http2]), zuvloop support, HTTP/2
trailers and 103 Early Hints.
- Fixes: WebSocket closing handshake, write flow control, duplicate
headers, IPv6 loopback trusted in default FORWARDED_ALLOW_IPS,
memory regression with --reload/--workers.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upstream renamed its default branch to main.
License-Update: The checksum covered setup.py; point it at the MIT
LICENSE file instead. setup.py now declares MIT (it said BSD-3-Clause,
while LICENSE has always been MIT); the bundled EDK2/LZMA code stays
BSD, so LICENSE becomes "MIT AND BSD-2-Clause AND BSD-3-Clause".
Changes:
- Hardened parsing and extraction: bounded parsing loops, recursion
and decompression, clean failure on truncated/inconsistent headers,
hardened C decompression extension, new safe_path utility.
- The "future" dependency was removed.
- Added AMI capsule, PFS (AutoParser) and PaddingObject support;
duplicate volume names supported; fixed NVAR, ME, PFS and CPD
handling and FFS rebuild.
- Performance: _FVH magic search 8.9x faster (bytes.find/finditer).
- build() round-trips and FDF generator fixed.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>