Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing: pr 11340 test flakiness #2

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
f538440
linkcheck builder: close streamed HTTP response objects when no respo…
jayaddison Apr 11, 2023
524368f
Add test coverage for anchor-in-document linkchecking
jayaddison Apr 11, 2023
9ec505f
refactor: use requests.Response objects as context managers during li…
jayaddison Apr 11, 2023
c708cc9
cleanup: remove unused HTML test data file
jayaddison Apr 11, 2023
4eb7896
Merge branch 'master' into issue-11317/linkcheck-close-streamed-http-…
jayaddison Apr 11, 2023
95dd08a
Nitpick: remove duplicated HTML tag-closing character
jayaddison Apr 11, 2023
2aceccc
Merge branch 'master' into issue-11317/linkcheck-close-streamed-http-…
jayaddison Apr 16, 2023
a3a340b
continuous integration: unit test workflow: simplify default PYTHONWA…
jayaddison Apr 16, 2023
692fdef
Revert "refactor: use requests.Response objects as context managers d…
jayaddison Apr 16, 2023
6fd82b3
Fixup: do not close the response before anchor-checking has been perf…
jayaddison Apr 16, 2023
98df982
Fixup: close the response after an HTTP HEAD response is received
jayaddison Apr 16, 2023
ec415ea
Revert "Fixup: close the response after an HTTP HEAD response is rece…
jayaddison Apr 16, 2023
5769478
Revert "Fixup: do not close the response before anchor-checking has b…
jayaddison Apr 16, 2023
8269c6d
Revert "Revert "refactor: use requests.Response objects as context ma…
jayaddison Apr 16, 2023
ad12d25
linkcheck builder: begin using session-based HTTP requests
jayaddison Apr 16, 2023
7162671
tests: linkcheck builder: update test webserver handlers from HTTP/1.…
jayaddison Apr 17, 2023
cbedb4b
Tests: use threaded Python basic HTTP server implementation during tests
jayaddison Apr 18, 2023
cd756b4
Unit tests: linkcheck: ConnectionResetHandler: close the connection b…
jayaddison Apr 18, 2023
687ea43
Unit tests: linkcheck: make_redirect_handler: send zero-valued conten…
jayaddison Apr 18, 2023
acec710
Unit tests: linkcheck: capture_headers_handler: perform header captur…
jayaddison Apr 18, 2023
e304062
Unit tests: linkcheck: add connection-count measurement
jayaddison Apr 18, 2023
3bf835c
Revert "linkcheck builder: begin using session-based HTTP requests"
jayaddison Apr 18, 2023
4305d11
Unit tests: linkcheck: configure a single linkcheck worker during 'te…
jayaddison Apr 18, 2023
4e07b90
linting fixup: re-order imports
jayaddison Apr 18, 2023
5d32e46
Revert "Revert "linkcheck builder: begin using session-based HTTP req…
jayaddison Apr 18, 2023
08107c2
linting fixup: remove extraneous newline
jayaddison Apr 18, 2023
80f8a96
cleanup / diff minification: remove extraneous newline
jayaddison Apr 18, 2023
af477d6
Naive fixup: add basic session request support to Intersphinx extension
jayaddison Apr 18, 2023
8c22165
Fixup: update requests mocking in 'test_build.py' unit test module
jayaddison Apr 18, 2023
72e80b7
linting: resolve ruff warnings
jayaddison Apr 18, 2023
893a4d9
type hinting: ignore warnings related to Session.get and Session.head…
jayaddison Apr 18, 2023
ac1ce7b
Naive fixup: add session request support to ImageDownloader class
jayaddison Apr 18, 2023
01d9136
Revert "Naive fixup: add session request support to ImageDownloader c…
jayaddison Apr 18, 2023
6a766ec
Revert "Naive fixup: add basic session request support to Intersphinx…
jayaddison Apr 18, 2023
39d0eb6
Conservative approach: retain existing (non-session) sphinx.util.requ…
jayaddison Apr 18, 2023
ac72068
Revert "Fixup: update requests mocking in 'test_build.py' unit test m…
jayaddison Apr 18, 2023
3a8c8a5
Merge branch 'master' into issue-11324/linkcheck-sessioned-requests
jayaddison Apr 18, 2023
3aa4b40
Privatise
AA-Turner Apr 21, 2023
eca898e
Privatise
AA-Turner Apr 21, 2023
31ca85b
Revert "Unit tests: linkcheck: capture_headers_handler: perform heade…
jayaddison Apr 21, 2023
89442fc
Merge branch 'master' into issue-11317/linkcheck-close-streamed-http-…
jayaddison Apr 21, 2023
f7caae0
Merge branch 'issue-11317/linkcheck-close-streamed-http-connections' …
jayaddison Apr 21, 2023
4d485ae
Unit tests: linkcheck: capture_headers_handler: relocate the (client)…
jayaddison Apr 21, 2023
599f105
linkcheck builder: enable streaming mode (no-immediate-content-read) …
jayaddison Apr 21, 2023
2ee5cc6
linkcheck shutdown signal handler: add explanatory comment
jayaddison Apr 21, 2023
ac2baaa
Unit tests: linkcheck: send zero-valued Content-Length header for uns…
jayaddison Apr 21, 2023
88fb703
CI: Configure minimal repro workflows
jayaddison Apr 21, 2023
2cad628
Unit tests: linkcheck: send Content-Length header in all HTTP/1.1 tes…
jayaddison Apr 21, 2023
a7b44bf
Revert "Unit tests: linkcheck: send Content-Length header in all HTTP…
jayaddison Apr 21, 2023
81e554e
Revert "Revert "Unit tests: linkcheck: send Content-Length header in …
jayaddison Apr 21, 2023
70b9c30
Revert "Unit tests: linkcheck: send Content-Length header in all HTTP…
jayaddison Apr 21, 2023
04d10f8
Revert "Revert "Unit tests: linkcheck: send Content-Length header in …
jayaddison Apr 21, 2023
9ade882
Unit tests: linkcheck: fixup: InfiniteRedirectOnHeadHandler: send Con…
jayaddison Apr 21, 2023
d28e9d6
Unit tests: linkcheck: further increase for timeout in 'linkcheck-loc…
jayaddison Apr 21, 2023
5aaaeb4
Revert "Unit tests: linkcheck: send Content-Length header in all HTTP…
jayaddison Apr 21, 2023
0ed88b4
Revert "Revert "Unit tests: linkcheck: send Content-Length header in …
jayaddison Apr 21, 2023
e01937e
test_linkcheck_allowed_redirects: reduce the number of HTTP round-tri…
jayaddison Apr 13, 2023
93490f0
Revert "Unit tests: linkcheck: send Content-Length header in all HTTP…
jayaddison Apr 21, 2023
3793f3b
Revert "Revert "Unit tests: linkcheck: send Content-Length header in …
jayaddison Apr 21, 2023
203763f
Revert "Unit tests: linkcheck: send Content-Length header in all HTTP…
jayaddison Apr 21, 2023
2babbe8
Revert "Revert "Unit tests: linkcheck: send Content-Length header in …
jayaddison Apr 21, 2023
d7983d0
Revert "Revert "Revert "Unit tests: linkcheck: send Content-Length he…
jayaddison Apr 21, 2023
fb2e944
Revert "Unit tests: linkcheck: send zero-valued Content-Length header…
jayaddison Apr 21, 2023
030be8b
Revert "linkcheck builder: enable streaming mode (no-immediate-conten…
jayaddison Apr 21, 2023
53d9493
Revert "Revert "Unit tests: linkcheck: send zero-valued Content-Lengt…
jayaddison Apr 21, 2023
8375bdb
Revert "Revert "Revert "Revert "Unit tests: linkcheck: send Content-L…
jayaddison Apr 21, 2023
b946162
Merge branch 'issue-11324/linkcheck-sessioned-requests' into issue-11…
jayaddison Apr 21, 2023
e82aea5
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
8cb0e8c
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
b8c26a6
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
adbd334
Revert "Unit tests: linkcheck: send Content-Length header in all HTTP…
jayaddison Apr 22, 2023
8467293
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
bea4776
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
7448c23
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
6f49c47
Revert "Unit tests: linkcheck: send zero-valued Content-Length header…
jayaddison Apr 22, 2023
bafccbb
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
2092ddf
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
820bca1
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
0305d07
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
5629d1a
Revert "Unit tests: linkcheck: further increase for timeout in 'linkc…
jayaddison Apr 22, 2023
026064d
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
67d382e
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
d6f29be
linkcheck builder: experiment: ensure that any error exception from a…
jayaddison Apr 22, 2023
4108d60
Revert "test_linkcheck_allowed_redirects: reduce the number of HTTP r…
jayaddison Apr 22, 2023
edb0981
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
fb61370
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
43ed3a8
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
f23752e
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
bee3042
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
3d7aa20
CI: empty commit to re-run tests (an attempt to gain confidence that …
jayaddison Apr 22, 2023
c3aab47
unit tests: linkcheck: begin using a thread-safe collections.deque in…
jayaddison Apr 22, 2023
5c0d611
Merge branch 'issue-11348/flaky-test-linkcheck-client-header-collecti…
jayaddison Apr 22, 2023
e232058
lint fixup: import sort ordering
jayaddison Apr 22, 2023
2017e71
Merge branch 'issue-11348/flaky-test-linkcheck-client-header-collecti…
jayaddison Apr 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/workflows/builddoc.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/coverage.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/latex.yml

This file was deleted.

126 changes: 0 additions & 126 deletions .github/workflows/lint.yml

This file was deleted.

50 changes: 1 addition & 49 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
FORCE_COLOR: "1"
PYTHONDEVMODE: "1" # -X dev
PYTHONWARNDEFAULTENCODING: "1" # -X warn_default_encoding
PYTHONWARNINGS: "error,always:unclosed:ResourceWarning::" # default: all warnings as errors, except ResourceWarnings about unclosed items
PYTHONWARNINGS: "error"

jobs:
ubuntu:
Expand All @@ -23,11 +23,9 @@ jobs:
fail-fast: false
matrix:
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12-dev"
docutils:
- "0.18"
- "0.19"
Expand Down Expand Up @@ -68,49 +66,3 @@ jobs:
PYTHONWARNINGS: ""
- name: Test with pytest
run: python -m pytest -vv --durations 25

windows:
runs-on: windows-2019
name: Windows

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
env:
PYTHONWARNINGS: ""
- name: Test with pytest
run: python -m pytest -vv --durations 25

docutils-latest:
runs-on: ubuntu-latest
name: Docutils HEAD

steps:
- uses: actions/checkout@v3
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: "3"
- name: Check Python version
run: python --version
- name: Install graphviz
run: sudo apt-get install graphviz
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
env:
PYTHONWARNINGS: ""
- name: Install Docutils' HEAD
run: python -m pip install git+https://repo.or.cz/docutils.git\#subdirectory=docutils
env:
PYTHONWARNINGS: ""
- name: Test with pytest
run: python -m pytest -vv
27 changes: 0 additions & 27 deletions .github/workflows/nodejs.yml

This file was deleted.