diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 69639c0..073c19c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4e47b11..d0adb80 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,15 @@ When major components get significant changes worthy of mention, they can be described in a Major section. +v0.3.1 - 2026-04-29 +=================== + +Changed +------- + +- Relax gql requirements to improve compatibility with older stacks + + v0.3.0 - 2022-09-12 =================== diff --git a/MANIFEST.in b/MANIFEST.in index 19c8072..65dc831 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,4 @@ include CHANGELOG.rst include README.rst +include requirements.in +include requirements-dev.in diff --git a/reporting_api_client/VERSION b/reporting_api_client/VERSION index 0d91a54..9e11b32 100644 --- a/reporting_api_client/VERSION +++ b/reporting_api_client/VERSION @@ -1 +1 @@ -0.3.0 +0.3.1 diff --git a/requirements.in b/requirements.in index 69f31a5..88eb1ea 100644 --- a/requirements.in +++ b/requirements.in @@ -1,2 +1,4 @@ -gql[requests]>=3.0.0 +gql>=3.0.0 +requests<3 +requests_toolbelt>=1.0.0,<2 requests_oauthlib diff --git a/setup.py b/setup.py index 2b76908..3f7cbd9 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,9 @@ def parse_requirements(filename): ] # Remove pip flags requirements = [ - line for line in requirements if not line.strip().startswith("--") + line for line in requirements + if not line.strip().startswith("--") + and not line.strip().startswith("-r") ] # Remove inline comments requirements = [ @@ -54,7 +56,7 @@ def parse_requirements(filename): author_email="data-infra@jampp.com", install_requires=[parse_requirements("requirements.in")], extras_require={ - "dev": parse_requirements("requirements-dev.txt"), + "dev": parse_requirements("requirements-dev.in"), "pandas": ["pandas"], }, long_description=readme + "\n\n" + history,