#4 Update to upstream release 1.0.7
Merged 2 years ago by nphilipp. Opened 2 years ago by packit.
rpms/ packit/python-fasjson-client 1.0.7-f36-update  into  f36

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

  /fasjson-client-1.0.3.tar.gz

  /fasjson-client-1.0.4.tar.gz

  /fasjson-client-1.0.5.tar.gz

+ /fasjson-client-1.0.7.tar.gz

file added
+91
@@ -0,0 +1,91 @@ 

+ # See the documentation for more information:

+ # https://packit.dev/docs/configuration/

+ 

+ specfile_path: python-fasjson-client.spec

+ 

+ # add or remove files that should be synced

+ files_to_sync:

+     - python-fasjson-client.spec

+     - .packit.yaml

+ 

+ # name in upstream package repository or registry (e.g. in PyPI)

+ upstream_package_name: fasjson-client

+ # downstream (Fedora) RPM package name

+ downstream_package_name: python-fasjson-client

+ 

+ srpm_build_deps:

+   - wget

+ 

+ actions:

+     create-archive:

+         - "poetry build -f sdist"

+         - "sh -c 'echo dist/fasjson-client-$(poetry version -s).tar.gz'"

+     get-current-version:

+         - "poetry version -s"

+     post-upstream-clone:

+         - "wget https://src.fedoraproject.org/rpms/python-fasjson-client/raw/main/f/python-fasjson-client.spec -O python-fasjson-client.spec"

+          # we need poetry v1.1.7 because of a bug in 1.1.8 where python evaluates incorrectly

+         - "sh -c 'wget https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py && python3 install-poetry.py --version 1.1.7 && rm install-poetry.py'"

+ 

+ jobs:

+   # upon upstream PRs, perform copr builds

+   - job: copr_build

+     trigger: pull_request

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   - job: tests

+     trigger: pull_request

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # upon upstream release, perform copr builds

+   - job: copr_build

+     trigger: release

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+       project: fasjson-client

+ 

+   # upon downstream changes, create a PR upstream with sync'd files from above

+   - job: sync_from_downstream

+     trigger: commit

+ 

+   # land upstream release in fedora dist-git - no builds

+   - job: propose_downstream

+     trigger: release

+     metadata:

+       dist_git_branches:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # create an srpm from upstream and submit a scratch build to koji

+   - job: production_build

+     trigger: release

+     metadata:

+       targets:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # downstream automation

+ 

+   # trigger a build in koji for a new dist-git commit

+   - job: koji_build

+     trigger: commit

+     metadata:

+       dist_git_branches:

+         - fedora-latest-stable

+         - fedora-development

+ 

+   # create a new update in bodhi for a successful koji build. directly related to `koji_build`

+   - job: bodhi_update

+     trigger: commit

+     metadata:

+       dist_git_branches:

+         - fedora-latest-stable

+         - fedora-development

file added
+3
@@ -0,0 +1,3 @@ 

+ This repository is maintained by packit.

+ https://packit.dev/

+ The file was generated using packit 0.50.1.dev9+g702dffe.

empty or binary file added
file modified
+4 -4
@@ -15,7 +15,7 @@ 

  %endif

  

  Name:           python-%{pypi_name}

- Version:        1.0.5

+ Version:        1.0.7

  Release:        %autorelease

  Summary:        An OpenAPI client for FASJSON

  
@@ -32,7 +32,7 @@ 

  # runtime

  BuildRequires:  (%{py3verdist bravado} >= 10.6 with %{py3verdist bravado} < 12)

  BuildRequires:  (%{py3verdist click} >= 6.7 with %{py3verdist click} < 9)

- BuildRequires:  (%{py3verdist cryptography} >= 2.3 with %{py3verdist cryptography} < 37)

+ BuildRequires:  (%{py3verdist cryptography} >= 2.3)

  BuildRequires:  (%{py3verdist gssapi} >= 1.5.1 with %{py3verdist gssapi} < 2)

  BuildRequires:  (%{py3verdist requests} >= 2.20.0 with %{py3verdist requests} < 3)

  BuildRequires:  (%{py3verdist requests-gssapi} >= 1.2.1 with %{py3verdist requests-gssapi} < 2)
@@ -44,8 +44,8 @@ 

  %endif

  # unit tests

  %if %{with tests}

- BuildRequires:  (%{py3verdist coverage} >= 5.0.3 with %{py3verdist coverage} < 6)

- BuildRequires:  (%{py3verdist pytest} >= 4.6.11 with %{py3verdist pytest} < 7)

+ BuildRequires:  (%{py3verdist coverage} >= 5.0.3 with %{py3verdist coverage} < 7)

+ BuildRequires:  (%{py3verdist pytest} >= 4.6.11 with %{py3verdist pytest} < 8)

  BuildRequires:  (%{py3verdist pytest-cov} >= 2.8.1 with %{py3verdist pytest-cov} < 4)

  BuildRequires:  (%{py3verdist pytest-mock} >= 1.10.4 with %{py3verdist pytest-mock} < 4)

  BuildRequires:  (%{py3verdist requests-mock} >= 1.7 with %{py3verdist requests-mock} < 2)

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

- SHA512 (fasjson-client-1.0.5.tar.gz) = 2f833bfbabb3e0d833307856a6e331efcfd5fac48afdecb5bd0c7b22188e06255dd3160d699c11ccc1e57a58ff9c3f4702cfac3f0e2242d1d4374af1b2fca706

+ SHA512 (fasjson-client-1.0.7.tar.gz) = 64a6b53614278bf78e7c2a9760ffc17dbc9bdb22e0bd8c2782dc9cc02f4d2e85b14af83ec7dac2206cf0b0cf821f0080e2fa6989e334862b359761fc31026511