Compare commits
20 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
588a84d0f9 | ||
|
|
8bacaeb4d7 | ||
|
|
7006dae939 | ||
|
|
d3c2d9e58a | ||
|
|
db6419cc79 | ||
|
|
c87ba0b59e | ||
|
|
dbdaf23bd2 | ||
|
|
2cda3f0080 | ||
|
|
1ad553d99d | ||
|
|
1907e78820 | ||
|
|
dce1d59d5a | ||
|
|
73f45c4e89 | ||
|
|
f52412122b | ||
|
|
ad84521082 | ||
|
|
c7f6a0548f | ||
|
|
5df7323f71 | ||
|
|
7210d14daf | ||
|
|
40387dc073 | ||
|
|
b1410b3479 | ||
|
|
2961e90f2f |
9 changed files with 42 additions and 6 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -28,3 +28,8 @@
|
|||
/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
|
||||
/v1.10.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ jobs:
|
|||
- fedora-all
|
||||
actions:
|
||||
changelog-entry:
|
||||
- bash -c '[ -n "$PACKIT_RESOLVED_BUGS" ] && echo "Update to ${PACKIT_PROJECT_VERSION} (rhbz#${PACKIT_RESOLVED_BUGS})" || echo "Update to ${PACKIT_PROJECT_VERSION}"'
|
||||
- bash -c '[ -n "$PACKIT_RESOLVED_BUGS" ] && echo "Update to ${PACKIT_PROJECT_VERSION} (${PACKIT_RESOLVED_BUGS})" || echo "Update to ${PACKIT_PROJECT_VERSION}"'
|
||||
commit-message:
|
||||
- bash -c '[ -n "$PACKIT_RESOLVED_BUGS" ] && echo "Update to ${PACKIT_PROJECT_VERSION} (rhbz#${PACKIT_RESOLVED_BUGS})" || echo "Update to ${PACKIT_PROJECT_VERSION}"'
|
||||
- bash -c '[ -n "$PACKIT_RESOLVED_BUGS" ] && echo "Update to ${PACKIT_PROJECT_VERSION} (${PACKIT_RESOLVED_BUGS})" || echo "Update to ${PACKIT_PROJECT_VERSION}"'
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
allowed_committers: ["lbalhar", "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.106.0.post1.dev8+g521f1e1d.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
%endif
|
||||
|
||||
Name: micropipenv
|
||||
Version: 1.6.0
|
||||
Version: 1.10.0
|
||||
Release: %autorelease
|
||||
Summary: A simple wrapper around pip to support Pipenv and Poetry files
|
||||
|
||||
|
|
@ -31,6 +31,10 @@ converting them to pip-tools compatible output.
|
|||
%autosetup
|
||||
# Remove shebang line from the module
|
||||
sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py
|
||||
# Remove virtualenv requirement from tox.ini
|
||||
sed -i '/requires = virtualenv/d' tox.ini
|
||||
# Do not install wheel in testing venvs
|
||||
sed -i 's/[^ ]*wheel==0.45.1.*/pass/' tests/conftest.py
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r %{?with_tests:-t} -x toml
|
||||
|
|
|
|||
|
|
@ -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.10.0.tar.gz) = 8508777d2cc04f3aa9faf834a75154d5d3aa8e24ca5551febce4c40c78d32b4cae0753bdf26fc6118b2033852bda4370ef869949389e745991a46b9d44981cf5
|
||||
|
|
|
|||
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