forked from github.com/blag
dropped support for python 3.8 and 3.9
This commit is contained in:
7
.github/workflows/python-package.yaml
vendored
7
.github/workflows/python-package.yaml
vendored
@@ -17,15 +17,10 @@ jobs:
|
|||||||
- macos-latest
|
- macos-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
python-version:
|
python-version:
|
||||||
- "3.8"
|
|
||||||
- "3.9"
|
|
||||||
- "3.10"
|
- "3.10"
|
||||||
- "3.11"
|
- "3.11"
|
||||||
- "3.12"
|
- "3.12"
|
||||||
exclude:
|
- "3.13"
|
||||||
# 3.8 on windows fails due to some pip issue
|
|
||||||
- os: windows-latest
|
|
||||||
python-version: "3.8"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## unreleased
|
||||||
|
|
||||||
|
* dropped support for Python 3.8 and 3.9
|
||||||
|
* added Python 3.13 to CI test suite
|
||||||
|
|
||||||
## [2.2.1] -- 2023-11-11
|
## [2.2.1] -- 2023-11-11
|
||||||
|
|
||||||
* fixed `suggests` to blag-doc
|
* fixed `suggests` to blag-doc
|
||||||
|
|||||||
@@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
"""blag's core methods."""
|
"""blag's core methods."""
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import configparser
|
import configparser
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
@@ -6,9 +6,6 @@ site if necessary.
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import multiprocessing
|
import multiprocessing
|
||||||
|
|||||||
@@ -5,9 +5,6 @@ processing.
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from urllib.parse import urlsplit, urlunsplit
|
from urllib.parse import urlsplit, urlunsplit
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
"""Helper methods for blag's quickstart command."""
|
"""Helper methods for blag's quickstart command."""
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import configparser
|
import configparser
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ description = "blog-aware, static site generator"
|
|||||||
keywords = ["markdown", "blag", "blog", "static site generator", "cli"]
|
keywords = ["markdown", "blag", "blog", "static site generator", "cli"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { file="LICENSE" }
|
license = { file="LICENSE" }
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.10"
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"markdown",
|
"markdown",
|
||||||
@@ -65,7 +65,7 @@ addopts = """
|
|||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 79
|
line-length = 79
|
||||||
target-version = "py38"
|
target-version = "py310"
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = [
|
select = [
|
||||||
|
|||||||
@@ -1,13 +1,9 @@
|
|||||||
"""Pytest fixtures."""
|
"""Pytest fixtures."""
|
||||||
|
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
|
from collections.abc import Callable, Iterator
|
||||||
from tempfile import TemporaryDirectory
|
from tempfile import TemporaryDirectory
|
||||||
from typing import Callable, Iterator
|
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from jinja2 import Environment, Template
|
from jinja2 import Environment, Template
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
"""Test blag."""
|
"""Test blag."""
|
||||||
|
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
"""Tests for the devserver module."""
|
"""Tests for the devserver module."""
|
||||||
|
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
from argparse import Namespace
|
from argparse import Namespace
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
"""Test markdown module."""
|
"""Test markdown module."""
|
||||||
|
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
"""Tests for the quickstart module."""
|
"""Tests for the quickstart module."""
|
||||||
|
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from pytest import MonkeyPatch
|
from pytest import MonkeyPatch
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
"""Test the templates."""
|
"""Test the templates."""
|
||||||
|
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
from jinja2 import Template
|
from jinja2 import Template
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
"""Test the version module."""
|
"""Test the version module."""
|
||||||
|
|
||||||
|
|
||||||
# remove when we don't support py38 anymore
|
|
||||||
from __future__ import annotations
|
|
||||||
|
|
||||||
import blag
|
import blag
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user