verify=True now reuses a global SSLContext which should improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a Python
version built with OpenSSL 3.x. (#6667)
Requests now supports optional use of character detection
(chardet or charset_normalizer) when repackaged or vendored.
This enables pip and other projects to minimize their vendoring
surface area. The Response.text() and apparent_encoding APIs
will default to utf-8 if neither library is present. (#6702)
Bugfixes
Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (#6589)
Fixed deserialization bug in JSONDecodeError. (#6629)
Fixed bug where an extra leading / (path separator) could lead
urllib3 to unnecessarily reparse the request URI. (#6644)
Deprecations
Requests has officially added support for CPython 3.12 (#6503)
Requests has officially added support for PyPy 3.9 and 3.10 (#6641)
Requests has officially dropped support for CPython 3.7 (#6642)
Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)
Documentation
Various typo fixes and doc improvements.
Packaging
Requests has started adopting some modern packaging practices.
The source files for the projects (formerly requests) is now located
in src/requests in the Requests sdist. (#6506)
Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system
using hatchling. This should not impact the average user, but extremely old
versions of packaging utilities may have issues with the new packaging format.
verify=True now reuses a global SSLContext which should improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a Python
version built with OpenSSL 3.x. (#6667)
Requests now supports optional use of character detection
(chardet or charset_normalizer) when repackaged or vendored.
This enables pip and other projects to minimize their vendoring
surface area. The Response.text() and apparent_encoding APIs
will default to utf-8 if neither library is present. (#6702)
Bugfixes
Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (#6589)
Fixed deserialization bug in JSONDecodeError. (#6629)
Fixed bug where an extra leading / (path separator) could lead
urllib3 to unnecessarily reparse the request URI. (#6644)
Deprecations
Requests has officially added support for CPython 3.12 (#6503)
Requests has officially added support for PyPy 3.9 and 3.10 (#6641)
Requests has officially dropped support for CPython 3.7 (#6642)
Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)
Documentation
Various typo fixes and doc improvements.
Packaging
Requests has started adopting some modern packaging practices.
The source files for the projects (formerly requests) is now located
in src/requests in the Requests sdist. (#6506)
Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system
using hatchling. This should not impact the average user, but extremely old
📝 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)
Bumps the dependencies group with 9 updates in the / directory:
2.31.0
2.32.1
0.9.0
0.12.3
1.59.1
2.3.0
0.9.2
0.10.2
4.65.2
4.66.4
10.1.0
10.2.0
0.9.5
0.11.2
5.9.6
5.9.8
23.7.0
24.4.2
Updates
requests
from 2.31.0 to 2.32.1Release notes
Sourced from requests's releases.
... (truncated)
Changelog
Sourced from requests's changelog.
... (truncated)
Commits
970e8ce
v2.32.1d6ebc4a
v2.32.09a40d12
Avoid reloading root certificates to improve concurrent performance (#6667)0c030f7
Merge pull request #6702 from nateprewitt/no_char_detection555b870
Allow character detection dependencies to be optional in post-packaging stepsd6dded3
Merge pull request #6700 from franekmagiera/update-redirect-to-invalid-uri-testbf24b7d
Use an invalid URI that will not cause httpbin to throw 5002d5f547
Pin 3.8 and 3.9 runners back to macos-13 (#6688)f1bb07d
Merge pull request #6687 from psf/dependabot/github_actions/github/codeql-act...60047ad
Bump github/codeql-action from 3.24.0 to 3.25.0Updates
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.4Release notes
Sourced from tqdm's releases.
Commits
7472295
bump version, merge pull request #1578 from tqdm/devele84d488
tests: bump pre-commit7c8753f
Merge pull request #1395 from glensc/patch-1d7f469e
Add display to close in rich moduled774884
tidysuper()
calls4e613f8
Merge pull request from GHSA-g7vv-2v7x-gj9pb53348c
cli: eval safetycc372d0
bump version, merge pull request #1549 from tqdm/devele9f0c05
use PyPI trusted publishing7323d5b
slight makefile cleanUpdates
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 (Superseded by #69.