#3 Update to 1.4.1
Merged 3 years ago by churchyard. Opened 3 years ago by thrnciar.
rpms/ thrnciar/python-xmlschema update-to-1.4.1  into  master

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

  %global pypi_name xmlschema

  Name:           python-%{pypi_name}

- Version:        1.0.18

- Release:        5%{?dist}

+ Version:        1.4.1

+ Release:        1%{?dist}

  Summary:        A Python XML Schema validator and decoder

  

  License:        MIT
@@ -38,6 +38,7 @@ 

  %autosetup -n %{pypi_name}-%{version}

  sed -i 's/~=/>=/' setup.py tox.ini  # https://bugzilla.redhat.com/show_bug.cgi?id=1758141

  sed -i 's/==/>=/' tox.ini  # too strict test deps

+ sed -i '/memory_profiler/d' tox.ini # optional test dep, not packaged in Fedora, not worth testing

  %py3_shebang_fix %{pypi_name}

  

  %generate_buildrequires
@@ -57,11 +58,15 @@ 

  %doc README.rst

  %{python3_sitelib}/%{pypi_name}/

  %{python3_sitelib}/%{pypi_name}-%{version}.dist-info/

- # we exclude, not rm - used in %%check

- %exclude %{python3_sitelib}/%{pypi_name}/tests

+ %{_bindir}/xmlschema-json2xml

+ %{_bindir}/xmlschema-validate

+ %{_bindir}/xmlschema-xml2json

  

  

  %changelog

+ * Thu Jan 14 08:42:36 CET 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.4.1-1

+ - Update to 1.4.1

+ 

  * Mon Sep 21 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.18-5

  - Fix FTBFS by build-requiring python3-devel

  

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

- SHA512 (xmlschema-1.0.18.tar.gz) = 52dfefef2c2c24e2d8e214e072f03066248887dca60f6756ac038977cbfa677a5435b14ff5532db4216c35d2fc6b0e3b41849d352b885123eadcd6c555d247d9

+ SHA512 (xmlschema-1.4.1.tar.gz) = 935e4bffa5361e87fe0656c04b79fe50213098db86e18de38d82d9c04e45557b7ce9468379644c202ab25bdbd6f430bf85a639c3aa7636833d4bbe8533738e82

I am getting error below so this probably needs joined update with python-element path (PR already opened).

Error: 
 Problem: nothing provides requested (python3dist(elementpath) < 3 with python3dist(elementpath) >= 2.0.4)

Would you mind building in copr?

  • elementpath without tests
  • xmlschema
  • elementpath with tests
  • pytest

Seems like xmlschema brings in new dependency which we do not have in Fedora currently.

No matching package to install: 'python3dist(memory-profiler)'

rebased onto bac0a02

3 years ago

elementpath (with/without) and xmlschema builds just fine. Pytest fails due to unrelated errors.

https://copr.fedorainfracloud.org/coprs/thrnciar/python-elementpath/packages/

I suggest to add a comment: # optional test dep, not packaged in Fedora, not worth testing

rebased onto 0c1384c

3 years ago

Pull-Request has been merged by churchyard

3 years ago