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

Fix SSL Context Deprecation Warning #394

Merged
merged 2 commits into from Oct 5, 2021
Merged

Conversation

TimPansino
Copy link
Contributor

Before contributing, please read our contributing guidelines and code of conduct.

Overview

  • Fix SSL Context deprecation warnings in tests.

Related Github Issue

Closes #389

Testing

The agent includes a suite of tests which should be used to
verify your changes don't break existing functionality. These tests will run with
Github Actions when a pull request is made. More details on running the tests locally can be found
here,
For most contributions it is strongly recommended to add additional tests which
exercise your changes.

@TimPansino TimPansino requested a review from a team as a code owner September 30, 2021 21:23
@github-actions
Copy link

github-actions bot commented Sep 30, 2021

Mega-Linter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ PYTHON bandit 9 2 1.41s
✅ PYTHON black 9 5 0 2.09s
❌ PYTHON flake8 9 8 1.17s
✅ PYTHON isort 9 5 0 0.24s
❌ PYTHON pylint 9 151 16.1s
✅ YAML prettier 1 1 0 1.98s
✅ YAML v8r 1 0 1.45s
✅ YAML yamllint 1 0 0.41s

See errors details in artifact Mega-Linter reports on GitHub Action page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

@lrafeei lrafeei merged commit ef01e26 into develop-py310-support Oct 5, 2021
@lrafeei lrafeei deleted the fix-ssl-context branch October 5, 2021 02:20
@TimPansino TimPansino added this to the 7.2.0.167 milestone Oct 12, 2021
lrafeei added a commit that referenced this pull request Oct 12, 2021
* Add initial py310 tox tests

Co-authored-by: lrafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Fix deprecation warnings

* Add python 3.10 test setup.  (#392)

* Sanic Testing Fix (#395)

* Sanic updates

* [Mega-Linter] Apply linters fixes

Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>

* Add initial py310 tox tests

Co-authored-by: lrafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Fix deprecation warnings

* Add python 3.10 setup to tests.yml.

* Update Python version to 3.10 rc2.

* Temporarily disable graphql master tests.

* Remove loop argument in agent feature tests.

* Add try except.

Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com>
Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>
Co-authored-by: Tim Pansino <timpansino@gmail.com>
Co-authored-by: lrafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Update urllib3 to v1.26.7 (#393)

* Update urllib3 to 1.26.7

* Exclude packages from linting

* Fix SSL context deprecation warning (#394)

* Fix imp Deprecation (#398)

* Sanic Testing Fix (#395)

* Sanic updates

* [Mega-Linter] Apply linters fixes

Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>

* Remove deprecated imp module

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>

* Formatting

* Remove unused import

* Fix sitecustomize issue

* Fix missing attribute

* Fix incorrect type

Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>
Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>

* Add Python 3.10 tox Tests (Part 1) (#397)

* Add py310 tox tests

* Remove unsupported frameworks from tox

* Remove failing library test

* Revert uvicorn py36 upgrade

* Add Python 3.10 support for web frameworks. (#391)

* Add py310 to web framework test matrix.

* Remove unsupported library

* Remove unsupported libraries

* Fix aiohttp errors

* Remove comments causing errors

Co-authored-by: Tim Pansino <timpansino@gmail.com>

* Add py310 builds (#402)

* Tox changes for python3.10 (#403)

* Fix asyncio Warnings in Python 3.10 (#396)

* Sanic Testing Fix (#395)

* Sanic updates

* [Mega-Linter] Apply linters fixes

Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>

* Clean up asyncio event_loops

* Linting

* Remove space broken strings

* Add init file

* Fix random failures

* Fix notice_error Rules Matching Settings Handling (#383)

* Remove active traces from tests to expose bug

* Handle settings passing in error matching rules

* Better edge case handling

* Apply linter fixes

* Correct settings origin to transaction

* Change logs in context expected errors

* Apply linters fixes

* Fix cross event loop failures

* Formatting

* Upgrade py310 rc to release

* Quote python versions in GHA

* Update Testing Infra (#401)

* Add aggregate test check

* Formatting

* Add job timeouts

* Fix uvicorn hang.

Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>

* Fix error typing for uvicorn

* Revert uvicorn changes

Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>
Co-authored-by: Lalleh Rafeei <lrafeei@users.noreply.github.com>

* Bump timeout to 30 minutes

Co-authored-by: lrafeei <lrafeei@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: Uma Annamalai <uannamalai@newrelic.com>
Co-authored-by: TimPansino <TimPansino@users.noreply.github.com>
Co-authored-by: Lalleh Rafeei <84813886+lrafeei@users.noreply.github.com>
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.

None yet

2 participants