From 38c2e5e43014206a4f0d0bc608603afe85de6731 Mon Sep 17 00:00:00 2001 From: Andy Pack Date: Sat, 20 Jul 2024 13:56:47 +0100 Subject: [PATCH] fiddling with poetry export, updating py deps --- admin.py | 10 +++++++++- poetry.lock | 16 ++++++++-------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/admin.py b/admin.py index 6e440ab..901f768 100755 --- a/admin.py +++ b/admin.py @@ -232,8 +232,16 @@ class Admin(Cmd): # filtered = [i[:-2] for i in filtered] # get rid of space and slash at end of line filtered = [i.split(';')[0] for i in depend] + final_filtered = [] + for f in filtered: + if f.count('@') == 2: + final_filtered.append(f[:f.rindex('@') + 1] + "master") + else: + final_filtered.append(f) + + with open('requirements.txt', 'w') as f: - f.write("\n".join(filtered)) + f.write("\n".join(final_filtered)) # FRONT-END diff --git a/poetry.lock b/poetry.lock index da63418..dd39801 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1403,13 +1403,13 @@ test = ["pytest"] [[package]] name = "sphinxcontrib-htmlhelp" -version = "2.0.5" +version = "2.0.6" description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" optional = false python-versions = ">=3.9" files = [ - {file = "sphinxcontrib_htmlhelp-2.0.5-py3-none-any.whl", hash = "sha256:393f04f112b4d2f53d93448d4bce35842f62b307ccdc549ec1585e950bc35e04"}, - {file = "sphinxcontrib_htmlhelp-2.0.5.tar.gz", hash = "sha256:0dc87637d5de53dd5eec3a6a01753b1ccf99494bd756aafecd74b4fa9e729015"}, + {file = "sphinxcontrib_htmlhelp-2.0.6-py3-none-any.whl", hash = "sha256:1b9af5a2671a61410a868fce050cab7ca393c218e6205cbc7f590136f207395c"}, + {file = "sphinxcontrib_htmlhelp-2.0.6.tar.gz", hash = "sha256:c6597da06185f0e3b4dc952777a04200611ef563882e0c244d27a15ee22afa73"}, ] [package.extras] @@ -1433,19 +1433,19 @@ test = ["flake8", "mypy", "pytest"] [[package]] name = "sphinxcontrib-qthelp" -version = "1.0.7" +version = "1.0.8" description = "sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp documents" optional = false python-versions = ">=3.9" files = [ - {file = "sphinxcontrib_qthelp-1.0.7-py3-none-any.whl", hash = "sha256:e2ae3b5c492d58fcbd73281fbd27e34b8393ec34a073c792642cd8e529288182"}, - {file = "sphinxcontrib_qthelp-1.0.7.tar.gz", hash = "sha256:053dedc38823a80a7209a80860b16b722e9e0209e32fea98c90e4e6624588ed6"}, + {file = "sphinxcontrib_qthelp-1.0.8-py3-none-any.whl", hash = "sha256:323d6acc4189af76dfe94edd2a27d458902319b60fcca2aeef3b2180c106a75f"}, + {file = "sphinxcontrib_qthelp-1.0.8.tar.gz", hash = "sha256:db3f8fa10789c7a8e76d173c23364bdf0ebcd9449969a9e6a3dd31b8b7469f03"}, ] [package.extras] lint = ["docutils-stubs", "flake8", "mypy"] standalone = ["Sphinx (>=5)"] -test = ["pytest"] +test = ["defusedxml (>=0.7.1)", "pytest"] [[package]] name = "sphinxcontrib-serializinghtml" @@ -1500,7 +1500,7 @@ tabulate = "^0.8.7" type = "git" url = "https://github.com/Sarsoo/spotframework.git" reference = "master" -resolved_reference = "bc45c8934903ba0e11d3d96a6545566a327ff797" +resolved_reference = "801bbd5e2a4b1673eb640395e99cc6058cdf3b8a" [[package]] name = "tabulate"