Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
83f3d18bbc | ||
|
|
fb0cf51654 | ||
|
|
064ae6cc59 | ||
|
|
797aaa235e | ||
|
|
518a9fd672 | ||
|
|
87b726b910 |
8 changed files with 35 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
summary: Integration tests for micropipenv
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (v1.6.0.tar.gz) = 4d4a9e13d9eb02ef10a18b2b3822eeef5bd49ee35e82750fa5c062555c1eed83ddd0ff5ebe5ca6d262d459f2115573c0a917e9caeae4806aab23606a6907b3a0
|
||||
SHA512 (v1.9.0.tar.gz) = eafe33548ff1155e708c29617f4a8bf582ad469b79dbed2ff81ae4a73bf73e2a6ab2bfeaaf120963f8895295f846cd6e01af5413c955a03b7d1d8d59b97bb4d6
|
||||
|
|
|
|||
2
tests/smoke.fmf
Normal file
2
tests/smoke.fmf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
test: bash ./smoke.sh
|
||||
framework: shell
|
||||
12
tests/smoke.sh
Normal file
12
tests/smoke.sh
Normal 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
13
tests/upstream.fmf
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue