Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Packit
83f3d18bbc Update to 1.9.0 (rhbz#2341735) 2025-01-23 11:25:57 +00:00
Lumir Balhar
fb0cf51654 Remove duplicated tmt plan 2024-10-31 13:55:00 +01:00
Lumir Balhar
064ae6cc59 Fix CI by fixing test dependencies 2024-10-31 13:55:00 +01:00
Packit
797aaa235e Update to 1.8.1 (rhbz#2322513) 2024-10-29 18:01:14 +00:00
Packit
518a9fd672 Update to 1.8.0 (rhbz#2302221) 2024-08-01 08:21:12 +00:00
Packit
87b726b910 Update to 1.7.0 (rhbz#2293607) 2024-06-21 08:15:44 +00:00
8 changed files with 35 additions and 4 deletions

4
.gitignore vendored
View file

@ -28,3 +28,7 @@
/v1.5.1.tar.gz
/v1.5.2.tar.gz
/v1.6.0.tar.gz
/v1.7.0.tar.gz
/v1.8.0.tar.gz
/v1.8.1.tar.gz
/v1.9.0.tar.gz

View file

@ -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.106.0.post1.dev8+g521f1e1d.

View file

@ -6,7 +6,7 @@
%endif
Name: micropipenv
Version: 1.6.0
Version: 1.9.0
Release: %autorelease
Summary: A simple wrapper around pip to support Pipenv and Poetry files

View file

@ -1,6 +1,6 @@
summary: Integration tests for micropipenv
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
prepare:

View file

@ -1 +1 @@
SHA512 (v1.6.0.tar.gz) = 4d4a9e13d9eb02ef10a18b2b3822eeef5bd49ee35e82750fa5c062555c1eed83ddd0ff5ebe5ca6d262d459f2115573c0a917e9caeae4806aab23606a6907b3a0
SHA512 (v1.9.0.tar.gz) = eafe33548ff1155e708c29617f4a8bf582ad469b79dbed2ff81ae4a73bf73e2a6ab2bfeaaf120963f8895295f846cd6e01af5413c955a03b7d1d8d59b97bb4d6

2
tests/smoke.fmf Normal file
View file

@ -0,0 +1,2 @@
test: bash ./smoke.sh
framework: shell

12
tests/smoke.sh Normal file
View file

@ -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"

13
tests/upstream.fmf Normal file
View file

@ -0,0 +1,13 @@
summary: upstream testsuite
require:
- python3-devel
- python3-test
- python3-pip
- python3-pytest
- python3-pytest-venv
# 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