Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74a66e3276 | ||
|
|
f4c3b9904d | ||
|
|
1425d7e1eb | ||
|
|
5d63645351 | ||
|
|
5fb1935ccd | ||
|
|
fc8abef2e4 | ||
|
|
01796482b3 | ||
|
|
03e49997e4 |
8 changed files with 35 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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.5.2.tar.gz) = 0fbfa729a47d78df1f46c57712198b769f73ff7832675c8cc471e4ad9c8b7460a14a936e6a6897ddffa9e119ba9261d11052a725e6270532164cc82b529ada16
|
||||
SHA512 (v1.8.1.tar.gz) = de553f4c9b7fe7fcf182e6c9957cb422a54b38cf0ecd0ce0d7c0fd4fc2f32b5cb3e03005e92246960f4c9cff801b14471bd435319da88b6b14e24aba794f399b
|
||||
|
|
|
|||
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