Compare commits

..

No commits in common. "rawhide" and "f37" have entirely different histories.

9 changed files with 6 additions and 43 deletions

6
.gitignore vendored
View file

@ -27,9 +27,3 @@
/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} (${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.85.0.

View file

@ -6,7 +6,7 @@
%endif
Name: micropipenv
Version: 1.10.0
Version: 1.5.2
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.5.2.tar.gz) = 0fbfa729a47d78df1f46c57712198b769f73ff7832675c8cc471e4ad9c8b7460a14a936e6a6897ddffa9e119ba9261d11052a725e6270532164cc82b529ada16

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