mirror of
https://github.com/abhiTronix/vidgear.git
synced 2026-02-06 19:03:18 +00:00
* 💥Update Python version requirements to support 3.10 and above * 📝 Update installation documentation to reflect support for Python 3.10+ * 👷💥 Remove Python 3.9 from AppVeyor configuration and add support for Python 3.13 * 👷💥 Remove Python 3.9 from Azure Pipelines configuration and add support for Python 3.13 * 👷💥 Update Python version matrix in CI configuration to remove 3.9 and add 3.13 * 👷 Use Python version in deployment workflow from 3.9 to 3.11 * 📝 Update deprecation notice to reflect removal of Python 3.9 support * 🐛 Fix string comparison for Python version checks in CI configuration
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
@@ -81,13 +81,13 @@ jobs:
|
||||
export VIDGEAR_LOGFILE="$HOME/logs"
|
||||
timeout 1200 pytest --verbose --cov=vidgear --cov-report=xml --cov-report term-missing vidgear/tests/ || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; else echo "EXIT_CODE=$code" >>$GITHUB_ENV; fi
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
if: success() && matrix.python-version == 3.9
|
||||
if: success() && matrix.python-version == '3.11'
|
||||
- name: pytest without_ENV
|
||||
run: |
|
||||
sudo modprobe v4l2loopback devices=1 video_nr=0 exclusive_caps=1 card_label='VCamera'
|
||||
timeout 1200 pytest --verbose --cov=vidgear --cov-report=xml --cov-report term-missing vidgear/tests/ || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; else echo "EXIT_CODE=$code" >>$GITHUB_ENV; fi
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
if: success() && matrix.python-version != 3.9
|
||||
if: success() && matrix.python-version != '3.11'
|
||||
- name: Display exit code
|
||||
run: echo "Exit code was = $EXIT_CODE"
|
||||
- name: Upload coverage to Codecov
|
||||
|
||||
@@ -23,7 +23,7 @@ on:
|
||||
types: [published]
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: 3.9
|
||||
PYTHON_VERSION: 3.11
|
||||
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
GIT_NAME: ${{ secrets.GIT_NAME }}
|
||||
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
|
||||
|
||||
+4
-4
@@ -16,10 +16,6 @@ image: Visual Studio 2019
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- PYTHON: "C:\\Python39-x64"
|
||||
PYTHON_VERSION: "3.9.x"
|
||||
PYTHON_ARCH: "64"
|
||||
|
||||
- PYTHON: "C:\\Python310-x64"
|
||||
PYTHON_VERSION: "3.10.x"
|
||||
PYTHON_ARCH: "64"
|
||||
@@ -32,6 +28,10 @@ environment:
|
||||
PYTHON_VERSION: "3.12.x"
|
||||
PYTHON_ARCH: "64"
|
||||
|
||||
- PYTHON: "C:\\Python313-x64"
|
||||
PYTHON_VERSION: "3.13.x"
|
||||
PYTHON_ARCH: "64"
|
||||
|
||||
build: off
|
||||
|
||||
version: "{branch}-{build}"
|
||||
|
||||
+2
-2
@@ -35,14 +35,14 @@ pool:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
Python39:
|
||||
python.version: "3.9"
|
||||
Python310:
|
||||
python.version: "3.10"
|
||||
Python311:
|
||||
python.version: "3.11"
|
||||
Python312:
|
||||
python.version: "3.12"
|
||||
Python313:
|
||||
python.version: "3.13"
|
||||
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
|
||||
@@ -29,7 +29,7 @@ limitations under the License.
|
||||
|
||||
## Supported Systems
|
||||
|
||||
VidGear is well-tested and supported on the following systems(but not limited to), with [python 3.9+](https://www.python.org/downloads/) and [pip](https://pip.pypa.io/en/stable/getting-started/) installed:
|
||||
VidGear is well-tested and supported on the following systems(but not limited to), with [python 3.10+](https://www.python.org/downloads/) and [pip](https://pip.pypa.io/en/stable/getting-started/) installed:
|
||||
|
||||
* Any :material-linux: Linux distro released in 2016 or later
|
||||
* :fontawesome-brands-windows: Windows 7 or later
|
||||
@@ -41,9 +41,9 @@ VidGear is well-tested and supported on the following systems(but not limited to
|
||||
|
||||
!!! warning "Depreciation Notice"
|
||||
|
||||
Python-3.8 legacies support has been dropped from Vidgear.
|
||||
Python-3.9 legacies support has been dropped from Vidgear.
|
||||
|
||||
:fontawesome-brands-python: [**Python 3.9+**](https://www.python.org/downloads/) are only supported legacies for installing Vidgear `v0.3.4` and above.
|
||||
:fontawesome-brands-python: [**Python 3.10+**](https://www.python.org/downloads/) are only supported legacies for installing Vidgear `v0.3.4` and above.
|
||||
|
||||
 
|
||||
|
||||
|
||||
@@ -155,12 +155,12 @@ setup(
|
||||
"Intended Audience :: Science/Research",
|
||||
"Intended Audience :: Education",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
],
|
||||
python_requires=">=3.9",
|
||||
python_requires=">=3.10",
|
||||
scripts=[],
|
||||
project_urls={
|
||||
"Bug Reports": "https://github.com/abhiTronix/vidgear/issues",
|
||||
|
||||
Reference in New Issue
Block a user