Skip to content

Commit

Permalink
Revert "Security depends (#107)"
Browse files Browse the repository at this point in the history
This reverts commit ded1e48.
  • Loading branch information
tolstislon committed Jul 15, 2024
1 parent cd487b9 commit 9e1d714
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
11 changes: 6 additions & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
pytest = "==8.2.2"
pytest-cov = "==5.0.0"
pytest = "==7.4.4"
pytest-cov = "==4.1.0"
responses = "==0.21.0"
black = "==24.4.2"
black = "==23.12.1"
flake8 = "==7.0.0"
pep8-naming = "==0.14.1"
pep8-naming = "==0.13.3"
twine = "==4.0.2"

[packages]
requests = "==2.32.3"
requests = "==2.31.0"
testrail-api = { editable = true, path = "." }

[requires]
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ max-line-length = 120
count = True
extend-ignore = E203
exclude = __version__.py

[coverage:run]
omit = testrail_api/__version__.py
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
long_description=long_description,
long_description_content_type="text/markdown",
use_scm_version={"write_to": "testrail_api/__version__.py"},
setup_requires=["setuptools_scm"],
install_requires=["requests>=2.32.3"],
setup_requires=["setuptools_scm==7.1.0"],
install_requires=["requests>=2.20.1"],
python_requires=">=3.8",
include_package_data=True,
keywords=[
Expand Down
2 changes: 1 addition & 1 deletion testrail_api/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __get_url(url: str, warn_ignore: bool) -> str:
raise TestRailError(f"Url is not set. Use argument url or env {Environ.URL}")
_url = _url.rstrip("/")
if _url.startswith("http://") and not warn_ignore:
warnings.warn("Using HTTP and not HTTPS may cause writeable API requests to return 404 errors")
warnings.warn("Using HTTP and not HTTPS may cause writeable API " "requests to return 404 errors")
return _url

@staticmethod
Expand Down

0 comments on commit 9e1d714

Please sign in to comment.