Skip to content

Commit

Permalink
Version fix (#78)
Browse files Browse the repository at this point in the history
* Update Python versions and package dependencies

* Update Python version in GitHub workflow

* Update Python version to 3.11 in GitHub workflow

* Update tensorflow version to 2.15.0

* Refactor setup.py to use pathlib for file handling

* Upgrade package version to support Python 3.11 and above
  • Loading branch information
rexdivakar authored Mar 17, 2024
1 parent 7d4f317 commit 90e6aeb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
python-version: [3.11]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ Change Log
------------------
- Resolved Buffer Overflow in NumPy Package (CVE-2021-33430)
- Updated Wiki pages

1.3.3 (17/02/2024)
------------------
- Upgraded the package version to support latest python 3.11 and above
9 changes: 8 additions & 1 deletion req.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
tensorflow>2.0
tensorflow==2.15.0
matplotlib
slackclient
python-dotenv
psutil
aiohttp>=3.9.2 # not directly required, pinned by Snyk to avoid a vulnerability
fonttools>=4.43.0 # not directly required, pinned by Snyk to avoid a vulnerability
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
pillow>=10.2.0 # not directly required, pinned by Snyk to avoid a vulnerability
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
werkzeug>=2.3.8 # not directly required, pinned by Snyk to avoid a vulnerability
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
11 changes: 5 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup
from os import path
from pathlib import Path

classifiers = [
'Development Status :: 5 - Production/Stable',
Expand All @@ -10,14 +10,13 @@
]

# Get the long description from the README file
with open("README.md", encoding="utf-8") as f:
read_file = f.read()

long_description = Path("README.md").read_text(encoding="utf-8")

setup(
name='notifly',
version='1.3.2',
version='1.3.3',
description='Notification on the fly !',
long_description=read_file,
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/rexdivakar/Telegram-Notifly',
author='Divakar R, Sanchit Jain',
Expand Down

0 comments on commit 90e6aeb

Please sign in to comment.