Compare commits

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

20 commits

Author SHA1 Message Date
Lumir Balhar
588a84d0f9 Update to 1.10.0 (rhbz#2419277) 2025-12-08 11:54:56 +01:00
Python Maint
8bacaeb4d7 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:30:34 +02:00
Python Maint
7006dae939 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:59:43 +02:00
Fedora Release Engineering
d3c2d9e58a Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 21:36:20 +00:00
Python Maint
db6419cc79 Rebuilt for Python 3.14 2025-06-04 01:04:23 +02:00
Packit
c87ba0b59e Update to 1.9.0 (rhbz#2341735) 2025-01-23 11:25:36 +00:00
Fedora Release Engineering
dbdaf23bd2 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 17:34:33 +00:00
Lumir Balhar
2cda3f0080 Remove duplicated tmt plan 2024-10-30 13:27:11 +01:00
Lumir Balhar
1ad553d99d Fix CI by fixing test dependencies 2024-10-29 19:49:03 +01:00
Packit
1907e78820 Update to 1.8.1 (rhbz#2322513) 2024-10-29 18:01:46 +00:00
Packit
dce1d59d5a Update to 1.8.0 (rhbz#2302221) 2024-08-01 08:21:34 +00:00
Fedora Release Engineering
73f45c4e89 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 17:18:21 +00:00
Packit
f52412122b Update to 1.7.0 (rhbz#2293607) 2024-06-21 08:15:19 +00:00
Tomáš Hrnčiar
ad84521082 CI: Run upstream testsuite
Signed-off-by: Tomáš Hrnčiar <thrnciar@redhat.com>
2024-05-29 11:53:27 +02:00
Tomáš Hrnčiar
c7f6a0548f Merge plans/integration.fmf into plan.fmf
Signed-off-by: Tomáš Hrnčiar <thrnciar@redhat.com>
2024-05-29 11:53:22 +02:00
Lukas Zachar
5df7323f71 Add smoke test for tmt
Cherry-picked from a122e5c6

Signed-off-by: Tomáš Hrnčiar <thrnciar@redhat.com>
2024-05-29 11:53:09 +02:00
Miro Hrončok
7210d14daf Remove duplicate rhbz# from future Packit commit messages
See e.g. 2961e90f2f
2024-01-25 15:54:21 +01:00
Fedora Release Engineering
40387dc073 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 06:18:20 +00:00
Fedora Release Engineering
b1410b3479 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 07:26:06 +00:00
Packit
2961e90f2f Update to 1.6.0 (rhbz#rhbz#2251885) 2023-11-28 09:10:16 +00:00
9 changed files with 43 additions and 6 deletions

6
.gitignore vendored
View file

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

View file

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

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

View file

@ -6,7 +6,7 @@
%endif
Name: micropipenv
Version: 1.5.2
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

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.10.0.tar.gz) = 8508777d2cc04f3aa9faf834a75154d5d3aa8e24ca5551febce4c40c78d32b4cae0753bdf26fc6118b2033852bda4370ef869949389e745991a46b9d44981cf5

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