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

make webtest optional #140

Merged
merged 1 commit into from
Jun 28, 2022
Merged

Conversation

ktdreyer
Copy link
Contributor

webtest pulls in dependencies like beautifulsoup4, lxml, soupsieve, and waitress. Most Pecan users do not need these dependencies, and these libraries increase users' security exposure. Make webtest an optional dependency.

Fixes: #139

webtest pulls in dependencies like beautifulsoup4, lxml, soupsieve, and
waitress. Most Pecan users do not need these dependencies, and these
libraries increase users' security exposure. Make webtest an optional
dependency.
@ryanpetrello
Copy link
Member

Good idea, @ktdreyer - thanks for the PR!

@ryanpetrello ryanpetrello merged commit d67e7b4 into pecan:master Jun 28, 2022
@ktdreyer
Copy link
Contributor Author

Thanks!

@ktdreyer ktdreyer deleted the optional-webtest branch June 29, 2022 15:54
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jul 6, 2022
* Update octavia from branch 'master'
  to f45388643f0423199c9ac86a21a163e535cb0007
  - Add WebTest as an indirect test dependency
    
    Pecan has made webtest an optional dependency for testing only [1].
    Since it is still used for testing we need to add it to our
    test-requirements.txt.
    
    [1]: pecan/pecan#140
    
    Change-Id: I4a0985fc93aa071e68491fe60478bee903de39ed
openstack-mirroring pushed a commit to openstack/octavia that referenced this pull request Jul 6, 2022
Pecan has made webtest an optional dependency for testing only [1].
Since it is still used for testing we need to add it to our
test-requirements.txt.

[1]: pecan/pecan#140

Change-Id: I4a0985fc93aa071e68491fe60478bee903de39ed
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jul 19, 2022
* Update magnum from branch 'master'
  to cb40fb3685a7b4212974052c6f2244439ff8c036
  - Add back pep8 test
    
    In Change I523a4a85867f82d234ba1f3e6fad8b8cd2291182, the pep8 test was
    accidentally dropped.
    
    Fix up code so that pep8 passes.
    
    In addition to that following change has been added here to unbreak CI:
    
    Add WebTest as an indirect test dependency
    
    Pecan has made webtest an optional dependency for testing only [1].
    Since it is still used for testing we need to add it to our
    test-requirements.txt.
    
    [1]: pecan/pecan#140
    
    Change-Id: I2f85adb4ef29a43389897c201e6152fd4c7be9d6
openstack-mirroring pushed a commit to openstack/magnum that referenced this pull request Jul 19, 2022
In Change I523a4a85867f82d234ba1f3e6fad8b8cd2291182, the pep8 test was
accidentally dropped.

Fix up code so that pep8 passes.

In addition to that following change has been added here to unbreak CI:

Add WebTest as an indirect test dependency

Pecan has made webtest an optional dependency for testing only [1].
Since it is still used for testing we need to add it to our
test-requirements.txt.

[1]: pecan/pecan#140

Change-Id: I2f85adb4ef29a43389897c201e6152fd4c7be9d6
openstack-mirroring pushed a commit to openstack/blazar that referenced this pull request Aug 23, 2022
Pecan has made WebTest an optional dependency for testing only [1].
Since it is used for blazar unit testing, we need to add it to the
test-requirements.

The lower version bound is required by requirements-check.
It is (arbitrarily) taken from the Queens' upper-constraints.

[1] pecan/pecan#140

Change-Id: I67b730a21676a8191756effec7e15ab1895e1c95
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Aug 23, 2022
* Update blazar from branch 'master'
  to d02152fd9783a9bd34f72357a57ed4d6ab00d4c2
  - Add WebTest as a test dependency
    
    Pecan has made WebTest an optional dependency for testing only [1].
    Since it is used for blazar unit testing, we need to add it to the
    test-requirements.
    
    The lower version bound is required by requirements-check.
    It is (arbitrarily) taken from the Queens' upper-constraints.
    
    [1] pecan/pecan#140
    
    Change-Id: I67b730a21676a8191756effec7e15ab1895e1c95
AnishReddyRavula pushed a commit to ChameleonCloud/blazar that referenced this pull request Jan 9, 2024
Pecan has made WebTest an optional dependency for testing only [1].
Since it is used for blazar unit testing, we need to add it to the
test-requirements.

The lower version bound is required by requirements-check.
It is (arbitrarily) taken from the Queens' upper-constraints.

[1] pecan/pecan#140

Change-Id: I67b730a21676a8191756effec7e15ab1895e1c95
AnishReddyRavula pushed a commit to ChameleonCloud/blazar that referenced this pull request Jan 9, 2024
Pecan has made WebTest an optional dependency for testing only [1].
Since it is used for blazar unit testing, we need to add it to the
test-requirements.

The lower version bound is required by requirements-check.
It is (arbitrarily) taken from the Queens' upper-constraints.

[1] pecan/pecan#140

Change-Id: I67b730a21676a8191756effec7e15ab1895e1c95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

consider dropping webtest runtime dependency
2 participants