mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00

Bumps [djlint](https://github.com/djlint/djLint) from 1.35.2 to 1.36.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/djlint/djLint/releases">djlint's releases</a>.</em></p> <blockquote> <h2>v1.36.1</h2> <ul> <li>Improve performance by ~30%. Thanks, <a href="https://github.com/oliverhaas"><code>@oliverhaas</code></a>.</li> </ul> <h2>v1.36.0</h2> <h3>Feature</h3> <ul> <li>Add support for <code>djlint.toml</code> config file. The format is identical to <code>pyproject.toml</code>, but it does not use <code>[tool.djlint]</code> table.</li> </ul> <h3>Fix</h3> <ul> <li>Do not format HTML in attributes. Thanks, <a href="https://github.com/oliverhaas"><code>@oliverhaas</code></a>.</li> <li>Fix using <code>js_config</code> instead of <code>css_config</code>.</li> </ul> <h3>Performance</h3> <ul> <li>Increase performance by ~30% by using regex more efficiently and caching more stuff.</li> </ul> <h2>v1.35.4</h2> <p>Compiled <a href="https://mypyc.readthedocs.io/en/stable/introduction.html">mypyc</a> wheels are now also available, which improve performance by ~21% over Pure Python. They will be automatically installed by your package manager when available for your platform. Pure Python wheel is still available.</p> <p>Other changes have been made to improve performance, thanks to <a href="https://github.com/JCWasmx86"><code>@JCWasmx86</code></a>. See the <a href="https://github.com/djlint/djLint/compare/v1.35.3...v1.35.4">commits</a> for more details.</p> <p>Formatting performance comparison with the previous version (tested on <a href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a> with single thread):</p> <table> <thead> <tr> <th>Version</th> <th>Seconds</th> </tr> </thead> <tbody> <tr> <td>v1.35.3</td> <td>20.39</td> </tr> <tr> <td>v1.35.4 pure Python</td> <td>14.39</td> </tr> <tr> <td>v1.35.4 compiled</td> <td>11.35</td> </tr> </tbody> </table> <h2>v1.35.3</h2> <p>This release significantly improves performance, especially for large files and large projects.</p> <p>Formatting <a href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a> took 87 seconds in the previous version, now it takes only 4 seconds (>2000% speedup)! Tested on a 32-core computer.</p> <ul> <li>Performance improved by caching some functions. Thanks to <a href="https://github.com/JCWasmx86"><code>@JCWasmx86</code></a>!</li> <li>Removed the limitation on the number of workers introduced in v1.35.0.</li> <li>Drop Python 3.8 support.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/djlint/djLint/blob/master/CHANGELOG.md">djlint's changelog</a>.</em></p> <blockquote> <h2>[1.36.1] - 2024-11-07</h2> <ul> <li>Improve performance by ~30%. Thanks, <a href="https://github.com/oliverhaas"><code>@oliverhaas</code></a>.</li> </ul> <h2>[1.36.0] - 2024-11-05</h2> <h3>Feature</h3> <ul> <li>Add support for <code>djlint.toml</code> config file. The format is identical to <code>pyproject.toml</code>, but it does not use <code>[tool.djlint]</code> table.</li> </ul> <h3>Fix</h3> <ul> <li>Do not format HTML in attributes. Thanks, <a href="https://github.com/oliverhaas"><code>@oliverhaas</code></a>.</li> <li>Fix using <code>js_config</code> instead of <code>css_config</code>.</li> </ul> <h3>Performance</h3> <ul> <li>Increase performance by ~30% by using regex more efficiently and caching more stuff.</li> </ul> <h2>[1.35.4] - 2024-11-01</h2> <p>Compiled <a href="https://mypyc.readthedocs.io/en/stable/introduction.html">mypyc</a> wheels are now also available, which improve performance by ~21% over Pure Python. They will be automatically installed by your package manager when available for your platform. Pure Python wheel is still available.</p> <p>Other changes have been made to improve performance, thanks to <a href="https://github.com/JCWasmx86"><code>@JCWasmx86</code></a>. See the <a href="https://github.com/djlint/djLint/compare/v1.35.3...v1.35.4">commits</a> for more details.</p> <p>Formatting performance comparison with the previous version (tested on <a href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a> with single thread):</p> <table> <thead> <tr> <th>Version</th> <th>Seconds</th> </tr> </thead> <tbody> <tr> <td>v1.35.3</td> <td>20.39</td> </tr> <tr> <td>v1.35.4 pure Python</td> <td>14.39</td> </tr> <tr> <td>v1.35.4 compiled</td> <td>11.35</td> </tr> </tbody> </table> <h2>[1.35.3] - 2024-10-30</h2> <p>This release significantly improves performance, especially for large files and large projects.</p> <p>Formatting <a href="https://github.com/openedx/edx-platform">https://github.com/openedx/edx-platform</a> took 87 seconds in the previous version, now it takes only 4 seconds (>2000% speedup)! Tested on a 32-core computer.</p> <ul> <li>Performance improved by caching some functions. Thanks to <a href="https://github.com/JCWasmx86"><code>@JCWasmx86</code></a>!</li> <li>Removed the limitation on the number of workers introduced in v1.35.0.</li> <li>Drop Python 3.8 support.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f908697f4e
"><code>f908697</code></a> chore: v1.36.1</li> <li><a href="92e2e84f64
"><code>92e2e84</code></a> chore(deps): lock file maintenance</li> <li><a href="96fec0e0e1
"><code>96fec0e</code></a> chore(deps): update dependency <code>@ianvs/prettier-plugin-sort-imports</code> to v4.4.0</li> <li><a href="a7050555f8
"><code>a705055</code></a> chore(deps): lock file maintenance</li> <li><a href="21dc6a12d7
"><code>21dc6a1</code></a> perf: simple skip for unformatted blocks (<a href="https://redirect.github.com/djlint/djLint/issues/1005">#1005</a>)</li> <li><a href="9dc7ea3cb6
"><code>9dc7ea3</code></a> chore(deps): lock file maintenance</li> <li><a href="14530c8356
"><code>14530c8</code></a> chore: v1.36.0</li> <li><a href="d97be3b90e
"><code>d97be3b</code></a> fix: types.py -> types.pyi</li> <li><a href="012ee62d47
"><code>012ee62</code></a> chore(deps): lock file maintenance</li> <li><a href="1afeeb87cf
"><code>1afeeb8</code></a> fix: fix type hint</li> <li>Additional commits viewable in <a href="https://github.com/djlint/djLint/compare/v1.35.2...v1.36.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
102 lines
2.2 KiB
TOML
102 lines
2.2 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "umap-project"
|
|
dynamic = ["version"]
|
|
description = "Create maps with OpenStreetMap layers in a minute and embed them in your site."
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "Yohan Boniface", email = "yb@enix.org" },
|
|
]
|
|
maintainers = [
|
|
{ name = "David Larlet", email = "david@larlet.fr" },
|
|
]
|
|
homepage = "https://github.com/umap-project/umap"
|
|
keywords = ["django", "leaflet", "geodjango", "openstreetmap", "map"]
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Operating System :: OS Independent",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"Django==5.1.3",
|
|
"django-agnocomplete==2.2.0",
|
|
"django-environ==0.11.2",
|
|
"django-probes==1.7.0",
|
|
"Pillow==11.0.0",
|
|
"psycopg==3.2.3",
|
|
"requests==2.32.3",
|
|
"rcssmin==1.1.3",
|
|
"rjsmin==1.2.3",
|
|
"social-auth-core==4.5.4",
|
|
"social-auth-app-django==5.4.2",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"hatch==1.13.0",
|
|
"ruff==0.7.3",
|
|
"djlint==1.36.1",
|
|
"mkdocs==1.6.1",
|
|
"mkdocs-material==9.5.44",
|
|
"mkdocs-static-i18n==1.2.3",
|
|
"vermin==1.6.0",
|
|
"pymdown-extensions==10.11.2",
|
|
"isort==5.13.2",
|
|
]
|
|
test = [
|
|
"factory-boy==3.3.1",
|
|
"playwright>=1.39",
|
|
"pytest==8.3.3",
|
|
"pytest-django==4.9.0",
|
|
"pytest-playwright==0.5.2",
|
|
"pytest-rerunfailures==14.0",
|
|
"pytest-xdist>=3.5.0,<4",
|
|
]
|
|
docker = [
|
|
"uwsgi==2.0.28",
|
|
]
|
|
sync = [
|
|
"channels==4.1.0",
|
|
"daphne==4.1.2",
|
|
"pydantic==2.9.2",
|
|
"websockets==13.1",
|
|
]
|
|
|
|
[project.scripts]
|
|
umap = "umap.bin:main"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/umap",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["umap"]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.version]
|
|
path = "umap/__init__.py"
|
|
|
|
[tool.flake8]
|
|
# Black crazyness.
|
|
max-line-length = 88
|
|
|
|
[tool.djlint]
|
|
profile="django"
|
|
indent=2
|
|
format_css=true
|
|
blank_line_after_tag="load,extends"
|
|
line_break_after_multiline_tag=true
|
|
|