Skip to content

Commit

Permalink
Update metadata, require 3.8, test up to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Nov 2, 2023
1 parent e01202e commit 20ea359
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 39 deletions.
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
day: "saturday"
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [macOS-latest, ubuntu-latest, windows-latest]

steps:
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
Expand Down
8 changes: 6 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
version: 2
sphinx:
configuration: docs/conf.py
build:
os: ubuntu-22.04
tools:
python: "3.10"
python:
version: 3.7
install:
- requirements: requirements-dev.txt
- method: pip
path: .
extra_requirements:
- dev
10 changes: 3 additions & 7 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ SRCS:=sphinx_mdinclude

.venv:
python -m venv .venv
source .venv/bin/activate && make setup dev
source .venv/bin/activate && make install
echo 'run `source .venv/bin/activate` to use virtualenv'

venv: .venv

dev:
flit install --symlink

setup:
install:
python -m pip install -U pip
python -m pip install -Ur requirements-dev.txt
python -m pip install -Ur requirements.txt
python -m pip install -Ue .[dev]

release: lint test clean
flit publish
Expand Down
36 changes: 24 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["flit_core >=3.2,<4"]
requires = ["flit_core >=3.8,<4"]
build-backend = "flit_core.buildapi"

[project]
Expand All @@ -13,27 +13,39 @@ maintainers = [
{name = "Amethyst Reese", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.6"
dependencies = [
"mistune >=2.0,<3.0",
"docutils >=0.16,<1.0",
"pygments >= 2.8",
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Sphinx :: Extension",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Text Processing",
]
keywords = ["Markdown", "reStructuredText", "sphinx-extension"]
dynamic = ["version", "description"]
requires-python = ">=3.8"
dependencies = [
"mistune >=2.0,<3.0",
"docutils >=0.16,<1.0",
"pygments >= 2.8",
]

[project.optional-dependencies]
dev = [
"docutils==0.19",
"mistune==2.0.4",

"attribution==1.5.2",
"black==22.6.0",
"coverage==6.4.4",
"flake8==5.0.4",
"flit==3.8.0",
"mypy==0.971",
"pessimist==0.9.3",
"sphinx==5.1.1",
"ufmt==2.0.0",
"usort==1.0.4",
]

[project.urls]
Github = "https://github.com/omnilib/sphinx-mdinclude"
Expand Down
12 changes: 0 additions & 12 deletions requirements-dev.txt

This file was deleted.

3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

0 comments on commit 20ea359

Please sign in to comment.