#12652: Resolve regression [conda]{.title-ref} environments where no longer being automatically detected.
-- by RonnyPfannschmidt{.interpreted-text role="user"}
8.3.1
pytest 8.3.1 (2024-07-20)
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.
Disabling individual integrations is now much easier. Instead of disabling all automatically enabled integrations and specifying the ones you want to keep, you can now use the new disabled_integrations config option to provide a list of integrations to disable:
import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration
sentry_sdk.init(
# Do not use the Flask integration even if Flask is installed.
disabled_integrations=[
FlaskIntegration(),
],
)
Use operation name as transaction name in Strawberry (#3294) by @sentrivana
WSGI integrations respect SCRIPT_NAME env variable (#2622) by @sarvaSanjay
Make Django DB spans have origin auto.db.django (#3319) by @antonpirker
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
Disabling individual integrations is now much easier.
Instead of disabling all automatically enabled integrations and specifying the ones
you want to keep, you can now use the new
disabled_integrations
config option to provide a list of integrations to disable:
import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration
sentry_sdk.init(
# Do not use the Flask integration even if Flask is installed.
disabled_integrations=[
FlaskIntegration(),
],
)
Use operation name as transaction name in Strawberry (#3294) by @sentrivana
WSGI integrations respect SCRIPT_NAME env variable (#2622) by @sarvaSanjay
Make Django DB spans have origin auto.db.django (#3319) by @antonpirker
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 7 updates in the / directory:
4.3.1
4.4.0
3.15.1
3.15.2
8.2.2
8.3.2
2.5.1
2.11.0
6.6.0
6.7.0
0.14.4
1.0.1
3.7.1
3.8.0
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.2Release notes
Sourced from pytest's releases.
... (truncated)
Commits
bbcec9c
Prepare release version 8.3.278fe8b6
Merge pull request #12657 from pytest-dev/patchback/backports/8.3.x/6c806b499...238bad2
Merge pull request #12656 from RonnyPfannschmidt/fix-12652-detect-conda-envae6034a
Merge pull request #12641 from pytest-dev/patchback/backports/8.3.x/c03989cee...31337ab
Merge pull request #12640 from pytest-dev/update-userca3070b
Merge pull request #12637 from pytest-dev/release-8.3.1de98446
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.0Updates
sentry-sdk
from 2.5.1 to 2.11.0Release notes
Sourced from sentry-sdk's releases.
... (truncated)
Changelog
Sourced from sentry-sdk's changelog.
... (truncated)
Commits
065b23e
Update CHANGELOG.mde9111a3
Update CHANGELOG.mdfe91f38
release: 2.11.00812858
feat(tests): Do not include type checking code in coverage report (#3327)357d6f5
feat(integrations): Adddisabled_integrations
(#3328)c81c175
Add tests for@ai
_track decorator (#3325)25de71e
ref(logging): Lower logger level for some messages (#3305)52e4e23
feat(hub): Emit deprecation warnings fromHub
API (#3280)fbe8ecc
meta: Allow blank GitHub issues624e743
Merge branch 'master' into szokeasaurusrex/flaky-testUpdates
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...Updates
pre-commit
from 3.7.1 to 3.8.0Release notes
Sourced from pre-commit's releases.
Changelog
Sourced from pre-commit's changelog.
Commits
d46423f
v3.8.08133abd
Merge pull request #3265 from lorenzwalthert/issue-3206da0c1d0
implement health check for language:rf641f6a
Merge pull request #3264 from pre-commit/pre-commit-ci-update-configa68a19d
fixes for mypy 1.1188317dd
[pre-commit.ci] pre-commit autoupdatefaa6f8c
Merge pull request #3244 from pre-commit/pre-commit-ci-update-configf632459
[pre-commit.ci] pre-commit autoupdate0252908
Merge pull request #3240 from pre-commit/pre-commit-ci-update-config69b5dce
[pre-commit.ci] pre-commit autoupdateDependabot 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