diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index a667141..1e63703 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -12,11 +12,11 @@ jobs: build-win64: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - name: Install Requirements @@ -30,7 +30,7 @@ jobs: mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe shell: cmd - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gotify-tray-installer-win.exe path: gotify-tray-installer-win.exe @@ -41,11 +41,11 @@ jobs: tag: [jammy] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - uses: ruby/setup-ruby@v1 @@ -60,7 +60,7 @@ jobs: ./build-linux.sh deb mv "dist/gotify-tray_$(cat version.txt)_amd64.deb" "gotify-tray_$(cat version.txt)_amd64_${{ matrix.tag }}.deb" - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "gotify-tray_*_amd64_${{ matrix.tag }}.deb" @@ -68,11 +68,11 @@ jobs: build-macos: runs-on: macos-12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - name: Build @@ -81,7 +81,7 @@ jobs: brew install create-dmg create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app" - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gotify-tray.dmg path: gotify-tray.dmg @@ -89,11 +89,11 @@ jobs: build-pip: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - name: install requirements @@ -103,6 +103,6 @@ jobs: - name: create pip package run: python -m build - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: dist/gotify_tray-*.whl diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 954d22b..4a5d826 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,11 +10,11 @@ jobs: build-win64: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - name: Install Requirements @@ -28,7 +28,7 @@ jobs: mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe shell: cmd - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gotify-tray-installer-win.exe path: gotify-tray-installer-win.exe @@ -39,11 +39,11 @@ jobs: tag: [bullseye, bookworm] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - uses: ruby/setup-ruby@v1 @@ -58,7 +58,7 @@ jobs: ./build-linux.sh deb mv "dist/gotify-tray_$(cat version.txt)_amd64.deb" "gotify-tray_$(cat version.txt)_amd64_${{ matrix.tag }}.deb" - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gotify-tray_${{github.ref_name}}_amd64_${{ matrix.tag }}.deb path: gotify-tray_${{github.ref_name}}_amd64_${{ matrix.tag }}.deb @@ -66,11 +66,11 @@ jobs: build-macos: runs-on: macos-12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - name: Build @@ -79,7 +79,7 @@ jobs: brew install create-dmg create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app" - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gotify-tray.dmg path: gotify-tray.dmg @@ -92,11 +92,11 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10.8' + python-version: '3.13' - name: Upgrade pip and enable wheel support run: python -m pip install --upgrade pip setuptools wheel - name: install requirements @@ -108,7 +108,7 @@ jobs: - name: upload to pypi uses: pypa/gh-action-pypi-publish@release/v1 - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: gotify_tray-${{github.ref_name}}-py3-none-any.whl path: dist/gotify_tray-${{github.ref_name}}-py3-none-any.whl @@ -117,8 +117,8 @@ jobs: runs-on: ubuntu-latest needs: [build-win64, build-debian, build-macos, pypi] steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 - name: Release uses: marvinpinto/action-automatic-releases@latest with: diff --git a/requirements.txt b/requirements.txt index c8d853e..2845cd1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -requests==2.32.3 -pyqt6==6.7.1 +requests +pyqt6>=6.7.1 diff --git a/setup.py b/setup.py index a5a2500..9f4c4ee 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ with open("version.txt", "r") as f: # What packages are required for this module to be executed? REQUIRED = [ - 'requests==2.32.3', 'pyqt6==6.7.1' + 'requests', 'pyqt6>=6.7.1' ] # What packages are optional? @@ -87,5 +87,6 @@ setup( 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12' + 'Programming Language :: Python :: 3.13' ] )