Skip to content

Commit

Permalink
Python 3.10 Support (#405)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
6 people committed Oct 12, 2021
1 parent 72e5464 commit f99da49
Show file tree
Hide file tree
Showing 82 changed files with 3,305 additions and 2,077 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-python.yml
Expand Up @@ -52,16 +52,14 @@ jobs:
CIBW_BUILD: cp27-manylinux_x86_64
CIBW_ARCHS: x86_64
CIBW_ENVIRONMENT: "LD_LIBRARY_PATH=/opt/rh/=vtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/usr/local/lib64:/usr/local/lib"
CIBW_TEST_REQUIRES: beautifulsoup4

- name: Build Manylinux Wheels (Python 3)
uses: pypa/cibuildwheel@v2.0.1
env:
CIBW_PLATFORM: linux
CIBW_BUILD: cp36-manylinux_aarch64 cp37-manylinux_aarch64 cp38-manylinux_aarch64 cp39-manylinux_aarch64 cp36-manylinux_x86_64 cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64
CIBW_BUILD: cp36-manylinux_aarch64 cp37-manylinux_aarch64 cp38-manylinux_aarch64 cp39-manylinux_aarch64 cp310-manylinux_aarch64 cp36-manylinux_x86_64 cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64
CIBW_ARCHS: x86_64 aarch64
CIBW_ENVIRONMENT: "LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/usr/local/lib64:/usr/local/lib"
CIBW_TEST_REQUIRES: beautifulsoup4

- name: Upload Package to S3
run: |
Expand Down

0 comments on commit f99da49

Please sign in to comment.