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.
You can also install typer-slim[standard], which includes the default optional dependencies, but not the typer command.
In version 0.12.0 the typer-cli package only provides the typer command, but the code is still in the main code, so even without installing typer-cli, it can be called with python -m typer.
This approach of having typer depend on typer-slim[standard] instead of including the whole code and dependencies itself caused an issue when upgrading from typer <0.12.0 to typer >=0.12.0, see issue #790. This is fixed in version 0.12.1.
Features
✨ Add typer-slim package without extras, make typer include typer-slim[default] and integrate Typer CLI (typer command) into Typer. PR #780 by @tiangolo.
Internal
🔧 Temporarily disable social plugin while a MkDocs issue is handled. PR #779 by @tiangolo.
👷 Fix install MkDocs Insiders only when available. PR #778 by @tiangolo.
0.11.1
Fixes
🔧 Explicitly include testing files in sdist for redistributors (e.g. OpenSUSE) and add CI to test redistribution. PR #773 by @tiangolo.
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.
You can also install typer-slim[standard], which includes the default optional dependencies, but not the typer command.
In version 0.12.0 the typer-cli package only provides the typer command, but the code is still in the main code, so even without installing typer-cli, it can be called with python -m typer.
This approach of having typer depend on typer-slim[standard] instead of including the whole code and dependencies itself caused an issue when upgrading from typer <0.12.0 to typer >=0.12.0, see issue #790. This is fixed in version 0.12.1.
Features
✨ Add typer-slim package without extras, make typer include typer-slim[default] and integrate Typer CLI (typer command) into Typer. PR #780 by @tiangolo.
Internal
🔧 Temporarily disable social plugin while a MkDocs issue is handled. PR #779 by @tiangolo.
👷 Fix install MkDocs Insiders only when available. PR #778 by @tiangolo.
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.0. There are no new features, just bug fixes. Database files created by DuckDB v0.10.0 or v0.9.* can be read by DuckDB v0.10.1.
[CSV Sniffer] Minor sniffer tweak to give preference to dialects that generate the least errors if ignore_errors = true by @pdet in duckdb/duckdb#10777
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.
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
of Black would incorrectly format the contents of certain unusual f-strings containing
nested strings with the same quote type. Now, Black will crash on such strings until
support for the new f-string syntax is implemented. (#4270)
Fix a bug where line-ranges exceeding the last code line would not work as expected
(#4273)
Performance
Fix catastrophic performance on docstrings that contain large numbers of leading tab
characters. This fixes
CVE-2024-21503.
(#4278)
Documentation
Note what happens when --check is used with --quiet (#4236)
24.2.0
Stable style
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).
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
of Black would incorrectly format the contents of certain unusual f-strin...
_Description has been truncated_
Bumps the dependencies group with 8 updates:
0.9.0
0.12.1
1.59.1
2.3.0
0.9.2
0.10.1
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.3.0
Updates
typer
from 0.9.0 to 0.12.1Release notes
Sourced from typer's releases.
... (truncated)
Changelog
Sourced from typer's changelog.
... (truncated)
Commits
f94b484
🔖 Release version 0.12.13d1c32b
📝 Update release notes87384b3
📝 Update release notes05ffb24
🐛 Fix broken installation when upgrading fromtyper \<0.12.0
to `typer >=0.1...8bac821
📝 Update release notes2a19c0c
👷 Add cron to run test once a week on monday (#783)968d81d
📝 Update release notesbdaa5c6
✨ Add support fortyper ./someprogram.py utils docs --title
(#782)ef9beaf
🔖 Release version 0.12.08b02247
📝 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.1Release notes
Sourced from duckdb's releases.
... (truncated)
Commits
867df6f
Disable jemalloc on arm in Python extension as wella655c5c
[Dev] get_git_describe: Allow 'g' to be prepended to hash587d76f
Merge pull request #11209 from carlopi/fix_py_override_describe6686dcf
[Dev] More fixes to get_git_describe logic6d0039c
[Dev] catch only subprocess.CalledProcessError, with@Tishj
7faa4c7
separate out the fixesc353a1a
[Dev] Add import to tools/pythonpkg/setup.pyb72b993
Merge pull request #11175 from cmdlineluser/is-null-or-not-is-null8c8991c
Python: explcitly provide version in setup.py4c68838
Add stubsUpdates
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.3.0Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.