Skip to content

Commit

Permalink
馃挌 Use poetry 1.2 commands (#336)
Browse files Browse the repository at this point in the history
* 馃挌 Use poetry 1.2 commands

- Use poetry version --short
- Remove config experimental.new-installer
- Add GitHub Actions to dependabot updates

* Revert pkg_resources
  • Loading branch information
roniemartinez committed Sep 11, 2022
1 parent 6d75a4b commit ffc331d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
9 changes: 6 additions & 3 deletions .github/dependabot.yml
Expand Up @@ -9,6 +9,9 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"
ignore:
- dependency-name: "mistune"
- dependency-name: "tomlkit"

# Version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
3 changes: 1 addition & 2 deletions Makefile
Expand Up @@ -7,7 +7,6 @@ install:
install-actions:
pip3 install pip setuptools poetry
poetry config virtualenvs.create false
poetry config experimental.new-installer false
poetry install

.PHONY: format
Expand All @@ -30,6 +29,6 @@ test:

.PHONY: tag
tag:
VERSION=`poetry version | grep -o -E "\d+\.\d+\.\d+(-\w+\.\d+)?"`; \
VERSION=`poetry version --short`; \
git tag -s -a $$VERSION -m "Release $$VERSION"; \
echo "Tagged $$VERSION";
10 changes: 3 additions & 7 deletions pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "latex2mathml"
version = "3.74.0"
version = "3.74.1"
repository = "https://github.com/roniemartinez/latex2mathml"
description = "Pure Python library for LaTeX to MathML conversion"
authors = ["Ronie Martinez <ronmarti18@gmail.com>"]
Expand All @@ -27,7 +27,7 @@ classifiers = [
]

[tool.poetry.urls]
"Donate" = "https://github.com/sponsors/roniemartinez"
"Donate" = "https://www.buymeacoffee.com/roniemartinez"

[tool.poetry.scripts]
latex2mathml = "latex2mathml.converter:main"
Expand Down Expand Up @@ -94,10 +94,6 @@ addopts = """\
-x \
"""

[tool.dephell.main]
from = { format = "poetry", path = "pyproject.toml" }
to = { format = "setuppy", path = "setup.py" }

[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit ffc331d

Please sign in to comment.