📝 Update console output with Click 8 messages. PR #789 by @svlandeg.
📝 Remove references to a .rst README generated by poetry new. PR #632 by @jonasmmiguel.
0.12.1
Now you don't need to install typer[all]. When you install typer it comes with the default optional dependencies and the typer command.
If you don't want the extra optional dependencies (rich and shellingham), you can install typer-slim instead.
You can also install typer-slim[standard], which includes the default optional dependencies, but not the typer command.
Now the package typer-cli doesn't add anything on top of what typer has, it only depends on typer, and is there only for backwards compatibility, so that projects that depend on typer-cli can get the latest features of the typer command while they upgrade their dependencies to require typer directly.
Features
✨ Add support for typer ./someprogram.py utils docs --title. PR #782 by @tiangolo.
Fixes
🐛 Fix broken installation when upgrading from typer <0.12.0 to typer >=0.12.0, make typer independent of typer-slim, include typer command in typer package. PR #791 by @tiangolo.
This fixes a problem that would break the typer installation directory when upgrading from typer <0.12.0 to typer >=0.12.0, see issue #790.
By installing the latest version (0.12.1) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.
Internal
👷 Add cron to run test once a week on monday. PR #783 by @estebanx64.
0.12.0
In version 0.12.0, the typer package depends on typer-slim[standard] which includes the default dependencies (instead of typer[all]) and typer-cli (that provides the typer command).
If you don't want the extra optional dependencies (rich and shellingham), you can install typer-slim instead.
📝 Update console output with Click 8 messages. PR #789 by @svlandeg.
📝 Remove references to a .rst README generated by poetry new. PR #632 by @jonasmmiguel.
0.12.1
Now you don't need to install typer[all]. When you install typer it comes with the default optional dependencies and the typer command.
If you don't want the extra optional dependencies (rich and shellingham), you can install typer-slim instead.
You can also install typer-slim[standard], which includes the default optional dependencies, but not the typer command.
Now the package typer-cli doesn't add anything on top of what typer has, it only depends on typer, and is there only for backwards compatibility, so that projects that depend on typer-cli can get the latest features of the typer command while they upgrade their dependencies to require typer directly.
Features
✨ Add support for typer ./someprogram.py utils docs --title. PR #782 by @tiangolo.
Fixes
🐛 Fix broken installation when upgrading from typer <0.12.0 to typer >=0.12.0, make typer independent of typer-slim, include typer command in typer package. PR #791 by @tiangolo.
This fixes a problem that would break the typer installation directory when upgrading from typer <0.12.0 to typer >=0.12.0, see issue #790.
By installing the latest version (0.12.1) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.
Internal
👷 Add cron to run test once a week on monday. PR #783 by @estebanx64.
Fix instructions building docs in CONTRIBUTING.md@wakamex (#2900)
Explicitly name the modules built in pyproject.toml@treee111 (#2894)
v2.2.0
Breaking Changes
The github.Comparison.Comparison instance returned by Repository.compare provides a commits property that used to return a list[github.Commit.Commit], which has now been changed to PaginatedList[github.Commit.Commit]. This breaks user code that assumes a list:
commits = repo.compare("v0.6", "v0.7").commits
no_of_commits = len(commits) # will raise a TypeError
This will raise a TypeError: object of type 'PaginatedList' has no len(), as the returned PaginatedList
does not support the len() method. Use the totalCount property instead:
Fix instructions building docs in CONTRIBUTING.md (#2900) (cd8e528d)
Explicitly name the modules built in pyproject.toml (#2894) (4d461734)
Version 2.2.0 (January 28, 2024)
Breaking Changes
^^^^^^^^^^^^^^^^
The github.Comparison.Comparison instance returned by Repository.compare provides a commits
property that used to return a list[github.Commit.Commit], which has now been changed
to PaginatedList[github.Commit.Commit]. This breaks user code that assumes a list:
This will raise a TypeError: object of type 'PaginatedList' has no len(), as the returned PaginatedList
does not support the len() method. Use the totalCount property instead:
This is a bug fix release for various issues discovered after we released 0.10.1. There are no new features, just bug fixes. Database files created by DuckDB v0.10.* or v0.9.* can be read by DuckDB v0.10.2.
SQL Modifications
This release has a number of bug fixes that change SQL semantics in a few edge cases:
Nested Boolean Comparisons now have consistent NULL comparison semantics - duckdb/duckdb#11496
Structs with non-matching keys require explicit casts when compared or combined - duckdb/duckdb#11396
Fix differences to implementation for to_parquet, write_parquet, to_csv, write_csv, Expression.alias, DuckDBPyRelation.map by @binste in duckdb/duckdb#11135
Fix potential UB when list() aggregate is used in combination with other arena using aggregate functions by @Maxxen in duckdb/duckdb#11306
Fix #11293 - for ARRAY([subquery]) explicitly push the ORDER BY of the underlying subquery into the array aggregate by @Mytherin in duckdb/duckdb#11316
Fix #11281: explicitly select column types of information_schema tables for all columns, even if they are always NULL by @Mytherin in duckdb/duckdb#11317
sloc, a source lines of code counter now has support for .prql files. (@vanillajonathan)
Internal changes:
prql-compiler has been renamed to prqlc, and we've established a more consistent naming scheme. The existing crate will still be published, re-exporting prqlc, so no dependencies will break. A future version will add a deprecation warning.
The prqlc-clib crate was renamed to prqlc-c, and associated artifacts were renamed. We're trying to make names consistent (ideally for the final time!), and have a plan to rename some other bindings. (@max-sixty, #4077)
Add lots of whitespace items to the lexer, in preparation for the completion of prqlc fmt (@max-sixty, #4109, #4105)
0.11.1 fixes a couple of small bugs; it comes a few days after 0.11.
This release has 16 commits from 6 contributors. Selected changes:
Features:
Infer the type of array literals to be the union of types of its items. (@aljazerzen, #3989)
prql module is added and the prql_version function is renamed to the prql.version function. The old prql_version function is deprecated and will be removed in the future release. (@eitsupi, #4006)
Fixes:
Do not compile to DISTINCT ON when take n is used with group for the targets clickhouse, duckdb and postgres. (@PrettyWood, #3988)
Fix take n rows for mssql dialect by switching from TOP to FETCH (@PrettyWood, #3994)
0.11.0 introduces new date, text & math modules with lots of standard functions, including a new date.to_text function. It contains a few bugs fixes, and lots of internal improvements to the compiler.
This release has 119 commits from 9 contributors. Selected changes:
Language:
Breaking: group's by columns are now excluded from the partition. (#3490)
Breaking: round is now in the math module and needs to be called via math.round. (#3928)
Breaking: lower and upper are now in the text module and need to be called via text.lower and text.upper. (#3913, #3973)
sloc, a source lines of code counter now has
support for .prql files. (@vanillajonathan)
Internal changes:
prql-compiler has been renamed to prqlc, and we've established a more
consistent naming scheme. The existing crate will still be published,
re-exporting prqlc, so no dependencies will break. A future version will add
a deprecation warning.
The prqlc-clib crate was renamed to prqlc-c, and associated artifacts were
renamed. We're trying to make names consistent (ideally for the final time!),
and have a plan to rename some other bindings. (@max-sixty, #4077)
Add lots of whitespace items to the lexer, in preparation for the completion
of prqlc fmt (@max-sixty, #4109, #4105)
2343_, [FreeBSD]: filter net_connections()_ returned list in C instead of
Python, and avoid to retrieve unnecessary connection types unless explicitly
asked. E.g., on an IDLE system with few IPv6 connections this will run around
4 times faster. Before all connection types (TCP, UDP, UNIX) were retrieved
internally, even if only a portion was returned.
2342_, [NetBSD]: same as above (#2343) but for NetBSD.
2349_: adopted black formatting style.
Bug fixes
930_, [NetBSD], [critical]: net_connections()_ implementation was broken.
It could either leak memory or core dump.
2340_, [NetBSD]: if process is terminated, Process.cwd()_ will return an
empty string instead of raising NoSuchProcess_.
2345_, [Linux]: fix compilation on older compiler missing DUPLEX_UNKNOWN.
2222_, [macOS]: cpu_freq() now returns fixed values for min and max
frequencies in all Apple Silicon chips.
5.9.7
2023-12-17
Enhancements
2324_: enforce Ruff rule raw-string-in-exception, which helps providing
clearer tracebacks when exceptions are raised by psutil.
Bug fixes
2325_, [PyPy]: psutil did not compile on PyPy due to missing
PyErr_SetExcFromWindowsErrWithFilenameObject cPython API.
Add support for type parameter defaults, a new syntactic feature added to Python 3.13
by PEP 696 (#4327)
Integrations
Github Action now works even when git archive is skipped (#4313)
24.4.0
Stable style
Fix unwanted crashes caused by AST equivalency check (#4290)
Preview style
if guards in case blocks are now wrapped in parentheses when the line is too long.
(#4269)
Stop moving multiline strings to a new line unless inside brackets (#4289)
Integrations
Add a new option use_pyproject to the GitHub Action psf/black. This will read the
Black version from pyproject.toml. (#4294)
24.3.0
Highlights
This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
CVE-2024-21503.
This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
Stable style
Don't move comments along with delimiters, which could cause crashes (#4248)
Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
Add support for type parameter defaults, a new syntactic feature added to Python 3.13
by PEP 696 (#4327)
Integrations
Github Action now works even when git archive is skipped (#4313)
24.4.0
Stable style
Fix unwanted crashes caused by AST equivalency check (#4290)
Preview style
if guards in case blocks are now wrapped in parentheses when the line is too long.
(#4269)
Stop moving multiline strings to a new line unless inside brackets (#4289)
Integrations
Add a new option use_pyproject to the GitHub Action psf/black. This will read the
Black version from pyproject.toml. (#4294)
24.3.0
Highlights
This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
CVE-2024-21503.
This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
Bumps the dependencies group with 8 updates in the / directory:
0.9.0
0.12.3
1.59.1
2.3.0
0.9.2
0.10.2
4.65.2
4.66.2
10.1.0
10.2.0
0.9.5
0.11.2
5.9.6
5.9.8
23.7.0
24.4.1
Updates
typer
from 0.9.0 to 0.12.3Release notes
Sourced from typer's releases.
... (truncated)
Changelog
Sourced from typer's changelog.
... (truncated)
Commits
525c777
🔖 Release version 0.12.3718a899
📝 Update release notes3bc7d25
🐛 Fix Rich formatting with no commands (#796)c9bc93c
🔖 Release version 0.12.2c99a950
📝 Update release notescfae1d2
✨ Improve column help display, ensure commands column width is the same on al...475359f
📝 Update release notesa0209aa
🐛 Add support for an argument of typeOptional[Tuple]
and default value `No...5cee0af
📝 Update release notescb78113
📝 Update release notesUpdates
pygithub
from 1.59.1 to 2.3.0Release notes
Sourced from pygithub's releases.
... (truncated)
Changelog
Sourced from pygithub's changelog.
... (truncated)
Commits
7266e81
Release v2.3.0 (#2926)e4106e0
Support oauth for enterprise (#2780)d65fc30
Create release with optional name and message when generate_release_notes is ...0784f83
Support creation of Dependabot Organization and Repository Secrets (#2874)9e09245
Add missing attributes to WorkflowJob (#2921)e3d3653
Fix imports in authentication docs (#2923)c788985
Addcreated
andcheck_suite_id
filter for Repository WorkflowRuns (#2891)0b8435f
Assert requester argument type in Auth (#2912)96ad19a
CI: add docformatter to precommit (#2614)b542438
Revert having allowed values for add_to_collaborators (#2905)Updates
duckdb
from 0.9.2 to 0.10.2Release notes
Sourced from duckdb's releases.
... (truncated)
Commits
44eb2b5
Merge pull request #11682 from Mytherin/shellutf8e2bff34
Disable setting console pages by default, and add .utf8 setting3c7ad70
Merge pull request #11671 from Mytherin/valgrindfix69547d9
Merge pull request #11653 from pdet/adbc_py9a885dac
Fix uninitialized valuese778341
proper skip9a3cc6a
Merge pull request #11616 from pdet/multiple_nullstr780f5e4
rmv skipped member from SQLLogicTestf303d87
change unzip.test vector's and block's sizes and to require 64bit496977a
skip unzip tests in python - this functionality is not supported yetUpdates
tqdm
from 4.65.2 to 4.66.2Release notes
Sourced from tqdm's releases.
Commits
cc372d0
bump version, merge pull request #1549 from tqdm/devele9f0c05
use PyPI trusted publishing7323d5b
slight makefile clean5306125
tests: bump pre-commit4a6fd4f
fix datetime.utcfromtimestamp py3.12 warning (#1519)6f13759
tests: fix macos notebook indentation3abcd2a
tests: fix asva4d15c8
tests: fix pandas warningsa95cd88
pandas: add progress_map, fix tests123cb1c
slight tidyUpdates
more-itertools
from 10.1.0 to 10.2.0Release notes
Sourced from more-itertools's releases.
Commits
1e0e662
Merge pull request #789 from more-itertools/version-10.2.06700628
Add time_limited credit740ea62
Merge remote-tracking branch 'origin/master' into version-10.2.03e94640
Merge pull request #791 from haukex/time_limit_0fcd1f88
Fix up credits7313c86
Ensure time_limited(0, ...) always returns nothingf83ff28
Attempt to fix RTD theme, round 2451c06f
Attempt to fix RTD themef7d7c5a
Add missing commas51ad8fb
Bump version: 10.1.0 → 10.2.0Updates
prql-python
from 0.9.5 to 0.11.2Release notes
Sourced from prql-python's releases.
... (truncated)
Changelog
Sourced from prql-python's changelog.
... (truncated)
Commits
db7165c
chore: Release notes for 0.11.2 (#4184)4a257b8
build: disable cargo doc on crates that don't have docs (#4183)72b408a
feat(lutra): pull database schema into source (#4182)784895d
feat: lutra python bindings (#4174)9ad1f53
ci: Exclude codecov job with dependabot (#4180)8d4a275
chore: bump arduino/setup-task from 1 to 2 (#4179)f8c20f1
ci: Longer time-outs for link checks (#4178)1d13d3c
refactor(lutra): reorganize stages, docs (#4176)114fb19
feat: lutra query runner (#4134)d4d9000
chore: pre-commit autoupdate (#4171)Updates
psutil
from 5.9.6 to 5.9.8Changelog
Sourced from psutil's changelog.
Commits
27a1432
pre-release2d880c8
fix failing tests86f171a
refac td4ae6a0
refact some tests20ba266
more tests refactoring2e2668d
Merge branch 'master' of github.com:giampaolo/psutil82a4375
improve tests reliability14a33ff
Fix cpu_freq for Apple silicon (#2222)89eac06
refactor tests + make them more robustc458816
Adopt black formatting style (#2349)Updates
black
from 23.7.0 to 24.4.1Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.
... (truncated)
Commits
e7fb048
Prepare release 24.4.1 (Superseded by #65.