-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
context
When I run github-activity, several deprecation warnings are generated.
bug
Not a bug yet as github-activity works as expected but will become some eventually.
github-activity
Using GH access token stored in `GITHUB_ACCESS_TOKEN`.
Running search query:
repo:RhetTbull/osxphotos
Found 3 items, which will take 1 pages
Found 7 items, which will take 1 pages
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:406: FutureWarning: pandas.value_counts is deprecated and will be removed in a future version. Use pd.Series(obj).value_counts() instead.
item_commentors_counts = pd.value_counts(item_commentors)
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:406: FutureWarning: value_counts with argument that is not not a Series, Index, ExtensionArray, or np.ndarray is deprecated and will raise in a future version.
item_commentors_counts = pd.value_counts(item_commentors)
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:406: FutureWarning: pandas.value_counts is deprecated and will be removed in a future version. Use pd.Series(obj).value_counts() instead.
item_commentors_counts = pd.value_counts(item_commentors)
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:406: FutureWarning: value_counts with argument that is not not a Series, Index, ExtensionArray, or np.ndarray is deprecated and will raise in a future version.
item_commentors_counts = pd.value_counts(item_commentors)
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:406: FutureWarning: pandas.value_counts is deprecated and will be removed in a future version. Use pd.Series(obj).value_counts() instead.
item_commentors_counts = pd.value_counts(item_commentors)
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:406: FutureWarning: value_counts with argument that is not not a Series, Index, ExtensionArray, or np.ndarray is deprecated and will raise in a future version.
item_commentors_counts = pd.value_counts(item_commentors)
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:413: FutureWarning: pandas.value_counts is deprecated and will be removed in a future version. Use pd.Series(obj).value_counts() instead.
comment_contributor_counts = pd.value_counts(comment_helpers)
/Users/user/.local/pipx/venvs/github-activity/lib/python3.11/site-packages/github_activity/github_activity.py:413: FutureWarning: value_counts with argument that is not not a Series, Index, ExtensionArray, or np.ndarray is deprecated and will raise in a future version.
comment_contributor_counts = pd.value_counts(comment_helpers)problem
This will become a problem when pandas deprecates this particular usage.
Reproduce the bug
Install github activity with Python 3.11.4 or 3.11.5 and run it on a repo.
I installed via pipx install github-activity
List your environment
macOS 13.5.1 (Intel)
Python 3.11.4 (installed via port install pipx)
I couldn't figure out who to get the version of pandas installed by pipx
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed