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:
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.
Fixed a bug where comments where mistakenly removed along with redundant parentheses
(#4218)
Preview style
Move the hug_parens_with_braces_and_square_brackets feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (#4198)
Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
expression (#4154)
Checking for newline before adding one on docstring that is almost at the line limit
(#4185)
Remove redundant parentheses in case statement if guards (#4214).
Configuration
Fix issue where Black would ignore input files in the presence of symlinks (#4222)
Black now ignores pyproject.toml that is missing a tool.black section when
discovering project root and configuration. Since Black continues to use version
control as an indicator of project root, this is expected to primarily change behavior
for users in a monorepo setup (desirably). If you wish to preserve previous behavior,
simply add an empty [tool.black] to the previously discovered pyproject.toml
(#4204)
Output
Black will swallow any SyntaxWarnings or DeprecationWarnings produced by the ast
module when performing equivalence checks (#4189)
Integrations
Add a JSONSchema and provide a validate-pyproject entry-point (#4181)
24.1.1
Bugfix release to fix a bug that made Black unusable on certain file systems
with strict limits on path length.
Preview style
Consistently add trailing comma on typed parameters (#4164)
Configuration
Shorten the length of the name of the cache file to fix crashes on file systems that
do not support long paths (#4176)
Fixed a bug where comments where mistakenly removed along with redundant parentheses
(#4218)
Preview style
Move the hug_parens_with_braces_and_square_brackets feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (#4198)
Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
expression (#4154)
Checking for newline before adding one on docstring that is almost at the line limit
(#4185)
Remove redundant parentheses in case statement if guards (#4214).
Configuration
Fix issue where Black would ignore input files in the presence of symlinks (#4222)
Black now ignores pyproject.toml that is missing a tool.black section when
discovering project root and configuration. Since Black continues to use version
control as an indicator of project root, this is expected to primarily change behavior
for users in a monorepo setup (desirably). If you wish to preserve previous behavior,
simply add an empty [tool.black] to the previously discovered pyproject.toml
(#4204)
Output
Black will swallow any SyntaxWarnings or DeprecationWarnings produced by the ast
module when performing equivalence checks (#4189)
Integrations
Add a JSONSchema and provide a validate-pyproject entry-point (#4181)
24.1.1
Bugfix release to fix a bug that made Black unusable on certain file systems with strict
limits on path length.
Preview style
Consistently add trailing comma on typed parameters (#4164)
Configuration
Shorten the length of the name of the cache file to fix crashes on file systems that
do not support long paths (#4176)
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.2
10.1.0
10.2.0
0.9.5
0.11.2
5.9.6
5.9.8
23.7.0
24.2.0
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.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.2.0Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.
... (truncated)
Commits
6fdf8a4
Prepare release 24.2.0 (#4226)8af4394
fix: Don't remove comments along with parens (#4218)35e9776
Bump pre-commit/action from 3.0.0 to 3.0.1 (#4225)23dfc5b
Fix ignoring input files for symlink reasons (#4222)a201003
Simplify check for symlinks that resolve outside root (#4221)dab37a6
Remove redundant parentheses incase
statementif
guards (#4214)32230e6
fix: bug where the doublestar operation had inconsistent formatting. (#4154)7edb50f
fix: additional newline added to docstring when the previous line length is l...3e80de3
Bump furo from 2023.9.10 to 2024.1.29 in /docs (#4211)a08b480
Bump pypa/cibuildwheel from 2.16.4 to 2.16.5 (#4212)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