From 03e49997e4efdf491b89c3f1d4c82aa74950f66a Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 8 Nov 2023 08:18:56 +0000 Subject: [PATCH 1/7] Update to 1.5.2 --- .gitignore | 1 + README.packit | 3 +++ micropipenv.spec | 2 +- sources | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index 747de4c..a22ad5f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ /v1.4.6.tar.gz /v1.5.0.tar.gz /v1.5.1.tar.gz +/v1.5.2.tar.gz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..5998f60 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.85.0. diff --git a/micropipenv.spec b/micropipenv.spec index 823c126..4e940e2 100644 --- a/micropipenv.spec +++ b/micropipenv.spec @@ -6,7 +6,7 @@ %endif Name: micropipenv -Version: 1.5.1 +Version: 1.5.2 Release: %autorelease Summary: A simple wrapper around pip to support Pipenv and Poetry files diff --git a/sources b/sources index 529b942..ebda181 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v1.5.1.tar.gz) = 8a145393ebf307e3b0fc7caadf7bf5c6a076e822d1a2b546ceb33922a012945c46a6677561806abb072a6c36efdce12a6d696e6a46805d2a97c99ec0ee6ce712 +SHA512 (v1.5.2.tar.gz) = 0fbfa729a47d78df1f46c57712198b769f73ff7832675c8cc471e4ad9c8b7460a14a936e6a6897ddffa9e119ba9261d11052a725e6270532164cc82b529ada16 From fc8abef2e416c8edca0da968a6ac1dde47390fa6 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 28 Nov 2023 09:09:20 +0000 Subject: [PATCH 2/7] Update to 1.6.0 (rhbz#rhbz#2251885) --- .gitignore | 1 + README.packit | 2 +- micropipenv.spec | 2 +- sources | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a22ad5f..fbfb885 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ /v1.5.0.tar.gz /v1.5.1.tar.gz /v1.5.2.tar.gz +/v1.6.0.tar.gz diff --git a/README.packit b/README.packit index 5998f60..ef95206 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.85.0. +The file was generated using packit 0.87.0. diff --git a/micropipenv.spec b/micropipenv.spec index 4e940e2..6087095 100644 --- a/micropipenv.spec +++ b/micropipenv.spec @@ -6,7 +6,7 @@ %endif Name: micropipenv -Version: 1.5.2 +Version: 1.6.0 Release: %autorelease Summary: A simple wrapper around pip to support Pipenv and Poetry files diff --git a/sources b/sources index ebda181..adf89fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v1.5.2.tar.gz) = 0fbfa729a47d78df1f46c57712198b769f73ff7832675c8cc471e4ad9c8b7460a14a936e6a6897ddffa9e119ba9261d11052a725e6270532164cc82b529ada16 +SHA512 (v1.6.0.tar.gz) = 4d4a9e13d9eb02ef10a18b2b3822eeef5bd49ee35e82750fa5c062555c1eed83ddd0ff5ebe5ca6d262d459f2115573c0a917e9caeae4806aab23606a6907b3a0 From 5fb1935ccdf9b4c65125d047384f42db57e0ea9c Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 21 Jun 2024 08:16:06 +0000 Subject: [PATCH 3/7] Update to 1.7.0 (rhbz#2293607) --- .gitignore | 1 + README.packit | 2 +- micropipenv.spec | 2 +- plan.fmf | 14 ++++++++++++++ sources | 2 +- tests/smoke.fmf | 2 ++ tests/smoke.sh | 12 ++++++++++++ tests/upstream.fmf | 12 ++++++++++++ 8 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 plan.fmf create mode 100644 tests/smoke.fmf create mode 100644 tests/smoke.sh create mode 100644 tests/upstream.fmf diff --git a/.gitignore b/.gitignore index fbfb885..7aeba75 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ /v1.5.1.tar.gz /v1.5.2.tar.gz /v1.6.0.tar.gz +/v1.7.0.tar.gz diff --git a/README.packit b/README.packit index ef95206..bc5362c 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.87.0. +The file was generated using packit 0.97.2.post1.dev7+g966b87eb. diff --git a/micropipenv.spec b/micropipenv.spec index 6087095..ccd3f45 100644 --- a/micropipenv.spec +++ b/micropipenv.spec @@ -6,7 +6,7 @@ %endif Name: micropipenv -Version: 1.6.0 +Version: 1.7.0 Release: %autorelease Summary: A simple wrapper around pip to support Pipenv and Poetry files diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..a418c92 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,14 @@ +discover: + how: fmf + dist-git-source: true +execute: + how: tmt +prepare: + - name: install git-core + how: install + package: + - git-core + - micropipenv + - name: clone upstream test data + how: shell + script: git clone https://github.com/thoth-station/micropipenv.git /tmp/micropipenv diff --git a/sources b/sources index adf89fd..df199b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v1.6.0.tar.gz) = 4d4a9e13d9eb02ef10a18b2b3822eeef5bd49ee35e82750fa5c062555c1eed83ddd0ff5ebe5ca6d262d459f2115573c0a917e9caeae4806aab23606a6907b3a0 +SHA512 (v1.7.0.tar.gz) = 5d788b3ecc7c6e9319dc5324dc0762bbf32528ad6e91536fe09ab46b5f7b0614ffd243e31fccd623ab9bbb86defd8ac06cc514015fd4dba83730404c8b07d62a diff --git a/tests/smoke.fmf b/tests/smoke.fmf new file mode 100644 index 0000000..25498bb --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,2 @@ +test: bash ./smoke.sh +framework: shell diff --git a/tests/smoke.sh b/tests/smoke.sh new file mode 100644 index 0000000..fee1bf2 --- /dev/null +++ b/tests/smoke.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -ex + +username="test_$$" +id "$username" && userdel -rf "$username" + +useradd "$username" +su -l -c "echo simple-manylinux-demo > requirements.txt" "$username" +su -l -c "micropipenv install -- --user" "$username" +su -l -c "python3 -c 'from dummyextension.extension import hello; assert hello() == \"Hello from Python extension!\"'" "$username" + +userdel -rf "$username" diff --git a/tests/upstream.fmf b/tests/upstream.fmf new file mode 100644 index 0000000..1030c9b --- /dev/null +++ b/tests/upstream.fmf @@ -0,0 +1,12 @@ +summary: upstream testsuite +require: + - python3-devel + - python3-test + - python3-pip + - python3-pytest + # flexmock installed from PyPI, not available in RHEL +test: | + pip install flexmock==0.12.1 && + cd $(dirname $TMT_SOURCE_DIR/micropipenv-*/tests) && + pytest -v +duration: 5m From 5d63645351724dcf39949bed1a5f6e3b1be83018 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 1 Aug 2024 08:21:58 +0000 Subject: [PATCH 4/7] Update to 1.8.0 (rhbz#2302221) --- .gitignore | 1 + README.packit | 2 +- micropipenv.spec | 2 +- sources | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7aeba75..4454faf 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ /v1.5.2.tar.gz /v1.6.0.tar.gz /v1.7.0.tar.gz +/v1.8.0.tar.gz diff --git a/README.packit b/README.packit index bc5362c..aeaae38 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.97.2.post1.dev7+g966b87eb. +The file was generated using packit 0.99.0.post1.dev29+g2e75e6ff. diff --git a/micropipenv.spec b/micropipenv.spec index ccd3f45..169fb12 100644 --- a/micropipenv.spec +++ b/micropipenv.spec @@ -6,7 +6,7 @@ %endif Name: micropipenv -Version: 1.7.0 +Version: 1.8.0 Release: %autorelease Summary: A simple wrapper around pip to support Pipenv and Poetry files diff --git a/sources b/sources index df199b7..3ae2de2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v1.7.0.tar.gz) = 5d788b3ecc7c6e9319dc5324dc0762bbf32528ad6e91536fe09ab46b5f7b0614ffd243e31fccd623ab9bbb86defd8ac06cc514015fd4dba83730404c8b07d62a +SHA512 (v1.8.0.tar.gz) = 3402379c8b094ccb12c8dc2447a71412ae2aafb49082ef0be148b71ed110cc6ad11a7f15fb23fb6cdb0b7d8e9f9f6c23119dcf4b649468529121330a37318a7f From 1425d7e1eb220af8aea5817a247a6bcecbd39db9 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 29 Oct 2024 17:59:33 +0000 Subject: [PATCH 5/7] Update to 1.8.1 (rhbz#2322513) --- .gitignore | 1 + README.packit | 2 +- micropipenv.spec | 2 +- sources | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4454faf..43284d2 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ /v1.6.0.tar.gz /v1.7.0.tar.gz /v1.8.0.tar.gz +/v1.8.1.tar.gz diff --git a/README.packit b/README.packit index aeaae38..3d207b6 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.99.0.post1.dev29+g2e75e6ff. +The file was generated using packit 0.102.2.post1.dev2+gbdca14cb. diff --git a/micropipenv.spec b/micropipenv.spec index 169fb12..779c3ef 100644 --- a/micropipenv.spec +++ b/micropipenv.spec @@ -6,7 +6,7 @@ %endif Name: micropipenv -Version: 1.8.0 +Version: 1.8.1 Release: %autorelease Summary: A simple wrapper around pip to support Pipenv and Poetry files diff --git a/sources b/sources index 3ae2de2..3b6996a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v1.8.0.tar.gz) = 3402379c8b094ccb12c8dc2447a71412ae2aafb49082ef0be148b71ed110cc6ad11a7f15fb23fb6cdb0b7d8e9f9f6c23119dcf4b649468529121330a37318a7f +SHA512 (v1.8.1.tar.gz) = de553f4c9b7fe7fcf182e6c9957cb422a54b38cf0ecd0ce0d7c0fd4fc2f32b5cb3e03005e92246960f4c9cff801b14471bd435319da88b6b14e24aba794f399b From f4c3b9904daaab52f8cb13b051a5fa855823b010 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 29 Oct 2024 19:49:03 +0100 Subject: [PATCH 6/7] Fix CI by fixing test dependencies --- tests/upstream.fmf | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/upstream.fmf b/tests/upstream.fmf index 1030c9b..d350ffc 100644 --- a/tests/upstream.fmf +++ b/tests/upstream.fmf @@ -4,6 +4,7 @@ require: - python3-test - python3-pip - python3-pytest + - python3-pytest-venv # flexmock installed from PyPI, not available in RHEL test: | pip install flexmock==0.12.1 && From 74a66e3276cea1c074e47af9828a79f9043e5d1c Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Wed, 30 Oct 2024 13:27:11 +0100 Subject: [PATCH 7/7] Remove duplicated tmt plan --- plans/integration.fmf | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 plans/integration.fmf diff --git a/plans/integration.fmf b/plans/integration.fmf deleted file mode 100644 index 51e5bdf..0000000 --- a/plans/integration.fmf +++ /dev/null @@ -1,14 +0,0 @@ -summary: Integration tests for micropipenv -discover: - how: fmf -execute: - how: tmt -prepare: - - name: install git-core - how: install - package: - - git-core - - micropipenv - - name: clone upstream test data - how: shell - script: git clone https://github.com/thoth-station/micropipenv.git /tmp/micropipenv