The github.Commit.Commit class provides a files property that used to return a list[github.File.File],
which has now been changed to PaginatedList[github.File.File]. 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:
Fixed a regression introduced in pyparsing 3.1.3, addition of a type annotation that
referenced re.Pattern. Since this type was introduced in Python 3.7, using this type
definition broke Python 3.6 installs of pyparsing 3.1.3. PR submitted by Felix Fontein,
nice work!
Version 3.1.3 - August, 2024
Added new Tag ParserElement, for inserting metadata into the parsed results.
This allows a parser to add metadata or annotations to the parsed tokens.
The Tag element also accepts an optional value parameter, defaulting to True.
See the new tag_metadata.py example in the examples directory.
result = greeting.parse_string("Hello World.")
print(result.dump())
result = greeting.parse_string("Hello World!")
print(result.dump())
prints:
['Hello', 'World', '.']
['Hello', 'World', '!']
enthusiastic: True
Added example mongodb_query_expression.py, to convert human-readable infix query
expressions (such as a==100 and b>=200) and transform them into the equivalent
query argument for the pymongo package ({'$and': [{'a': 100}, {'b': {'$gte': 200}}]}).
Supports many equality and inequality operators - see the docstring for the
transform_query function for more examples.
Fixed issue where PEP8 compatibility names for ParserElement static methods were
not themselves defined as staticmethods. When called using a ParserElement instance,
this resulted in a TypeError exception. Reported by eylenburg (#548).
To address a compatibility issue in RDFLib, added a property setter for the
ParserElement.name property, to call ParserElement.set_name.
Modified ParserElement.set_name() to accept a None value, to clear the defined
name and corresponding error message for a ParserElement.
#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.
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 core-scripts group in /scripts with 8 updates:
23.2.0
24.2.0
2024.6.2
2024.8.30
3.7
3.8
0.6.2
0.6.3
2.3.0
2.4.0
3.1.2
3.1.4
8.2.2
8.3.2
6.0.1
6.0.2
Updates
attrs
from 23.2.0 to 24.2.0Commits
Updates
certifi
from 2024.6.2 to 2024.8.30Commits
325c2fd
2024.08.30 (#304)d66bf5f
Bump actions/upload-artifact from 4.3.5 to 4.3.6 (#302)2150f23
Bump actions/upload-artifact from 4.3.4 to 4.3.5 (#301)fc9b771
Bump actions/setup-python from 5.1.0 to 5.1.1 (#300)965b239
Bump actions/download-artifact from 4.1.7 to 4.1.8 (#297)c1f50cc
Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#296)bd81538
2024.07.04 (#295)06a2cbf
Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (#294)13bba02
Bump actions/checkout from 4.1.6 to 4.1.7 (#293)e8abcd0
Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#292)Updates
idna
from 3.7 to 3.8Release notes
Sourced from idna's releases.
Changelog
Sourced from idna's changelog.
Commits
784c6f4
Release v3.828c7c9e
Typo fixa2b41c3
Pin remainder of Github Actions flagged in code scanning1f613c5
More Github Action dependency pinninga87e2b6
Update OSSF scorecard to latest version12d4dd1
Merge pull request #182 from kjd/github-pypi-actionse1a1541
Pin Github Actions dependenciesc109d3a
Merge branch 'master' into github-pypi-actionsf8a8de4
Do not try to build/send packages to TestPyPI for now613bdde
Update regexp to move global flag to start of expressionUpdates
parse-type
from 0.6.2 to 0.6.3Release notes
Sourced from parse-type's releases.
Changelog
Sourced from parse-type's changelog.
Commits
932c1c1
BUMP-VERSION: 0.6.3 (was: 0.6.2)c9a549a
CI: Add release workflows2195db8
Merge remote-tracking branch 'refs/remotes/origin/main'ff21dfb
Merge remote-tracking branch 'refs/remotes/origin/main'd7c77c2
Merge remote-tracking branch 'refs/remotes/origin/main'0557e54
UPDATE TO: parse v1.20.2399de81
Create SECURITY.md260c464
README: Fix compact display of BADGES (was using multi-line)5c3fcb9
CI: Use "uv" to speed-up Python package installationse88424c
CI: Try to use "uv" (part 2)Updates
pygithub
from 2.3.0 to 2.4.0Release notes
Sourced from pygithub's releases.
Changelog
Sourced from pygithub's changelog.
... (truncated)
Commits
8508735
Release v2.4.0 (#3027)7522416
Addhas_discussions
toAuthenticatedUser
andRepository
classes (#3020)fa16827
Update moreSecurityAndAnalysis
attributes (#3025)23e8756
Implement support for re-running only failed workflow jobs. (#2983)d0e0507
Complete dropping Python 3.7 (#2975)32b826f
Allow custom authentication (#2987)5ba2437
Add possibility to mark a thread/notification as done (#2985)61d37dc
CI: Fix test success job (#3010)38197d6
Revert "Add has_discussions field to Repository class" (#3009)7213cd0
Add has_discussions field to Repository class (#2995)Updates
pyparsing
from 3.1.2 to 3.1.4Changelog
Sourced from pyparsing's changelog.
... (truncated)
Commits
b846e4a
Prep for 3.1.4 release9bd2356
Add Python 3.6 to CI (#566)ee50a19
Add Tag notes to HowToUsePyparsing.rst3ffc3ef
Fix typoe5e97f7
Add mongodb_query_expression.py to examples; updated 0README.html and test_ex...10cef98
Add Tag ParserElement classcf41d90
Prep for 3.1.3 released7c163c
Some minor code changes in chemical_formulas.pyeb56030
Various code cleanupsa9e7d47
Added name property setter, and enhanced set_name() to accept a None value to...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
pyyaml
from 6.0.1 to 6.0.2Release notes
Sourced from pyyaml's releases.
Changelog
Sourced from pyyaml's changelog.
Commits
41309b0
Release 6.0.2 (#819)dd9f0e1
6.0.2rc1 (#809)f5527a2
disable CI trigger on PR editsb4d80a7
Python 3.12 + musllinux_1_1_x86_64 wheel supportDependabot 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