From bb28272876ed134b6a2c65e3684eac7c9fea1be7 Mon Sep 17 00:00:00 2001 From: Faisal Date: Wed, 6 Sep 2023 17:46:22 -0300 Subject: [PATCH 1/4] quote python version (#50) * quote python version * Update edgetest.yml --- .github/workflows/edgetest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/edgetest.yml b/.github/workflows/edgetest.yml index 056139d..c9db275 100644 --- a/.github/workflows/edgetest.yml +++ b/.github/workflows/edgetest.yml @@ -19,4 +19,4 @@ jobs: edgetest-flags: '-c setup.cfg --export' base-branch: 'dev' skip-pr: 'false' - python-version: 3.10 + python-version: '3.10' From a9c45d94d7a55a822353cce8f2d299a1285b43d0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 15:38:19 -0300 Subject: [PATCH 2/4] [edgetest] automated change (#51) Co-authored-by: fdosani --- requirements.txt | 23 +++++++++++++++++++++++ setup.cfg | 35 ++++++++++++++++++----------------- 2 files changed, 41 insertions(+), 17 deletions(-) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..46c40a7 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,23 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# pip-compile --output-file=requirements.txt setup.cfg +# +cerberus==1.3.4 + # via edgetest +click==8.1.3 + # via edgetest +edgetest==2023.6.1 + # via edgetest-conda (setup.cfg) +packaging==23.0 + # via edgetest +pluggy==1.0.0 + # via edgetest +tabulate==0.9.0 + # via edgetest +tomlkit==0.11.4 + # via edgetest + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/setup.cfg b/setup.cfg index c637b25..2515294 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,13 +9,13 @@ author_email = akshay.gupta2@capitalone.com maintainer = Akshay Gupta maintainer_email = akshay.gupta2@capitalone.com url = https://github.com/capitalone/edgetest-conda -python_requires = +python_requires = >=3.8.0 -project_urls = +project_urls = Documentation = https://capitalone.github.io/edgetest-conda Bug Tracker = https://github.com/capitalone/edgetest-conda/issues Source Code = https://github.com/capitalone/edgetest-conda -classifiers = +classifiers = Intended Audience :: Developers Natural Language :: English Operating System :: OS Independent @@ -31,34 +31,34 @@ classifiers = zip_safe = False include_package_data = True packages = find: -install_requires = +install_requires = edgetest>=2022.3.0 [options.extras_require] -docs = +docs = furo sphinx sphinx-copybutton sphinx-tabs -tests = +tests = coverage flake8 mypy pydocstyle pytest pytest-cov -qa = +qa = black isort pip-tools pre-commit pylint -build = +build = build twine wheel bumpver -dev = +dev = coverage flake8 mypy @@ -80,7 +80,7 @@ dev = bumpver [options.entry_points] -edgetest = +edgetest = conda = edgetest_conda.plugin [bumpver] @@ -90,11 +90,11 @@ commit_message = "Bump {old_version} to {new_version}" commit = True [bumpver:file_patterns] -docs/source/conf.py = +docs/source/conf.py = version = "{version}" -setup.cfg = +setup.cfg = current_version = "{version}" -edgetest_conda/__init__.py = +edgetest_conda/__init__.py = __version__ = "{version}" [aliases] @@ -127,16 +127,17 @@ allow_redefinition = True pylint_minimum_score = 9.5 [tool:pytest] -markers = +markers = unit: mark unit tests that do not require external interfaces and use mocking integration: mark test that interact with an external system addopts = --verbose [edgetest.envs.core] python_version = 3.10 -upgrade = +upgrade = edgetest -extras = +extras = tests -deps = +deps = pip-tools + From d7823e9bd194794bddbaea83f45db3367566bde1 Mon Sep 17 00:00:00 2001 From: rhaffar <141745338+rhaffar@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:48:24 -0500 Subject: [PATCH 3/4] automatic package discovery (#52) * automatic package discovery * fix test --- setup.cfg | 1 - tests/test_hook.py | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/setup.cfg b/setup.cfg index 2515294..ac38e73 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,6 @@ classifiers = [options] zip_safe = False include_package_data = True -packages = find: install_requires = edgetest>=2022.3.0 diff --git a/tests/test_hook.py b/tests/test_hook.py index 00adff1..95d7921 100644 --- a/tests/test_hook.py +++ b/tests/test_hook.py @@ -66,11 +66,11 @@ TABLE_OUTPUT = """ -============= =============== =================== ================= -Environment Passing tests Upgraded packages Package version -============= =============== =================== ================= -myenv True myupgrade 0.2.0 -============= =============== =================== ================= +============= ================== =============== =================== ================== ================= +Environment Setup successful Passing tests Upgraded packages Lowered packages Package version +============= ================== =============== =================== ================== ================= +myenv True True myupgrade 0.2.0 +============= ================== =============== =================== ================== ================= """ From 46c6b8ea81e5f06db7993d0f1684262be848bcdd Mon Sep 17 00:00:00 2001 From: Jacob Dawang Date: Fri, 19 Apr 2024 10:38:36 -0600 Subject: [PATCH 4/4] Bumpver and compile reqs (#53) --- edgetest_conda/__init__.py | 2 +- requirements.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/edgetest_conda/__init__.py b/edgetest_conda/__init__.py index 6f3a5d7..f17b37a 100644 --- a/edgetest_conda/__init__.py +++ b/edgetest_conda/__init__.py @@ -1,6 +1,6 @@ """Package initialization.""" -__version__ = "2023.8.0" +__version__ = "2024.4.0" __title__ = "edgetest-conda" __description__ = "Conda edgetest plugin" diff --git a/requirements.txt b/requirements.txt index 46c40a7..8eb650f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,14 +1,15 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --output-file=requirements.txt setup.cfg # + cerberus==1.3.4 # via edgetest click==8.1.3 # via edgetest -edgetest==2023.6.1 +edgetest==2024.2.0 # via edgetest-conda (setup.cfg) packaging==23.0 # via edgetest