From 35dc744939c802eb634abe3aae2de05c055d2f91 Mon Sep 17 00:00:00 2001 From: Roberto Berto Date: Tue, 27 Aug 2024 15:37:43 -0300 Subject: makefile now works to maintainer build/upload do pypy fixed vulnerabilities: - Bump certifi from 2024.2.2 to 2024.7.4 - Bump idna from 3.6 to 3.7 - Bump urllib3 from 2.2.1 to 2.2.2 --- Makefile | 13 ++++++------- pyproject.toml | 20 ++++++++++---------- requirements.txt | 2 +- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 04ed05a..42b53e9 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,14 @@ -.PHONE: help +.PHONY: help help: @echo "build - build the package" @echo "upload - upload the package to PyPI" .PHONY: build build: - source env/bin/activate - python -m build --sdist - python -m build --wheel + env/bin/python -m build --sdist + env/bin/python -m build --wheel +.PHONY: upload upload: - source env/bin/activate - twine check dist/* - twine upload dist/* + env/bin/python -m twine check dist/* + env/bin/python -m twine upload dist/* diff --git a/pyproject.toml b/pyproject.toml index e90621b..6eee47d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pyvyos" -version = "0.2.1" +version = "0.2.2" authors = [ { name="Roberto Berto", email="463349+robertoberto@users.noreply.github.com" }, ] @@ -18,26 +18,26 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/robertoberto/pyvyos" -Issues = "https://github.com/robertoberto/pyvyos/issues" +Homepage = "https://github.com/vyos-contrib/pyvyos" +Issues = "https://github.com/vyos-contrib/pyvyos/issues" [tool.hatch.metadata] dependencies = [ - "requests>=2.31.0,<3.0", - "python-dotenv>=1.0.1,<2.0" + "requests>=2.31.0,<3.0", + "python-dotenv>=1.0.1,<2.0" ] dev-dependencies = [ - "pytest>=6.2.2,<7.0" + "pytest>=6.2.2,<7.0" ] [tool.poetry] name = "pyvyos" description = "Python SDK for interacting with VyOS API" authors = ["Roberto Berto <463349+robertoberto@users.noreply.github.com>"] -version = "0.2.1" +version = "0.2.2" [tool.poetry.dependencies] -python = ">=3.8" -requests = "^2.31.0" -python-dotenv = "^1.0.1" +python = ">=3.8" +requests = "^2.31.0" +python-dotenv = "^1.0.1" diff --git a/requirements.txt b/requirements.txt index 56dc8de..411e18c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ requests>=2.25.1,<3.0 python-dotenv>=1.0.1,<2.0 -poetry>=1.1.0,<2.0 \ No newline at end of file +poetry>=1.1.0,<2.0 -- cgit v1.2.3