Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
- name: Install Python 3
uses: actions/setup-python@v3
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install python-dateutil backoff monotonic
pip install --user .
sudo pip install pylint==2.8.0 flake8 mock==3.0.5 python-dateutil aiohttp==3.9.1
sudo pip install pylint==3.3.1 flake8 mock==3.0.5 python-dateutil aiohttp==3.9.1
- name: Run tests
run: python -m unittest discover -s segment

Expand All @@ -41,17 +41,11 @@ jobs:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python: ['3.7', '3.8', '3.9', '3.10', '3.11']
# python: ['3.9', '3.10', '3.11']
# coverage: [false]
# experimental: [false]
# include:
# # Run code coverage.
# - python: '3.7'
# coverage: true
# experimental: false
# - python: '3.8'
# coverage: true
# experimental: false
# - python: '3.9'
# coverage: true
# experimental: false
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Run with setup-python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Setup required modules
run: python -m pip install -r requirements.txt
- name: Run tests
run: python -m unittest discover -s segment

- name: Run with setup-python 3.9
uses: actions/setup-python@v5
with:
Expand Down
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
"requests~=2.7",
"backoff~=2.1",
"python-dateutil~=2.2",
"PyJWT~=2.8"
"PyJWT~=2.10.1"
]

tests_require = [
"mock==2.0.0",
"pylint==2.8.0",
"pylint==3.3.1",
"flake8==3.7.9",
]

Expand All @@ -42,7 +42,7 @@
maintainer_email='friends@segment.com',
test_suite='segment.analytics.test.all',
packages=['segment.analytics', 'segment.analytics.test'],
python_requires='>=3.6.0',
python_requires='>=3.9.0',
license='MIT License',
install_requires=install_requires,
extras_require={
Expand All @@ -56,9 +56,6 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
Loading