Skip to content

Commit

Permalink
🧪 Update pytest from ~=7.0 to ~=8.0 (and plugins) (#1361)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
  • Loading branch information
dependabot[bot] and chrisjsewell authored Dec 1, 2024
1 parent ccce14f commit 7b844b1
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 5 deletions.
18 changes: 13 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ plotting = ["matplotlib>=3.3.0"] # for needpie / needbar
test = [
"defusedxml~=0.7.1",
"matplotlib>=3.3.0",
"pytest~=7.0",
"pytest-cov~=4.0",
"syrupy~=3.0",
"pytest~=8.0",
"pytest-cov~=6.0",
"syrupy~=4.0",
"sphinxcontrib-plantuml~=0.0",
"lxml>=4.6.5,<5.0",
"responses~=0.22.0",
"pytest-xprocess~=0.22.2",
"pytest-xprocess~=1.0",
]
test-parallel = ["pytest-xdist"]
benchmark = ["pytest-benchmark~=4.0", "memray>=1.3.1,<2.0.0"]
benchmark = ["pytest-benchmark~=5.0", "memray>=1.3.1,<2.0.0"]
docs = [
"matplotlib>=3.3.0",
"sphinxcontrib-plantuml~=0.0",
Expand Down Expand Up @@ -153,6 +153,14 @@ extras =
commands =
pytest --ignore tests/benchmarks {posargs:tests}
[testenv:py{39,310,311,312,313}-benchmark]
extras =
test
benchmark
docs
commands =
pytest {posargs:tests/benchmarks}
[testenv:docs-{alabaster,furo,im,pds,rtd}]
extras =
docs
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_add_sections_sigs.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_section_is_usable_in_filters[test_app0]
dict({
'R_12345': dict({
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_api_usage.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_api_add_type[test_app0]
list([
dict({
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_basic_doc.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_build_needs[test_app0]
dict({
'current_version': '0.1.0',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_external.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_export_import_round_trip
dict({
'current_version': '1.3',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_extra_options.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_custom_attributes_appear[test_app0]
dict({
'current_version': '',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_list2need.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_doc_list2need_html[test_app0]
dict({
'NEED-002': dict({
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_need_constraints.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_need_constraints[test_app0]
dict({
'current_version': '',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_need_parts.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_doc_need_parts[test_app0]
dict({
'SP_TOO_001': dict({
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_needarch.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_doc_needarch_jinja_import[test_app0]
dict({
'needarch-index-0': dict({
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_needextend.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_doc_needextend_dynamic[test_app0]
dict({
'current_version': '',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_needimport.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_import_builder[test_app0]
dict({
'current_version': '1.0',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_needs_builder.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_doc_needs_builder[test_app0]
dict({
'current_version': '1.0',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_needs_from_toml.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_needs_from_toml[test_app0]
dict({
'current_version': '0.1.0',
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_needs_id_builder.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_doc_needs_id_builder[test_app0]
dict({
'TC_001.json': dict({
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_needuml.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_doc_build_html[test_app0]
dict({
'COMP_001': dict({
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/test_service_github.ambr
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# serializer version: 1
# name: test_build[test_app0]
dict({
'current_version': '1',
Expand Down

0 comments on commit 7b844b1

Please sign in to comment.