Compare commits

..

1 commit

Author SHA1 Message Date
Packit
efbe952e0a Update to 1.6.0 (rhbz#rhbz#2251885) 2023-11-28 09:08:44 +00:00
9 changed files with 6 additions and 42 deletions

5
.gitignore vendored
View file

@ -28,8 +28,3 @@
/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} (${PACKIT_RESOLVED_BUGS})" || echo "Update to ${PACKIT_PROJECT_VERSION}"'
- bash -c '[ -n "$PACKIT_RESOLVED_BUGS" ] && echo "Update to ${PACKIT_PROJECT_VERSION} (rhbz#${PACKIT_RESOLVED_BUGS})" || echo "Update to ${PACKIT_PROJECT_VERSION}"'
commit-message:
- bash -c '[ -n "$PACKIT_RESOLVED_BUGS" ] && echo "Update to ${PACKIT_PROJECT_VERSION} (${PACKIT_RESOLVED_BUGS})" || echo "Update to ${PACKIT_PROJECT_VERSION}"'
- bash -c '[ -n "$PACKIT_RESOLVED_BUGS" ] && echo "Update to ${PACKIT_PROJECT_VERSION} (rhbz#${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.106.0.post1.dev8+g521f1e1d.
The file was generated using packit 0.87.0.

View file

@ -6,7 +6,7 @@
%endif
Name: micropipenv
Version: 1.10.0
Version: 1.6.0
Release: %autorelease
Summary: A simple wrapper around pip to support Pipenv and Poetry files
@ -31,10 +31,6 @@ 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.10.0.tar.gz) = 8508777d2cc04f3aa9faf834a75154d5d3aa8e24ca5551febce4c40c78d32b4cae0753bdf26fc6118b2033852bda4370ef869949389e745991a46b9d44981cf5
SHA512 (v1.6.0.tar.gz) = 4d4a9e13d9eb02ef10a18b2b3822eeef5bd49ee35e82750fa5c062555c1eed83ddd0ff5ebe5ca6d262d459f2115573c0a917e9caeae4806aab23606a6907b3a0

View file

@ -1,2 +0,0 @@
test: bash ./smoke.sh
framework: shell

View file

@ -1,12 +0,0 @@
#!/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"

View file

@ -1,13 +0,0 @@
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