The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.
8.3.0
pytest 8.3.0 (2024-07-20)
New features
#12231: Added [--xfail-tb]{.title-ref} flag, which turns on traceback output for XFAIL results.
If the [--xfail-tb]{.title-ref} flag is not given, tracebacks for XFAIL results are NOT shown.
The style of traceback for XFAIL is set with [--tb]{.title-ref}, and can be [auto|long|short|line|native|no]{.title-ref}.
Note: Even if you have [--xfail-tb]{.title-ref} set, you won't see them if [--tb=no]{.title-ref}.
Some history:
With pytest 8.0, [-rx]{.title-ref} or [-ra]{.title-ref} would not only turn on summary reports for xfail, but also report the tracebacks for xfail results. This caused issues with some projects that utilize xfail, but don't want to see all of the xfail tracebacks.
This change detaches xfail tracebacks from [-rx]{.title-ref}, and now we turn on xfail tracebacks with [--xfail-tb]{.title-ref}. With this, the default [-rx]{.title-ref}/ [-ra]{.title-ref} behavior is identical to pre-8.0 with respect to xfail tracebacks. While this is a behavior change, it brings default behavior back to pre-8.0.0 behavior, which ultimately was considered the better course of action.
#12281: Added support for keyword matching in marker expressions.
Now tests can be selected by marker keyword arguments.
Supported values are int{.interpreted-text role="class"}, (unescaped) str{.interpreted-text role="class"}, bool{.interpreted-text role="class"} & None{.interpreted-text role="data"}.
See marker examples <marker_keyword_expression_example>{.interpreted-text role="ref"} for more information.
-- by lovetheguitar{.interpreted-text role="user"}
#12567: Added --no-fold-skipped command line option.
If this option is set, then skipped tests in short summary are no longer grouped
by reason but all tests are printed individually with their nodeid in the same
way as other statuses.
-- by pbrezina{.interpreted-text role="user"}
Improvements in existing functionality
#12469: The console output now uses the "third-party plugins" terminology,
replacing the previously established but confusing and outdated
reference to setuptools <setuptools:index>{.interpreted-text role="std:doc"}
-- by webknjaz{.interpreted-text role="user"}.
#12544, #12545: Python virtual environment detection was improved by
checking for a pyvenv.cfg{.interpreted-text role="file"} file, ensuring reliable detection on
various platforms -- by zachsnickers{.interpreted-text role="user"}.
Add cert_file and key_file to your sentry_sdk.init to use a custom client cert and key. Alternatively, the environment variables CLIENT_CERT_FILE and CLIENT_KEY_FILE can be used as well.
OpenAI: Lazy initialize tiktoken to avoid http at import time (#3287) by @colin-sentry
OpenAI, Langchain: Make tiktoken encoding name configurable + tiktoken usage opt-in (#3289) by @colin-sentry
Fixed a bug where having certain packages installed along the Sentry SDK caused an HTTP request to be made to OpenAI infrastructure when the Sentry SDK was initialized. The request was made when the tiktoken package and at least one of the openai or langchain packages were installed.
The request was fetching a tiktoken encoding in order to correctly measure token usage in some OpenAI and Langchain calls. This behavior is now opt-in. The choice of encoding to use was made configurable as well. To opt in, set the tiktoken_encoding_name parameter in the OpenAPI or Langchain integration.
Add cert_file and key_file to your sentry_sdk.init to use a custom client cert and key. Alternatively, the environment variables CLIENT_CERT_FILE and CLIENT_KEY_FILE can be used as well.
OpenAI: Lazy initialize tiktoken to avoid http at import time (#3287) by @colin-sentry
OpenAI, Langchain: Make tiktoken encoding name configurable + tiktoken usage opt-in (#3289) by @colin-sentry
Fixed a bug where having certain packages installed along the Sentry SDK caused an HTTP request to be made to OpenAI infrastructure when the Sentry SDK was initialized. The request was made when the tiktoken package and at least one of the openai or langchain packages were installed.
The request was fetching a tiktoken encoding in order to correctly measure token usage in some OpenAI and Langchain calls. This behavior is now opt-in. The choice of encoding to use was made configurable as well. To opt in, set the tiktoken_encoding_name parameter in the OpenAPI or Langchain integration.
GeoPandas 1.0 drops support for shapely<2 and PyGEOS. The only geometry engine that is
currently supported is shapely >= 2. As a consequence, spatial indexing based on the
rtree package has also been removed (#3035).
The I/O engine now defaults to Pyogrio which is now installed with GeoPandas instead
of Fiona (#3223).
New methods:
Added count_geometries method from shapely to GeoSeries/GeoDataframe (#3154).
Added count_interior_rings method from shapely to GeoSeries/GeoDataframe (#3154)
Added relate_pattern method from shapely to GeoSeries/GeoDataframe (#3211).
Added intersection_all method from shapely to GeoSeries/GeoDataframe (#3228).
Added line_merge method from shapely to GeoSeries/GeoDataframe (#3214).
Added set_precision and get_precision methods from shapely to GeoSeries/GeoDataframe (#3175).
Added count_coordinates method from shapely to GeoSeries/GeoDataframe (#3026).
Added minimum_clearance method from shapely to GeoSeries/GeoDataframe (#2989).
Added shared_paths method from shapely to GeoSeries/GeoDataframe (#3215).
Added is_ccw method from shapely to GeoSeries/GeoDataframe (#3027).
Added is_closed attribute from shapely to GeoSeries/GeoDataframe (#3092).
Added force_2d and force_3d methods from shapely to GeoSeries/GeoDataframe (#3090).
Added voronoi_polygons method from shapely to GeoSeries/GeoDataframe (#3177).
Added contains_properly method from shapely to GeoSeries/GeoDataframe (#3105).
Added build_area method exposing build_area shapely to GeoSeries/GeoDataframe (#3202).
Added snap method from shapely to GeoSeries/GeoDataframe (#3086).
Added transform method from shapely to GeoSeries/GeoDataFrame (#3075).
Added get_geometry method from shapely to GeoSeries/GeoDataframe (#3287).
Added dwithin method to check for a "distance within" predicate on
GeoSeries/GeoDataFrame (#3153).
Added to_geo_dict method to generate GeoJSON-like dictionary from a GeoDataFrame (#3132).
Added polygonize method exposing both polygonize and polygonize_full from
shapely to GeoSeries/GeoDataframe (#2963).
Added is_valid_reason method from shapely to GeoSeries/GeoDataframe (#3176).
Added to_arrow method and from_arrow class method to
GeoSeries/GeoDataFrame to export and import to/from Arrow data with GeoArrow
extension types (#3219, #3301).
Support a named datetime or object dtype index in explore() (#3360, #3364).
Fix a regression preventing a Series as an argument for geometric methods (#3363)
Version 1.0.0 (June 24, 2024)
Notes on dependencies:
GeoPandas 1.0 drops support for shapely<2 and PyGEOS. The only geometry engine that is
currently supported is shapely >= 2. As a consequence, spatial indexing based on the
rtree package has also been removed (#3035).
The I/O engine now defaults to Pyogrio which is now installed with GeoPandas instead
of Fiona (#3223).
New methods:
Added count_geometries method from shapely to GeoSeries/GeoDataframe (#3154).
Added count_interior_rings method from shapely to GeoSeries/GeoDataframe (#3154)
Added relate_pattern method from shapely to GeoSeries/GeoDataframe (#3211).
Added intersection_all method from shapely to GeoSeries/GeoDataframe (#3228).
Added line_merge method from shapely to GeoSeries/GeoDataframe (#3214).
Added set_precision and get_precision methods from shapely to GeoSeries/GeoDataframe (#3175).
Added count_coordinates method from shapely to GeoSeries/GeoDataframe (#3026).
Added minimum_clearance method from shapely to GeoSeries/GeoDataframe (#2989).
Added shared_paths method from shapely to GeoSeries/GeoDataframe (#3215).
Added is_ccw method from shapely to GeoSeries/GeoDataframe (#3027).
Added is_closed attribute from shapely to GeoSeries/GeoDataframe (#3092).
Added force_2d and force_3d methods from shapely to GeoSeries/GeoDataframe (#3090).
Added voronoi_polygons method from shapely to GeoSeries/GeoDataframe (#3177).
Added contains_properly method from shapely to GeoSeries/GeoDataframe (#3105).
Added build_area method exposing build_area shapely to GeoSeries/GeoDataframe (#3202).
Added snap method from shapely to GeoSeries/GeoDataframe (#3086).
Added transform method from shapely to GeoSeries/GeoDataFrame (#3075).
Added get_geometry method from shapely to GeoSeries/GeoDataframe (#3287).
Added dwithin method to check for a "distance within" predicate on
GeoSeries/GeoDataFrame (#3153).
Added to_geo_dict method to generate GeoJSON-like dictionary from a GeoDataFrame (#3132).
Added polygonize method exposing both polygonize and polygonize_full from
shapely to GeoSeries/GeoDataframe (#2963).
Added is_valid_reason method from shapely to GeoSeries/GeoDataframe (#3176).
Added to_arrow method and from_arrow class method to
GeoSeries/GeoDataFrame to export and import to/from Arrow data with GeoArrow
extension types (#3219, #3301).
New features and improvements:
Added predicate="dwithin" option and distance argument to the sindex.query() method
... (truncated)
Commits
747d66e BUG: Explore json non serialisable index fix (#3364)
16d4571 REGR: fix regression preventing a Series as an arg for geo methods (#3363)
7d460d9 BUG: support datetime in named index in explore() (#3360)
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 in the / directory:
4.3.1
4.4.0
3.15.1
3.15.2
8.2.2
8.3.1
2.5.1
2.10.0
6.6.0
6.7.0
0.14.4
1.0.1
Updates
django-cors-headers
from 4.3.1 to 4.4.0Changelog
Sourced from django-cors-headers's changelog.
Commits
644105c
Version 4.4.0d73e42a
Tidy pyproject.toml readme and license fields42b898a
Support Django 5.1 (#953)77ab304
[pre-commit.ci] pre-commit autoupdate (#952)4a7df58
Upgrade requirements (#951)b3ce0fc
[pre-commit.ci] pre-commit autoupdate (#950)ef2b81c
[pre-commit.ci] pre-commit autoupdate (#949)ce74293
Upgrade requirements (#948)4fcb9fd
[pre-commit.ci] pre-commit autoupdate (#946)715d471
[pre-commit.ci] pre-commit autoupdate (#945)Updates
djangorestframework
from 3.15.1 to 3.15.2Commits
c7a7eae
Version 3.15.2 (#9439)3b41f01
Fix potential XSS vulnerability in break_long_headers template filter (#9435)fe92f0d
Add__hash__
method forpermissions.OperandHolder
class (#9417)fbdab09
docs: Correct some evaluation results and a httpie option in Tutorial1 (#9421)36d5c0e
tests: Check urlpatterns after cleanups (#9400)9d4ed05
Don't use Windows line endingsb34bde4
Fix typo in setup.cfg settingab681f2
Update requirements in docs2237724
bump pygments (security hygiene)d58b8da
Update deprecation hintsUpdates
django
from 5.0.6 to 5.0.7Commits
deec9b9
[5.0.x] Bumped version for 5.0.7 release.3a7bf7f
[5.0.x] Made cosmetic edits to 5.0.7 release notes.8e7a44e
[5.0.x] Fixed CVE-2024-39614 -- Mitigated potential DoS in get_supported_lang...9f4f63e
[5.0.x] Fixed CVE-2024-39330 -- Added extra file name validation in Storage's...07cefde
[5.0.x] Fixed CVE-2024-39329 -- Standarized timing of verify_password() when ...7285644
[5.0.x] Fixed CVE-2024-38875 -- Mitigated potential DoS in urlize and urlizet...8303400
[5.0.x] Fixed 35506 -- Clarified initial references to URLconf in tutorial 1.c76089b
[5.0.x] Refs #35560 -- Corrected CheckConstraint argument name in model_field...43aa0c1
[5.0.x] Removed outdated note about limitations in Clickjacking protection.0602fc2
[5.0.x] Fixed #35560 -- Made Model.full_clean() ignore GeneratedFields for co...Updates
pytest
from 8.2.2 to 8.3.1Release notes
Sourced from pytest's releases.
... (truncated)
Commits
de98446
Prepare release version 8.3.1bd0a042
Merge pull request #12636 from pytest-dev/update-release-notes664325b
doc/changelog: update 8.3.0 notes19d225d
Merge pull request #12635 from pytest-dev/release-8.3.0bc33028
Prepare release version 8.3.0a7d5a8e
Merge pull request #12557 from x612skm/maintainence/11771-pypy-3.9-bumpced7072
Add a change note for PR #11771d42b76d
Adjust test_errors_in_xfail_skip_expressions for PyPy9eee45a
Bump PyPy runtime to v3.9 @ GHAd489247
Fix caching of parameterized fixtures (#12600)Updates
sentry-sdk
from 2.5.1 to 2.10.0Release notes
Sourced from sentry-sdk's releases.
... (truncated)
Changelog
Sourced from sentry-sdk's changelog.
... (truncated)
Commits
b026dbd
Update CHANGELOG.mdc45640b
release: 2.10.05bad5c6
feat(openai): Make tiktoken encoding name configurable + tiktoken usage opt-i...84a2afc
feat(pymongo): Send query description as valid JSON (#3291)301c4b8
OpenAI: Lazy initialize tiktoken to avoid http at import time (#3287)ae034ab
ref(consts): Remove Python 2 compatibility code (#3284)8a95971
docs(init): Fixsentry_sdk.init
type hint (#3283)4fb51f2
Add the client cert and key support to HttpTransport (#3258)06d5da1
ref(profiling): Deprecatehub
inProfile
(#3270)1e82809
ref(init): Stop usingHub
ininit
Updates
whitenoise
from 6.6.0 to 6.7.0Changelog
Sourced from whitenoise's changelog.
Commits
1db0e43
Version 6.7.0ea72844
Tidy pyproject.toml readme and license fields727fce0
Support Django 5.1 (#588)1c2d056
[pre-commit.ci] pre-commit autoupdate (#587)dc58053
Upgrade requirements (#586)cff77f3
[pre-commit.ci] pre-commit autoupdate (#585)da24115
Merge pull request #584 from evansd/security-contact5c12dd6
Add security contact information220a988
[pre-commit.ci] pre-commit autoupdate (#583)b0c36de
Upgrade requirements (#582)Updates
geopandas
from 0.14.4 to 1.0.1Release notes
Sourced from geopandas's releases.
... (truncated)
Changelog
Sourced from geopandas's changelog.
... (truncated)
Commits
747d66e
BUG: Explore json non serialisable index fix (#3364)16d4571
REGR: fix regression preventing a Series as an arg for geo methods (#3363)7d460d9
BUG: support datetime in named index in explore() (#3360)d88e60f
DOC: Fix small typos inio.file
(#3356)15a7fc6
DOC: Add arrow IO methods to API docs (#3352)d8e14e1
RLS: v1.0.0c6f66ad
TST: Add test covering passing geojson string to read file (#3347)217772b
ENH: add attribute requirement with spatial join (#3231)7c621fe
DOC: Documentation tidy up (#3348)0618b22
Avoid read_feather to decode metadata twice + fix _arrow_to_geopandas for das...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