#189 Update f37 to upstream release 0.8.3
Merged 6 months ago by mfocko. Opened 6 months ago by packit-stg.
rpms/ packit-stg/python-requre 0.8.3-f37-update-propose_downstream  into  f37

file modified
+1
@@ -9,3 +9,4 @@ 

  /requre-0.8.0.tar.gz

  /requre-0.8.1.tar.gz

  /requre-0.8.2.tar.gz

+ /requre-0.8.3.tar.gz

file modified
+34 -35
@@ -1,4 +1,7 @@ 

  ---

+ # We want to use both instances for all upstream jobs including the `propose-downstream` one.

+ # For downstream, we need to pick just one instance (`stg` in our case)

+ # and redefine it for the `koji_build` and `bodhi_update` jobs.

  packit_instances: ["prod", "stg"]

  specfile_path: fedora/python-requre.spec

  # https://packit.dev/docs/configuration/#top-level-keys
@@ -17,61 +20,57 @@ 

    #   LookupError: setuptools-scm was unable to detect version for '/builddir/build/BUILD/requre-0.11.1'.

    #   Make sure you're either building from a fully intact git repository or PyPI tarballs.

    create-archive:

-     - python3 setup.py sdist --dist-dir ./fedora/

+     - python3 -m build --sdist --outdir ./fedora/

      - bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"

-   get-current-version: python3 setup.py --version

+   get-current-version:

+     - hatch version

  

  srpm_build_deps:

-   - python3-pip # "python3 setup.py --version" needs it

-   - python3-setuptools_scm

+   - python3-build

+   - hatch

+   - python3-hatch-vcs

  

  jobs:

    - job: sync_from_downstream

      trigger: commit

    - job: propose_downstream

      trigger: release

-     packit_instances: ["prod", "stg"]

-     metadata:

-       dist_git_branches: fedora-all

+     dist_git_branches:

+       - fedora-all

    - job: copr_build

      trigger: pull_request

-     metadata:

-       targets:

-         - fedora-all

-         - epel-8

+     targets:

+       - fedora-all

+       - epel-9

    - job: copr_build

      trigger: commit

-     metadata:

-       branch: main

-       project: packit-dev

-       targets:

-         - fedora-all

-         - epel-8

-       list_on_homepage: True

-       preserve_project: True

+     branch: main

+     project: packit-dev

+     targets:

+       - fedora-all

+       - epel-9

+     list_on_homepage: True

+     preserve_project: True

    - job: copr_build

      trigger: release

-     metadata:

-       project: packit-releases

-       targets:

-         - fedora-all

-         - epel-8

-       list_on_homepage: True

-       preserve_project: True

+     project: packit-releases

+     targets:

+       - fedora-all

+       - epel-9

+     list_on_homepage: True

+     preserve_project: True

  

    # downstream automation:

    - job: koji_build

      trigger: commit

      packit_instances: ["stg"]

-     metadata:

-       dist_git_branches:

-         - fedora-all

-         - epel-8

+     dist_git_branches:

+       - fedora-all

+       - epel-9

    - job: bodhi_update

      trigger: commit

      packit_instances: ["stg"]

-     metadata:

-       dist_git_branches:

-         - fedora-latest # branched version, rawhide updates are created automatically

-         - fedora-stable

-         - epel-8

+     dist_git_branches:

+       - fedora-latest # branched version, rawhide updates are created automatically

+       - fedora-stable

+       - epel-9

file modified
+1 -1
@@ -1,3 +1,3 @@ 

  This repository is maintained by packit.

  https://packit.dev/

- The file was generated using packit 0.49.1.dev5+gc36800b.

+ The file was generated using packit 0.83.0.post1.dev20+gaf7edc1f.

file modified
+38 -34
@@ -1,62 +1,66 @@ 

- %global srcname requre

+ %global desc %{expand:

+ REQUest REcordingRequre [rekure] - Is Library for storing output of various

+ function and methods to persistent storage and be able to replay the stored

+ output to functions.}

+ 

  

- Name:           python-%{srcname}

- Version:        0.8.2

- Release:        3%{?dist}

- Summary:        Python library what allows re/store output of various objects for testing

+ Name:           python-requre

+ Version:        0.8.3

+ Release:        1%{?dist}

+ Summary:        Python library that allows re/store output of various objects for testing

  

  License:        MIT

  URL:            https://github.com/packit/requre

