diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d116a59..ca124c8 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -19,7 +19,7 @@ jobs: cache: 'pipenv' - name: "Install Dependencies" run: | - python -m pip install pipenv==2025.0.4 + python -m pip install pipenv==2026.8.0 pipenv --python `python --version | grep -Eo '3\.[0-9]+'` sync --dev - name: "Build Documentation" run: pipenv --python `python --version | grep -Eo '3\.[0-9]+'` run make -C docs html SPHINXOPTS="-W -n" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 500961a..4aff5f0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - name: Checkout Instaloader Repository uses: actions/checkout@v7 @@ -22,10 +22,9 @@ jobs: cache: 'pipenv' - name: Install Dependencies run: | - python -m pip install pipenv==2025.0.4 + python -m pip install pipenv==2026.8.0 pipenv --python `python --version | grep -Eo '3\.[0-9]+'` sync --dev - name: PyLint - if: matrix.python-version != '3.9' run: pipenv --python `python --version | grep -Eo '3\.[0-9]+'` run pylint instaloader - name: MyPy run: pipenv --python `python --version | grep -Eo '3\.[0-9]+'` run mypy -m instaloader diff --git a/deploy/windows/create_exe.py b/deploy/windows/create_exe.py index 49bcb4b..92cacc8 100644 --- a/deploy/windows/create_exe.py +++ b/deploy/windows/create_exe.py @@ -44,7 +44,7 @@ with open('__main__.py', 'w+') as f: f.writelines(lines) # install dependencies and invoke PyInstaller -commands = ["pip install pipenv==2025.0.4", +commands = ["pip install pipenv==2026.8.0", f"pipenv --python {sys.version_info.major}.{sys.version_info.minor} sync --dev", "pipenv run pyinstaller --log-level=DEBUG instaloader.spec"] diff --git a/setup.py b/setup.py index d83ee31..e18fe4c 100755 --- a/setup.py +++ b/setup.py @@ -18,8 +18,8 @@ def get_version(): raise SystemExit("Could not find version string.") -if sys.version_info < (3, 9): - sys.exit('Instaloader requires Python >= 3.9.') +if sys.version_info < (3, 10): + sys.exit('Instaloader requires Python >= 3.10.') requirements = ['requests>=2.25'] optional_requirements = { @@ -46,7 +46,7 @@ setup( 'from Instagram.', long_description=open(os.path.join(SRC, 'README.rst')).read(), install_requires=requirements, - python_requires='>=3.9', + python_requires='>=3.10', extras_require=optional_requirements, entry_points={'console_scripts': ['instaloader=instaloader.__main__:main']}, zip_safe=False, @@ -58,7 +58,6 @@ setup( 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12',