Skip to content

Commit

Permalink
Merge pull request #30 from jihupdc/retire-python2
Browse files Browse the repository at this point in the history
Retire python 2 support [RHELDST-15344]
  • Loading branch information
rohanpm authored May 29, 2023
2 parents 641059b + 3e86b95 commit 0471367
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/tox-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@ name: Tox tests
on: [push, pull_request]

jobs:
py27:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install RPM
run: sudo apt-get install -y rpm libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '2.7'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py27
py39:
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ def get_requirements():
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=get_requirements(),
python_requires='>=2.6',
python_requires='>=3.6',
project_urls={
'Documentation':
'https://release-engineering.github.io/python-fastpurge/',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py39,py310,py311,static,docs
envlist = py39,py310,py311,static,docs

[testenv]
deps=-rtest-requirements.txt
Expand Down

0 comments on commit 0471367

Please sign in to comment.