Skip to content

Commit

Permalink
Remove explicit 2.26.0 version in python tests
Browse files Browse the repository at this point in the history
Also, rename test scripts to indicate the version they are using.
  • Loading branch information
Andrew Eisenberg committed Oct 14, 2021
1 parent 3df2172 commit 43ea2ce
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Verify packages installed
run: |
$GITHUB_WORKSPACE/python-setup/tests/check_requests_123.sh ${PYTHON_VERSION}
$GITHUB_WORKSPACE/python-setup/tests/check_requests_2_26_0.sh ${PYTHON_VERSION}
# This one shouldn't fail, but also won't install packages
test-setup-python-scripts-non-standard-location:
Expand Down Expand Up @@ -153,5 +153,5 @@ jobs:
- name: Verify packages installed
run: |
$cmd = $Env:GITHUB_WORKSPACE + "\\python-setup\\tests\\check_requests_123.ps1"
$cmd = $Env:GITHUB_WORKSPACE + "\\python-setup\\tests\\check_requests_2_26_0.ps1"
powershell -File $cmd $Env:PYTHON_VERSION
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion python-setup/tests/pipenv/python-3.8/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ verify_ssl = true
[dev-packages]

[packages]
requests = "2.26.0"
requests = "*"

[requires]
python_version = "3.8"
2 changes: 1 addition & 1 deletion python-setup/tests/pipenv/requests-2/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ verify_ssl = true
[dev-packages]

[packages]
requests = "2.26.0"
requests = "*"

[requires]
python_version = "2.7"
2 changes: 1 addition & 1 deletion python-setup/tests/pipenv/requests-3/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ verify_ssl = true
[dev-packages]

[packages]
requests = "2.26.0"
requests = "*"

[requires]
2 changes: 1 addition & 1 deletion python-setup/tests/poetry/python-3.8/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = "^3.8"
requests = "2.26.0"
requests = "*"

[tool.poetry.dev-dependencies]

Expand Down
2 changes: 1 addition & 1 deletion python-setup/tests/poetry/requests-3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Your Name <you@example.com>"]

[tool.poetry.dependencies]
python = "^3.6"
requests = "2.26.0"
requests = "*"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit 43ea2ce

Please sign in to comment.