Compare commits

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

8 commits

Author SHA1 Message Date
Lumir Balhar
74a66e3276 Remove duplicated tmt plan 2024-10-31 13:55:28 +01:00
Lumir Balhar
f4c3b9904d Fix CI by fixing test dependencies 2024-10-31 13:55:28 +01:00
Packit
1425d7e1eb Update to 1.8.1 (rhbz#2322513) 2024-10-29 17:59:33 +00:00
Packit
5d63645351 Update to 1.8.0 (rhbz#2302221) 2024-08-01 08:21:58 +00:00
Packit
5fb1935ccd Update to 1.7.0 (rhbz#2293607) 2024-06-21 08:16:06 +00:00
Packit
fc8abef2e4 Update to 1.6.0 (rhbz#rhbz#2251885) 2023-11-28 09:09:20 +00:00
Lumir Balhar
01796482b3 Merge branch 'rawhide' into f39 2023-11-09 12:00:14 +01:00
Packit
03e49997e4 Update to 1.5.2 2023-11-08 08:18:56 +00:00
8 changed files with 35 additions and 4 deletions

4
.gitignore vendored
View file

@ -27,3 +27,7 @@
/v1.5.0.tar.gz
/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

View file

@ -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.102.2.post1.dev2+gbdca14cb.

View file

@ -6,7 +6,7 @@
%endif
Name: micropipenv
Version: 1.5.2
Version: 1.8.1
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.5.2.tar.gz) = 0fbfa729a47d78df1f46c57712198b769f73ff7832675c8cc471e4ad9c8b7460a14a936e6a6897ddffa9e119ba9261d11052a725e6270532164cc82b529ada16
SHA512 (v1.8.1.tar.gz) = de553f4c9b7fe7fcf182e6c9957cb422a54b38cf0ecd0ce0d7c0fd4fc2f32b5cb3e03005e92246960f4c9cff801b14471bd435319da88b6b14e24aba794f399b

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