Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Require at least Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Schlapsi committed Dec 17, 2020
1 parent 3a71efe commit dfa6c5b
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
- postgresql
- redis-server
python:
- '2.7'
- '3.6'
cache:
directories:
- node_modules
Expand Down
2 changes: 0 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import sys
import os.path

Expand Down
2 changes: 0 additions & 2 deletions sentry_auth_oauth2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
from __future__ import absolute_import

default_app_config = "sentry_auth_oauth2.apps.Config"
1 change: 0 additions & 1 deletion sentry_auth_oauth2/apps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import absolute_import
from django.apps import AppConfig


Expand Down
2 changes: 0 additions & 2 deletions sentry_auth_oauth2/client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, print_function

from requests.exceptions import RequestException
from sentry import http
from sentry.utils import json
Expand Down
2 changes: 0 additions & 2 deletions sentry_auth_oauth2/constants.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, print_function

from django.conf import settings

CLIENT_ID = getattr(settings, 'OAUTH2_APP_ID', None)
Expand Down
2 changes: 0 additions & 2 deletions sentry_auth_oauth2/provider.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, print_function

from sentry.auth.exceptions import IdentityNotValid
from sentry.auth.providers.oauth2 import (
OAuth2Callback, OAuth2Provider, OAuth2Login
Expand Down
2 changes: 0 additions & 2 deletions sentry_auth_oauth2/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, print_function

from django import forms
from sentry.auth.view import AuthView, ConfigureView
from sentry.models import AuthIdentity
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@
'Operating System :: OS Independent',
'Topic :: Software Development'
],
python_requires='>=3.6',
)
2 changes: 0 additions & 2 deletions tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import, print_function

import pytest

from sentry_auth_oauth2.views import _get_name_from_email
Expand Down

0 comments on commit dfa6c5b

Please sign in to comment.