-
Notifications
You must be signed in to change notification settings - Fork 2
Project updates #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Project updates #25
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7386358
Update project configs to pyproject.toml
nocarryr b275ca2
Use tomllib for version test
nocarryr 1631ab2
Constrain sphinx builders for sphinx<5 compat
nocarryr de2d357
Add uv lockfiles
nocarryr 37036c9
Update workflows to use uv
nocarryr 5539279
Use uv in rtd builds
nocarryr 7b58470
Drop Python 3.6 and 3.7 from tests
nocarryr 87ceaad
Add sphinx plugin as a virtual dependency
nocarryr aac9503
Use requirements.txt format
nocarryr 960a98d
Add Python 3.12, 3.13 to tests
nocarryr d8f62e1
Add imghdr backport for Python>=3.13
nocarryr 1c05308
Ensure test deps for plugin are included in lock file
nocarryr d255035
Update project meta with supported Python versions
nocarryr 0411666
Update lockfiles from d2550358
nocarryr 16df06d
Add uv badge to readme
nocarryr 71d8075
Include setuptools as dependency of m2r2
nocarryr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,18 @@ | ||
| version: 2 | ||
|
|
||
| python: | ||
| version: "3.8" | ||
| install: | ||
| - requirements: doc/requirements.txt | ||
| - method: pip | ||
| path: . | ||
| - method: pip | ||
| path: sphinx-plugin | ||
| build: | ||
| os: ubuntu-24.04 | ||
| tools: | ||
| python: "3.11" | ||
| jobs: | ||
| create_environment: | ||
| - asdf plugin add uv | ||
| - asdf install uv latest | ||
| - asdf global uv latest | ||
| - UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group doc | ||
| - UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install -e sphinx-plugin | ||
| install: | ||
| - "true" | ||
|
|
||
| sphinx: | ||
| configuration: doc/source/conf.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
|
|
||
| [project] | ||
| name = "python-dispatch" | ||
| version = "0.2.2" | ||
| description = "Lightweight Event Handling Library for Python" | ||
| authors = [ | ||
| { name = "Matthew Reid", email = "matt@nomadic-recording.com" } | ||
| ] | ||
| readme = "README.md" | ||
| license = "MIT" | ||
| keywords = ["event", "properties", "dispatch"] | ||
| requires-python = ">=3.8" | ||
| classifiers = [ | ||
| "Development Status :: 3 - Alpha", | ||
| "Intended Audience :: Developers", | ||
| "Operating System :: OS Independent", | ||
| "Programming Language :: Python", | ||
| "Topic :: Software Development", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.8", | ||
| "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", | ||
| "Topic :: Software Development :: Libraries", | ||
| "Topic :: Software Development :: Libraries :: Python Modules" | ||
nocarryr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ] | ||
| dependencies = [ | ||
| "importlib-metadata; python_version < '3.8'" | ||
nocarryr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ] | ||
|
|
||
|
|
||
| [project.urls] | ||
| Documentation = "https://python-dispatch.readthedocs.io/" | ||
| Source = "https://github.com/nocarryr/python-dispatch" | ||
| Download = "https://pypi.org/project/python-dispatch/" | ||
| Tracker = "https://github.com/nocarryr/python-dispatch/issues" | ||
|
|
||
|
|
||
| [build-system] | ||
| requires = ["uv_build>=0.9.16,<0.10.0"] | ||
| build-backend = "uv_build" | ||
|
|
||
| [tool.uv.build-backend] | ||
| module-root = "" | ||
| module-name = "pydispatch" | ||
|
|
||
| [tool.uv.sources] | ||
| python-dispatch-sphinx = { path = "sphinx-plugin", package = false } | ||
|
|
||
|
|
||
| [tool.pytest.ini_options] | ||
| testpaths = ["tests", "doc", "pydispatch"] | ||
| addopts = "--doctest-modules --doctest-glob='*.rst' --doctest-glob='*.md'" | ||
| doctest_plus = "enabled" | ||
| asyncio_mode = "auto" | ||
|
|
||
|
|
||
| [dependency-groups] | ||
| doc = [ | ||
| "furo>=2022.4.7", | ||
| "m2r2>=0.3.2", | ||
| "setuptools>=60.2.0", | ||
| "sphinx<5.0.0", | ||
| "sphinx-panels>=0.6.0", | ||
| "sphinx-rst-builder>=0.0.3", | ||
| "sphinx-rtd-theme>=1.3.0", | ||
| ] | ||
| test = [ | ||
| {include-group = "doc"}, | ||
| "coveralls>=3.3.1", | ||
| "pytest>=7.0.1", | ||
| "pytest-asyncio>=0.16.0", | ||
| "pytest-cov>=4.0.0", | ||
| "pytest-doctestplus>=0.9.0", | ||
| "tomli; python_version < '3.11'", | ||
| ] | ||
|
|
||
| dev = [ | ||
| {include-group = "test"}, | ||
| "python-dispatch-sphinx", | ||
| ] | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.