diff --git a/.github/workflows/license-audit.yml b/.github/workflows/license-audit.yml deleted file mode 100644 index 951828ca..00000000 --- a/.github/workflows/license-audit.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Audit bugsnag-python dependency licenses - -on: [push, pull_request] - -jobs: - license-audit: - runs-on: 'ubuntu-latest' - - steps: - - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - # License Finder's Docker image uses Python 3.10 - python-version: '3.10' - - - name: Fetch decisions.yml - run: curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/global.yml -o decisions.yml - - # License Finder doesn't use "install_requires" from setup.py, so won't check - # our dependencies if we don't put them in a requirements.txt file - - name: Set up requirements.txt for License Finder - run: | - pip3 install '.[flask]' - pip3 freeze --local --exclude bugsnag | tee requirements.txt - - - name: Run License Finder - # for some reason license finder doesn't run without a login shell (-l) - run: > - docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc " - cd /scan && - apt-get update && - apt-get install -y python3-venv && - python3 -m venv .venv && - source .venv/bin/activate && - pip3 install -r requirements.txt && - license_finder --decisions-file decisions.yml --python-version 3 --enabled-package-managers=pip - " diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8f807294..1e1cb2a7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,11 +12,12 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] os: ['ubuntu-latest'] include: - - python-version: '3.5' - os: 'ubuntu-20.04' - pip-trusted-host: 'pypi.python.org pypi.org files.pythonhosted.org' - - python-version: '3.6' - os: 'ubuntu-20.04' +# Python 3.5 and 3.6 tests skipped pending PLAT-14414 +# - python-version: '3.5' +# os: 'ubuntu-22.04' +# pip-trusted-host: 'pypi.python.org pypi.org files.pythonhosted.org' +# - python-version: '3.6' +# os: 'ubuntu-22.04' - python-version: '3.7' os: 'ubuntu-22.04' diff --git a/.gitignore b/.gitignore index 6d71be16..9a828436 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ htmlcov my_env venv .idea +*.iml diff --git a/tests/integrations/test_asgi.py b/tests/integrations/test_asgi.py index 47441a5c..e998f32f 100644 --- a/tests/integrations/test_asgi.py +++ b/tests/integrations/test_asgi.py @@ -191,6 +191,7 @@ async def index(req): assert breadcrumbs[0]['metaData'] == {'to': '/'} assert breadcrumbs[0]['type'] == BreadcrumbType.NAVIGATION.value + @pytest.mark.skip(reason="Skipped pending PLAT-14413") def test_websocket_crash(self): async def app(scope, receive, send): websocket = WebSocket(scope, receive=receive, send=send)