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>
License-Update: Copyright year bump.
Changes:
- New max_depth option for unpacking functions to cap array/map
nesting depth.
- A RecursionError on deeply nested input is now caught and re-raised
as the new MaximumDepthException (subclass of UnpackException),
which hardens unpacking of untrusted data.
- Improved type stubs (py.typed added); documentation typo fixes.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Typer now depends on pydantic. Also drop tests/test_docs_cleanup.py from
the ptest, it imports typer's unshipped release scripts.
Changes:
- 0.29.0: Typer now uses Pydantic internally to validate command-line
parameters. NEW DEPENDENCY: pydantic >=2.5.3 is required.
- BREAKING: click_type removed from typer.Option()/Argument(); some
defaults validated more strictly (e.g. (None, None, None) tuple
default now fails); datetime parsing follows Pydantic rules;
callback parameter objects no longer expose Click's .type,
.make_metavar(), .human_readable_name, .type_cast_value().
- Terminal control characters are escaped in Pydantic validation
errors.
- 0.29.1: added Python 3.15 and 3.15t support.
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:
- Bug-fix series (4.67.2 to 4.67.13), no new dependencies noted.
- Package staging and work dir permissions hardened: owner-only
staging directories, works under umask 0002, stale group/world-
writable .tox is made private and emptied (needed on shared CI).
- Hardening of inputs: requirement/constraint files limited to 10 MiB,
PEP 723 metadata parsed strictly, inline script dependencies
validated, symlink/junction meta_dir refused, args_are_paths no
longer turns file names starting with "-" into options.
- Fixed set_env quoting with trailing backslashes, glob patterns when
tox_root contains [, * or ?, factor names like py-django-4-2,
--config-settings in requirement files, --runner choices.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
The fuzz tests need hypothesis; add it to the ptest RDEPENDS.
Changes:
- Dropped Python 3.10 support (3.6.0); added Python 3.15 support and
wheels, including isolated subinterpreters (3.3.0, 3.4.0).
- Mock datetime.date.today() directly; new escape_hatch functions
for date.today()/datetime.today() (3.3.0).
- Destinations are computed in integer nanoseconds, fixing small
rounding errors; today() is exact for far-future dates.
- travel() accepts None as destination, meaning the current time.
- Fixed a reference leak in utcnow() under -W error, traveller state
leaks on setUpClass/tearDownClass errors, and -mno-omit-leaf-frame-
pointer breaking source builds on non-x86/ARM64 (e.g. PowerPC).
- Migration CLI for freezegun/pytest-freezer users greatly extended.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upstream moved to hatchling with hatch-vcs; inherit python_hatchling.
Refresh the ptest skip patch.
Changes:
- 9.2.0 never reached PyPI (bad package description); 9.2.1 is the
first release including both.
- New: name parameter for Retrying (log output), enabled parameter to
disable retrying, async context manager support in AttemptManager,
min parameter and timedelta support in wait_exponential_jitter
(its "initial" argument is deprecated in favour of "multiplier").
- Fixes: Retrying and strategies are picklable, no hang on cyclic
exception __cause__ chains, wait_chain([]) raises ValueError,
ordinal suffix for numbers ending in 11-13, falsy wait values,
enabled=False respected in iterators, many typing fixes.
- Tornado floor for the optional integration raised to >=6.0.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Drop the versioneer patch; upstream now uses setuptools-scm.
Changes:
- Packaging modernized: vendored versioneer replaced by setuptools-
scm (build now needs setuptools>=64 and setuptools-scm>=8),
setup.py replaced by pyproject.toml, package moved to src/ layout.
Version needs git tags or SETUPTOOLS_SCM_PRETEND_VERSION.
- Requires Python >=3.8; classifiers now cover 3.8 to 3.14.
- Added missing type annotations; fixed installing type stubs.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changes:
- 0.6.1 is the final release: the project is no longer maintained,
no further security fixes are planned.
- Security: dollar signs are escaped in the "php" output format to
prevent PHP code injection (CVE-2026-112307).
- Security: fixed quadratic CPU use in format() on statements with
many unclosed quotes (DoS).
- Fixed IndexError/ValueError in format() on some malformed input;
sqlformat no longer empties --in-place/--outfile on failure.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changes:
- 3.1.2: deprecate cross-type Version equality; skip prerelease
comparison in Version.compare when the result is known.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upstream dropped setup.py; build with python_setuptools_build_meta,
setuptools-scm and wheel instead of pip.
Changes:
- Packaging moved to pyproject.toml with setuptools>=75 and
setuptools_scm[toml]>=8 build requirements; requires Python 3.10+.
- Runtime dependency is eth-utils>=2; optional rust-backend extra
(rusty-rlp>=0.2.1). Test/doc dependencies moved to dependency
groups.
- Lowered pin on wheel; project template and newsfragments removed.
- Upstream release notes are minimal; major bump is mostly project
management changes.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>