From d956c43f07ef29b57a0e270aec4c4aa083fe40ac Mon Sep 17 00:00:00 2001 From: mcgillij Date: Fri, 22 Jul 2022 16:12:36 -0300 Subject: [PATCH] updated pyJWT --- PKGBUILD | 11 +++-------- poetry.lock | 35 ++++++++++++++++------------------- pyproject.toml | 8 ++++---- 3 files changed, 23 insertions(+), 31 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 2d4202e..8235ea4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,19 +3,14 @@ pkgname=py3status-github-notifications pkgdesc="Python module for py3status to keep track of your Github notifications." -pkgver=0.1.4 +pkgver=0.1.5 pkgrel=1 arch=('any') license=('MIT') -makedepends=('python-setuptools' "python-dephell") +makedepends=('python-setuptools') url="https://github.com/mcgillij/py3status-github-notifications" source=("https://github.com/mcgillij/py3status-github-notifications/releases/download/$pkgver/py3status-github-notifications-$pkgver.tar.gz") -md5sums=('d399daec3df14da8d67800de23245864') - -prepare() { - cd "$pkgname-$pkgver" - dephell deps convert --from pyproject.toml --to setup.py -} +md5sums=('b50c30e4e4c726826c505850503010d3') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/poetry.lock b/poetry.lock index 86ab5a5..d43e580 100644 --- a/poetry.lock +++ b/poetry.lock @@ -131,16 +131,16 @@ graph = ["objgraph (>=1.7.2)"] [[package]] name = "flake8" -version = "3.9.2" +version = "4.0.1" description = "the modular source code checker: pep8 pyflakes and co" category = "dev" optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" +python-versions = ">=3.6" [package.dependencies] mccabe = ">=0.6.0,<0.7.0" -pycodestyle = ">=2.7.0,<2.8.0" -pyflakes = ">=2.3.0,<2.4.0" +pycodestyle = ">=2.8.0,<2.9.0" +pyflakes = ">=2.4.0,<2.5.0" [[package]] name = "idna" @@ -262,11 +262,11 @@ udev = ["pyudev (>=0.21.0)"] [[package]] name = "pycodestyle" -version = "2.7.0" +version = "2.8.0" description = "Python style guide checker" category = "dev" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] name = "pycparser" @@ -278,7 +278,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] name = "pyflakes" -version = "2.3.1" +version = "2.4.0" description = "passive checker of Python programs" category = "dev" optional = false @@ -303,7 +303,7 @@ integrations = ["cryptography"] [[package]] name = "pyjwt" -version = "2.2.0" +version = "2.4.0" description = "JSON Web Token implementation in Python" category = "main" optional = false @@ -451,7 +451,7 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [metadata] lock-version = "1.1" python-versions = "^3.9 || ^3.10" -content-hash = "755a3b22e011a68f8a327c31f2035551faa79b084553e8d6dcfc7a12a0d1a4cb" +content-hash = "edf03d1375d1afbd03b38bef6b5685e83a503a41f667d046ccbbce6778197ee2" [metadata.files] astroid = [] @@ -475,8 +475,8 @@ deprecated = [ ] dill = [] flake8 = [ - {file = "flake8-3.9.2-py2.py3-none-any.whl", hash = "sha256:bf8fd333346d844f616e8d47905ef3a3384edae6b4e9beb0c5101e25e3110907"}, - {file = "flake8-3.9.2.tar.gz", hash = "sha256:07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b"}, + {file = "flake8-4.0.1-py2.py3-none-any.whl", hash = "sha256:479b1304f72536a55948cb40a32dce8bb0ffe3501e26eaf292c7e60eb5e0428d"}, + {file = "flake8-4.0.1.tar.gz", hash = "sha256:806e034dda44114815e23c16ef92f95c91e4c71100ff52813adf7132a6ad870d"}, ] idna = [ {file = "idna-3.3-py3-none-any.whl", hash = "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff"}, @@ -559,25 +559,22 @@ py = [ ] py3status = [] pycodestyle = [ - {file = "pycodestyle-2.7.0-py2.py3-none-any.whl", hash = "sha256:514f76d918fcc0b55c6680472f0a37970994e07bbb80725808c17089be302068"}, - {file = "pycodestyle-2.7.0.tar.gz", hash = "sha256:c389c1d06bf7904078ca03399a4816f974a1d590090fecea0c63ec26ebaf1cef"}, + {file = "pycodestyle-2.8.0-py2.py3-none-any.whl", hash = "sha256:720f8b39dde8b293825e7ff02c475f3077124006db4f440dcbc9a20b76548a20"}, + {file = "pycodestyle-2.8.0.tar.gz", hash = "sha256:eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f"}, ] pycparser = [ {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, ] pyflakes = [ - {file = "pyflakes-2.3.1-py2.py3-none-any.whl", hash = "sha256:7893783d01b8a89811dd72d7dfd4d84ff098e5eed95cfa8905b22bbffe52efc3"}, - {file = "pyflakes-2.3.1.tar.gz", hash = "sha256:f5bc8ecabc05bb9d291eb5203d6810b49040f6ff446a756326104746cc00c1db"}, + {file = "pyflakes-2.4.0-py2.py3-none-any.whl", hash = "sha256:3bb3a3f256f4b7968c9c788781e4ff07dce46bdf12339dcda61053375426ee2e"}, + {file = "pyflakes-2.4.0.tar.gz", hash = "sha256:05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c"}, ] pygithub = [ {file = "PyGithub-1.55-py3-none-any.whl", hash = "sha256:2caf0054ea079b71e539741ae56c5a95e073b81fa472ce222e81667381b9601b"}, {file = "PyGithub-1.55.tar.gz", hash = "sha256:1bbfff9372047ff3f21d5cd8e07720f3dbfdaf6462fcaed9d815f528f1ba7283"}, ] -pyjwt = [ - {file = "PyJWT-2.2.0-py3-none-any.whl", hash = "sha256:b0ed5824c8ecc5362e540c65dc6247567db130c4226670bf7699aec92fb4dae1"}, - {file = "PyJWT-2.2.0.tar.gz", hash = "sha256:a0b9a3b4e5ca5517cac9f1a6e9cd30bf1aa80be74fcdf4e28eded582ecfcfbae"}, -] +pyjwt = [] pylint = [] pynacl = [ {file = "PyNaCl-1.5.0-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:401002a4aaa07c9414132aaed7f6836ff98f59277a234704ff66878c2ee4a0d1"}, diff --git a/pyproject.toml b/pyproject.toml index e868b54..6fd4172 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,14 +26,14 @@ module = "py3status_github_notifications.github_notifications" [tool.poetry.dependencies] python = "^3.9 || ^3.10" PyGithub = "^1.55" -py3status = "^3.36" -PyJWT = "2.2.0" +py3status = "^3.45" +PyJWT = "2.4.0" [tool.poetry.dev-dependencies] pytest = "*" black = "*" -flake8 = "^3.8.4" -pylint = "^2.7.2" +flake8 = "*" +pylint = "*" [build-system] requires = ["poetry-core>=1.0.0"]