Skip to content

Commit

Permalink
Drop support for epel-8 and python-3.8
Browse files Browse the repository at this point in the history
Stop building and testing for `epel-8`.
Drop unnecessary `coding: utf-8` lines.
Adjust supported Python versions accordingly.
Plus a couple of minor documentation adjustments.
  • Loading branch information
psss committed Oct 4, 2024
1 parent 1155927 commit 0cc8cc4
Show file tree
Hide file tree
Showing 32 changed files with 9 additions and 47 deletions.
3 changes: 0 additions & 3 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@ jobs:
trigger: pull_request
targets:
- fedora-all
- epel-8
- epel-9
enable_net: False

- job: tests
trigger: pull_request
targets:
- fedora-all
- epel-8
- epel-9

- job: copr_build
trigger: commit
branch: main
targets:
- fedora-all
- epel-8
- epel-9
enable_net: False
list_on_homepage: True
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Install

Install directly from Fedora/Copr repository::

yum install did
dnf install did

Or use pip to install from Python Package Index::

Expand Down Expand Up @@ -237,7 +237,7 @@ Jakub Rozek and Petr Matyáš.
Copyright
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Copyright (c) 2015 Red Hat, Inc. All rights reserved.
Copyright Red Hat

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
Expand Down
2 changes: 0 additions & 2 deletions did/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

""" Config, Date, User and Exceptions """

import codecs
Expand Down
2 changes: 0 additions & 2 deletions did/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Command line interface for did
Expand Down
1 change: 0 additions & 1 deletion did/plugins/bodhi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Bodhi stats
Expand Down
2 changes: 0 additions & 2 deletions did/plugins/bugzilla.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Bugzilla stats such as filed, fixed or verified bugs
Expand Down
1 change: 0 additions & 1 deletion did/plugins/confluence.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Confluence stats such as created pages and comments
Expand Down
2 changes: 0 additions & 2 deletions did/plugins/footer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

"""
Customizable footer
Expand Down
1 change: 0 additions & 1 deletion did/plugins/gerrit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Gerrit stats such as submitted, review or merged changes
Expand Down
1 change: 0 additions & 1 deletion did/plugins/git.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Git commits
Expand Down
1 change: 0 additions & 1 deletion did/plugins/github.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
GitHub stats such as created and closed issues
Expand Down
1 change: 0 additions & 1 deletion did/plugins/gitlab.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
GitLab stats such as created and closed issues
Expand Down
1 change: 0 additions & 1 deletion did/plugins/google.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8

"""
Google stats such as attended events or completed tasks
Expand Down
1 change: 0 additions & 1 deletion did/plugins/header.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Customizable header
Expand Down
1 change: 0 additions & 1 deletion did/plugins/items.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Custom section with multiple items
Expand Down
1 change: 0 additions & 1 deletion did/plugins/jira.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Jira stats such as created, updated or resolved issues
Expand Down
1 change: 0 additions & 1 deletion did/plugins/koji.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Finished Koji builds
Expand Down
1 change: 0 additions & 1 deletion did/plugins/nitrate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Nitrate stats such as created test plans, runs, cases
Expand Down
1 change: 0 additions & 1 deletion did/plugins/pagure.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Pagure stats such as created/closed issues and pull requests.
Expand Down
1 change: 0 additions & 1 deletion did/plugins/phabricator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Phabricator stats for authored and reviewed differentials, aka reviews.
Expand Down
1 change: 0 additions & 1 deletion did/plugins/public_inbox.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Public-Inbox stats about mailing lists threads
Expand Down
1 change: 0 additions & 1 deletion did/plugins/redmine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Redmine stats
Expand Down
1 change: 0 additions & 1 deletion did/plugins/rt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Request Tracker stats such as reported and resolved tickets
Expand Down
1 change: 0 additions & 1 deletion did/plugins/sentry.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Sentry stats such as commented and resolved issues.
Expand Down
1 change: 0 additions & 1 deletion did/plugins/trac.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Trac stats such as created, accepted, updated and closed tickets
Expand Down
1 change: 0 additions & 1 deletion did/plugins/trello.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Trello actions such as created, moved or closed cards
Expand Down
1 change: 0 additions & 1 deletion did/plugins/wiki.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
MoinMoin wiki stats about updated pages
Expand Down
1 change: 0 additions & 1 deletion did/plugins/zammad.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
"""
Zammad stats such as updated tickets
Expand Down
2 changes: 0 additions & 2 deletions did/stats.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

""" Stats & StatsGroup, the core of the data gathering """

import re
Expand Down
2 changes: 0 additions & 2 deletions did/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

""" Logging, config, constants & utilities """

import importlib
Expand Down
4 changes: 2 additions & 2 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Installing did using pip directly on the system is easy::
Use virtual environments if you do not want to affect your system.
Install virtualenv wrapper to make the work more comfortable::

sudo yum install python-virtualenvwrapper # Fedora
sudo dnf install python-virtualenvwrapper # Fedora
sudo apt install virtualenvwrapper # Ubuntu

Create a new virtual environment, upgrade tools, install did::
Expand All @@ -58,7 +58,7 @@ dependencies, for example::
Note: For plugins depending on gssapi (jira & rt) there are some
extra dependencies::

sudo yum install gcc krb5-devel python-devel # Fedora
sudo dnf install gcc krb5-devel python-devel # Fedora
sudo apt install gcc libkrb5-dev python-dev # Ubuntu

See the `pypi package index`__ for detailed package information.
Expand Down
11 changes: 5 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# coding: utf-8

import re

Expand Down Expand Up @@ -59,12 +58,12 @@

keywords=['status', 'report', 'tasks', 'work'],
classifiers=[
'License :: OSI Approved :: '
'GNU General Public License v2 or later (GPLv2+)',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Natural Language :: English',
'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',
'Programming Language :: Python :: 3.12',
'Topic :: Office/Business',
'Topic :: Utilities',
],
Expand Down

0 comments on commit 0cc8cc4

Please sign in to comment.