From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58BC0158004 for ; Fri, 19 Jan 2024 09:59:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A4BA2BC018; Fri, 19 Jan 2024 09:59:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D3BB2BC018 for ; Fri, 19 Jan 2024 09:59:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66E08343230 for ; Fri, 19 Jan 2024 09:59:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 057A11494 for ; Fri, 19 Jan 2024 09:59:17 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1705658349.c488f5c056a8d6f867b58bd5b78fea2f46c43f66.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/snakeoil:master commit in: / X-VCS-Repository: proj/pkgcore/snakeoil X-VCS-Files: LICENSE README.rst tox.ini X-VCS-Directories: / X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: c488f5c056a8d6f867b58bd5b78fea2f46c43f66 X-VCS-Branch: master Date: Fri, 19 Jan 2024 09:59:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af143b76-4d4f-45b8-9962-82b8a4aea3c1 X-Archives-Hash: 0afb254119ba0c05c441c92ded74515d commit: c488f5c056a8d6f867b58bd5b78fea2f46c43f66 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 19 09:59:09 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 19 09:59:09 2024 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=c488f5c0 update python version in various places Signed-off-by: Arthur Zamarin gentoo.org> LICENSE | 2 +- README.rst | 6 +++--- tox.ini | 24 ++++++++++-------------- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/LICENSE b/LICENSE index c24d27b9..019d5650 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2007-2021, snakeoil contributors +Copyright (c) 2007-2024, snakeoil contributors All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.rst b/README.rst index 570db727..6cc958e9 100644 --- a/README.rst +++ b/README.rst @@ -21,14 +21,14 @@ Installing from git:: Installing from a tarball:: - python setup.py install + pip install . Tests ===== -A standalone test runner is integrated in setup.py; to run, just execute:: +Normal pytest is used, just execute:: - python setup.py test + pytest Using tox for all supported python versions:: diff --git a/tox.ini b/tox.ini index 59feefc5..cd763aaf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,25 +1,21 @@ [tox] envlist = py310, py311, py312, pypy3 +skip_missing_interpreters = True +isolated_build = True + [testenv] # force latest virtualenv/pip download = true -deps = -rrequirements/tox.txt +extras = + test commands = - pytest --cov {posargs:-v} + pytest {posargs} # build docs [testenv:docs] skip_install = true -deps = - -rrequirements/dev.txt - -rrequirements/docs.txt -commands = - python setup.py build_docs - -# build dist files -[testenv:dist] -skip_install = true -deps = -rrequirements/dist.txt +extras = + doc commands = - python setup.py sdist - python setup.py bdist_wheel + make man + make html