- Source0:        %{pypi_source}

+ Source0:        %{pypi_source requre}

  BuildArch:      noarch

  

  BuildRequires:  python3-devel

- BuildRequires:  python3dist(click)

- BuildRequires:  python3dist(pytest)

- BuildRequires:  python3dist(pyyaml)

- BuildRequires:  python3dist(requests)

- BuildRequires:  python3dist(setuptools)

- BuildRequires:  python3dist(setuptools-scm)

- BuildRequires:  python3dist(setuptools-scm-git-archive)

- BuildRequires:  python3dist(sphinx)

+ 

  

  %description

- REQUest REcordingRequre [rekure] - Is Library for storing output of various

- function and methods to persistent storage and be able to replay the stored

- output to functions.

+ %{desc}

+ 

  

- %package -n     python3-%{srcname}

+ %package -n     python3-requre

  Summary:        %{summary}

  

- # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides

- %if 0%{?fedora} < 33

- %{?python_provide:%python_provide python3-%{srcname}}

- %endif

  

- %description -n python3-%{srcname}

- REQUest REcordingRequre [rekure] - Is Library for storing output of various

- function and methods to persistent storage and be able to replay the stored

- output to functions.

+ %description -n python3-requre

+ %{desc}

+ 

  

  %prep

- %autosetup -n %{srcname}-%{version}

- # Remove bundled egg-info

- rm -rf %{srcname}.egg-info

+ %autosetup -n requre-%{version}

+ 

+ 

+ %generate_buildrequires

+ # The -w flag is required for EPEL 9's older hatchling

+ %pyproject_buildrequires %{?el9:-w}

+ 

  

  %build

- %py3_build

+ %pyproject_wheel

+ 

  

  %install

- %py3_install

+ %pyproject_install

+ %pyproject_save_files requre

  

- %files -n python3-%{srcname}

+ 

+ %files -n python3-requre -f %{pyproject_files}

+ # Epel9 does not tag the license file in pyproject_files as a license. Manually install it in this case

+ %if 0%{?el9}

  %license LICENSE

+ %endif

  %doc README.md

  %{_bindir}/requre-patch

- %{python3_sitelib}/%{srcname}

- %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info

+ 

  

  %changelog

+ * Mon Oct 30 2023 Packit <hello@packit.dev> - 0.8.3-1

+ - Fix an issue of clashing with the _coverage_.

+ - Packaging has been modernized.

+ 

  * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (requre-0.8.2.tar.gz) = b004c877c56c376f4abf345ac795889a0c911fe7f6ee993701eca3ad6ee3e41650f7c6789a3ea45826086ce538b170e2e154de01226800367385536caa2384e7

+ SHA512 (requre-0.8.3.tar.gz) = 048adee70cc72301c37287d215fcb2aa4d24c62f61b92db4924ce922bb2e2eee7f920e0aea926b57adf547628f3e054154c8bb4da3d7866d5b2d7687e1df4fdb

Upstream tag: 0.8.3
Upstream commit: dc253f99


If you need to do any change in this pull request, you can clone Packit's fork and push directly to the source branch of this PR (provided you have commit access to this repository):

git clone ssh://$YOUR_USER@pkgs.fedoraproject.org/forks/packit-stg/rpms/python-requre.git
cd python-requre
git checkout 0.8.3-f37-update-propose_downstream

Alternatively, you can locally fetch the source branch of this PR from Packit's fork and push it (with a fix) to your fork:

git fetch https://src.fedoraproject.org/forks/packit-stg/rpms/python-requre.git refs/heads/*:refs/remotes/packit-stg/*
git checkout packit-stg/0.8.3-f37-update-propose_downstream

If you have the koji_build job configured as well, make sure to configure the allowed_pr_authors and/or allowed_committers (see the docs) since by default, Packit reacts only to its own PRs.


Before pushing builds/updates, please remember to check the new version against the packaging guidelines.

For example, please:

  • check that the new sources only contain permissible content
  • check that the license of the new version has not changed
  • check for any API/ABI and other changes that may break dependent packages
  • check the autogenerated changelog

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/a9cdd8c6c6f741d1bac67010bf550624

Pull-Request has been closed by mfocko

6 months ago

Pull-Request has been reopened by mfocko

6 months ago

Pull-Request has been merged by mfocko

6 months ago

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/ee152e540cf6427a9b2950da669c51ce