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:
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:
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)
Features:
The std.in function now supports a list of values (@PrettyWood, #3883)
Most standard mathematical functions are now supported: abs, floor, ceil, pi, exp, ln, log10, log, sqrt, degrees, radians, cos, acos, sin, asin, tan, atan, pow and round. Those functions are in the math module (@PrettyWood, #3909, #3916 & 3928)
Most standard string functions are now supported: ltrim, rtrim, trim, length, extract, replace. Utility functions starts_with, contains and ends_with are also available. Those functions are in the text module (@PrettyWood, #3913, #3973)
Formatting a date to a text is now available for Clickhouse, DuckDB, MySQL, MSSQL and Postgres. A new date module has been added with the to_text function (@PrettyWood, #3951, #3954 & #3955)
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 — 2023-12-19
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)
Features:
The std.in function now supports a list of values (@PrettyWood, #3883)
Most standard mathematical functions are now supported: abs, floor,
ceil, pi, exp, ln, log10, log, sqrt, degrees, radians,
cos, acos, sin, asin, tan, atan, pow and round.
Those functions are in the math module (@PrettyWood, #3909, #3916 & 3928)
Most standard string functions are now supported: ltrim, rtrim, trim,
length, extract, replace. Utility functions starts_with, contains
and ends_with are also available.
Those functions are in the text module (@PrettyWood, #3913, #3973)
Formatting a date to a text is now available for Clickhouse, DuckDB, MySQL,
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.
Stop removing spaces from walrus operators within subscripts (#3823)
Fix incorrect formatting of certain async statements (#3609)
Allow combining # fmt: skip with other comments (#3959)
There are already a few improvements in the --preview style, which are slated for the
2025 stable style. Try them out and
share your feedback. In the past, the preview
style has included some features that we were not able to stabilize. This year, we're
Stop removing spaces from walrus operators within subscripts (#3823)
Fix incorrect formatting of certain async statements (#3609)
Allow combining # fmt: skip with other comments (#3959)
There are already a few improvements in the --preview style, which are slated for the
2025 stable style. Try them out and
share your feedback. In the past, the preview
style has included some features that we were not able to stabilize. This year, we're
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 6 updates:
1.59.1
2.2.0
4.65.2
4.66.1
10.1.0
10.2.0
0.9.5
0.11.1
5.9.6
5.9.8
23.7.0
24.1.1
Updates
pygithub
from 1.59.1 to 2.2.0Release notes
Sourced from pygithub's releases.
... (truncated)
Changelog
Sourced from pygithub's changelog.
... (truncated)
Commits
7e7653f
Release v2.2.0 (#2886)49d07d1
Add parent_team_id, maintainers and notification_setting for creating and upd...cc4c526
Add support for issue reactions summary (#2866)2d284d1
MakeRepository.compare().commits
return paginated list (#2882)14af705
Support for DependabotAlert APIs (#2879)d0caa3c
Derive GraphQL URL from base_url (#2880)e47c153
Add missing branch protection fields (#2873)34c4642
Addinclude_all_branches
tocreate_repo_from_template
of `AuthenticatedUs...603896f
Add and update organisation dependabot secrets (#2316)2f44b2e
Update the class name for NetrcAuth in the examples (#2860)Updates
tqdm
from 4.65.2 to 4.66.1Release notes
Sourced from tqdm's releases.
Commits
4c956c2
Merge pull request #1493 from tqdm/devel6ce50be
utils.envwrap: fix typesf12b8bc
drop old python versionsd69cc90
bump version, merge pull request #1491 from tqdm/envwrapd434a3c
tests & docs: minor tidy84546d6
fix edge cases & windows testsfff3bf5
docs: mention envwrap1411a0f
utils.envwrap: fix unused var, add tests6feef44
docs: fix image hosting38593d8
ci: release with bot account againUpdates
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.1Release notes
Sourced from prql-python's releases.
... (truncated)
Changelog
Sourced from prql-python's changelog.
... (truncated)
Commits
7500343
docs: Changelog for 0.11.1 (#4002)2ceec4e
chore: bump sqlparser from 0.40.0 to 0.41.0 (#4010)e23a5f8
chore: bump the patch group with 4 updates (#4009)71c7095
chore: pre-commit autoupdate (#4008)c605bbf
feat: addstd.prql
module and rename thestd.prql_version
function to `st...f570842
devops: Format C files (#4003)94a652a
feat: infer array to be of type of union of items (#3989)3479ab4
feat: unioning of tuples and arrays (#3999)6187395
refactor: cleanup a few functions (#3998)711689a
feat: type difference (#3993)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.1.1Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.
... (truncated)
Commits
e026c93
Prepare release 24.1.1 (#4186)79fc115
chore: ignore node_modules (produced by a pre-commit check) (#4184)8bf0454
Consistently add trailing comma on typed parameters (#4164)1607e9a
Fix missing space in option description (#4182)ed770ba
Fix cache file length (#4176)659c29a
New changelog0e6e46b
Prepare release 24.1.0 (#4170)4f47cac
Add --unstable flag (#4096)bccec8a
Show warning on invalid toml configuration (#4165)7d78946
Describe 2024 module docstring more accurately (#4168)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show