⬆️(project) upgrade python dependencies #48
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.5.0
->==2.0.0
==0.110.2
->==0.111.0
==2.15.0
->==2.16.0
==8.1.1
->==8.2.0
==0.4.3
->==0.4.4
Release Notes
wireservice/csvkit (csvkit)
v2.0.0
Compare Source
This is the first major release since December 27, 2016. Thank you to all :ref:
contributors<authors>
, including 44 new contributors since 1.0.0!Want to use csvkit programmatically? Check out
agate <https://agate.readthedocs.io/en/latest/>
__, used internally by csvkit.BACKWARDS-INCOMPATIBLE CHANGES:
:doc:
/scripts/csvclean
now writes its output to standard output and its errors to standard error, instead of tobasename_out.csv
andbasename_err.csv
files. Consequently:--dry-run
option is removed. The :code:--dry-run
option changed error output from the CSV format used inbasename_err.csv
files to a prosaic format likeLine 1: Expected 2 columns, found 3 columns
.No errors.
,42 errors logged to basename_err.csv
and42 rows were joined/reduced to 24 rows after eliminating expected internal line breaks.
is not written.:doc:
/scripts/csvclean
no longer reports or fixes errors by default; it errors if no checks or fixes are enabled. Opt in to the original behavior using the :code:--length-mismatch
and :code:--join-short-rows
options. See new options below.:doc:
/scripts/csvclean
no longer omits rows with errors from the output. Opt in to the original behavior using the :code:--omit-error-rows
option.:doc:
/scripts/csvclean
joins short rows using a newline by default, instead of a space. Restore the original behavior using the :code:--separator " "
option.In brief, to restore the original behavior for :doc:
/scripts/csvclean
:.. code-block:: bash
csvclean --length-mismatch --omit-error-rows --join-short-rows --separator " " myfile.csv
Other changes:
feat: :doc:
/scripts/csvclean
adds the options:--length-mismatch
, to error on data rows that are shorter or longer than the header row--empty-columns
, to error on empty columns--enable-all-checks
, to enable all error reporting--omit-error-rows
, to omit data rows that contain errors, from standard output--label LABEL
, to add a "label" column to standard error--header-normalize-space
, to strip leading and trailing whitespace and replace sequences of whitespace characters by a single space in the header--join-short-rows
, to merge short rows into a single row--separator SEPARATOR
, to change the string with which to join short rows (default is newline)--fill-short-rows
, to fill short rows with the missing cells--fillvalue FILLVALUE
, to change the value with which to fill short rows (default is none)feat: The :code:
--quoting
option accepts 4 (csv.QUOTE_STRINGS <https://docs.python.org/3/library/csv.html#csv.QUOTE_STRINGS>
) and 5 (csv.QUOTE_NOTNULL <https://docs.python.org/3/library/csv.html#csv.QUOTE_NOTNULL>
) on Python 3.12.feat: :doc:
/scripts/csvformat
: The :code:--out-quoting
option accepts 4 (csv.QUOTE_STRINGS <https://docs.python.org/3/library/csv.html#csv.QUOTE_STRINGS>
) and 5 (csv.QUOTE_NOTNULL <https://docs.python.org/3/library/csv.html#csv.QUOTE_NOTNULL>
) on Python 3.12.fix: :doc:
/scripts/csvformat
: The :code:--out-quoting
option works with 2 (csv.QUOTE_NONUMERIC <https://docs.python.org/3/library/csv.html#csv.QUOTE_NOTNUMERIC>
__). Use the :code:--locale
option to set the locale of any formatted numbers.fix: :doc:
/scripts/csvclean
: The :code:--join-short-rows
option no longer reports length mismatch errors that were fixed.tiangolo/fastapi (fastapi)
v0.111.0
Compare Source
Features
fastapi
command. PR #11522 by @tiangolo.Try it out with:
Refactors
fastapi-slim
including optional extrasfastapi-slim[standard]
, andfastapi
including by default the samestandard
extras. PR #11503 by @tiangolo.v0.110.3
Compare Source
Latest Changes
Docs
fastapi/security/api_key.py
. PR #11481 by @ch33zer.security/http.py
. PR #11455 by @omarmoo5.Translations
docs/zh-hant/benchmarks.md
. PR #11484 by @KNChiu.docs/zh/docs/fastapi-people.md
. PR #11476 by @billzhong.docs/zh/docs/how-to/index.md
anddocs/zh/docs/how-to/general.md
. PR #11443 by @billzhong.docs/es/docs/tutorial/cookie-params.md
. PR #11410 by @fabianfalon.Internal
litestar-org/polyfactory (polyfactory)
v2.16.0
Compare Source
Sponsors 🌟
Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
New Contributors
Fixes 🔧
New Features 🚀
Docs 📚
Infra 🚆
Full Changelog: litestar-org/polyfactory@v2.15.0...v2.16.0
pytest-dev/pytest (pytest)
v8.2.0
Compare Source
pytest 8.2.0 (2024-04-27)
Deprecations
#12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated
py.path.local
parameter instead of thepathlib.Path
parameter which replaced it:pytest_ignore_collect
{.interpreted-text role="hook"} - thepath
parameter - usecollection_path
instead.pytest_collect_file
{.interpreted-text role="hook"} - thepath
parameter - usefile_path
instead.pytest_pycollect_makemodule
{.interpreted-text role="hook"} - thepath
parameter - usemodule_path
instead.pytest_report_header
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.pytest_report_collectionfinish
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.The replacement parameters are available since pytest 7.0.0.
The old parameters will be removed in pytest 9.0.0.
See
legacy-path-hooks-deprecated
{.interpreted-text role="ref"} for more details.Features
#11871: Added support for reading command line arguments from a file using the prefix character
@
, like e.g.:pytest @​tests.txt
. The file must have one argument per line.See
Read arguments from file <args-from-file>
{.interpreted-text role="ref"} for details.Improvements
#11523:
pytest.importorskip
{.interpreted-text role="func"} will now issue a warning if the module could be found, but raisedImportError
{.interpreted-text role="class"} instead ofModuleNotFoundError
{.interpreted-text role="class"}.The warning can be suppressed by passing
exc_type=ImportError
topytest.importorskip
{.interpreted-text role="func"}.See
import-or-skip-import-error
{.interpreted-text role="ref"} for details.#11728: For
unittest
-based tests, exceptions during class cleanup (as raised by functions registered withTestCase.addClassCleanup <unittest.TestCase.addClassCleanup>
{.interpreted-text role="meth"}) are now reported instead of silently failing.#11777: Text is no longer truncated in the
short test summary info
section when-vv
is given.#12112: Improved namespace packages detection when
consider_namespace_packages
{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).#9502: Added
PYTEST_VERSION
{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value ofpytest.__version__
, and among other things can be used to easily check if code is running from within a pytest run.Bug Fixes
#12065: Fixed a regression in pytest 8.0.0 where test classes containing
setup_method
and tests using@staticmethod
or@classmethod
would crash withAttributeError: 'NoneType' object has no attribute 'setup_method'
.Now the
request.instance <pytest.FixtureRequest.instance>
{.interpreted-text role="attr"} attribute of tests using@staticmethod
and@classmethod
is no longerNone
, but a fresh instance of the class, like in non-static methods.Previously it was
None
, and all fixtures of such tests would share a singleself
.#12135: Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances.
#12194: Fixed a bug with
--importmode=importlib
and--doctest-modules
where child modules did not appear as attributes in parent modules.#1489: Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in.
Trivial/Internal Changes
pluggy>=1.5.0
is now required.cache <cache>
{.interpreted-text role="ref"}: create supporting files (CACHEDIR.TAG
,.gitignore
, etc.) in a temporary directory to provide atomic semantics.v8.1.2
Compare Source
pytest 8.1.2 (2024-04-26)
Bug Fixes
pytest.approx
{.interpreted-text role="func"} when used with [numpy]{.title-ref} arrays and comparing with other types.astral-sh/ruff (ruff)
v0.4.4
Compare Source
Preview features
pycodestyle
] Ignore end-of-line comments when determining blank line rules (#11342)pylint
] Detectpathlib.Path.open
calls inunspecified-encoding
(PLW1514
) (#11288)flake8-pyi
] ImplementPYI059
(generic-not-last-base-class
) (#11233)flake8-pyi
] ImplementPYI062
(duplicate-literal-member
) (#11269)Rule changes
flake8-boolean-trap
] Allow passing booleans as positional-only arguments in code such asset(True)
(#11287)flake8-bugbear
] Ignore enum classes incached-instance-method
(B019
) (#11312)Server
ruff server
hanging after Neovim closes (#11291)Bug fixes
pylint
] Considerwith
statements fortoo-many-branches
(PLR0912
) (#11321)flake8-blind-except
,tryceratops
] Respect logged and re-raised expressions in nested statements (BLE001
,TRY201
) (#11301)__all__ = builtins.list(["foo", "bar"])
as valid__all__
definitions (#11335)Configuration
📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.