Package python3-module-pydantic: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | %define _unpackaged_files_terminate_build 1 %def_with check %define pypi_name pydantic Name: python3-module-%pypi_name Version: 2.5.2 Release: alt1 Summary: Data parsing and validation using Python type hints License: MIT Group: Development/Python3 Url: https://pypi.org/project/pydantic Vcs: https://github.com/pydantic/pydantic BuildArch: noarch Source0: %name-%version.tar Source1: %pyproject_deps_config_name %pyproject_runtimedeps_metadata BuildRequires(pre): rpm-build-pyproject %pyproject_builddeps_build %if_with check %pyproject_builddeps_metadata %pyproject_builddeps_metadata_extra email %pyproject_builddeps_check %endif %description Data validation and settings management using Python type hints. Fast and extensible, pydantic plays nicely with your linters/IDE/brain. Define how data should be in pure, canonical Python 3.7+; validate it with pydantic. %prep %setup %pyproject_deps_resync_build %pyproject_deps_resync_metadata %if_with check %pyproject_deps_resync_check_pdm testing %endif %build %pyproject_build %install %pyproject_install %check # tests/test_docs.py: skip testing of documentation # # --benchmark-skip: # Skip executing tests from tests/benchmark. These tests don't have sense for # our check section, because of they test only pydantic work speed. # Also generating north_star_data.json at each test exec and comparing it with # expected md5sum leads to failed build, because of Faker or something else has # been updated. %pyproject_run_pytest --ignore='tests/test_docs.py' --benchmark-skip %files %doc LICENSE *.md %python3_sitelibdir/%pypi_name %python3_sitelibdir/%{pyproject_distinfo %pypi_name} %changelog * Thu Nov 23 2023 Alexandr Shashkin <dutyrok@altlinux.org> 2.5.2-alt1 - 2.4.2 -> 2.5.2 * Wed Nov 08 2023 Alexandr Shashkin <dutyrok@altlinux.org> 2.4.2-alt3 - Fixed FTBFS: skip benchmark tests with their often changed expected md5sum of testing data * Sun Oct 22 2023 Alexandr Shashkin <dutyrok@altlinux.org> 2.4.2-alt2 - Fixed FTBFS: delete workaround for mismatching of EXPECTED_NORTH_STAR_DATA_MD5 because of updating Faker to 19.11.0 * Fri Sep 29 2023 Alexandr Shashkin <dutyrok@altlinux.org> 2.4.2-alt1 - 2.3.0 -> 2.4.2 * Thu Aug 24 2023 Alexandr Shashkin <dutyrok@altlinux.org> 2.3.0-alt1 - 2.1.1 -> 2.3.0 * Tue Aug 15 2023 Alexandr Shashkin <dutyrok@altlinux.org> 2.1.1-alt1 - 1.10.7 -> 2.1.1 - built with tests - used rpm-build-pyproject * Thu Mar 23 2023 Grigory Ustinov <grenka@altlinux.org> 1.10.7-alt1 - Automatically updated to 1.10.7. * Thu Mar 09 2023 Grigory Ustinov <grenka@altlinux.org> 1.10.6-alt1 - Automatically updated to 1.10.6. * Thu Feb 16 2023 Grigory Ustinov <grenka@altlinux.org> 1.10.5-alt1 - Automatically updated to 1.10.5. * Wed Jan 11 2023 Grigory Ustinov <grenka@altlinux.org> 1.10.4-alt1 - Automatically updated to 1.10.4 (Closes: #44879). - Build without check. * Sun Sep 18 2022 Grigory Ustinov <grenka@altlinux.org> 1.10.2-alt4 - Build with Cython. - Update description. - Use modern %%pyproject macros. - Add extra BuildRequires for tests. - Great thanks for ancieg@. * Sun Sep 18 2022 Anton Zhukharev <ancieg@altlinux.org> 1.10.2-alt3 - rollback to 1.10.2-alt1 state * Sun Sep 18 2022 Anton Zhukharev <ancieg@altlinux.org> 1.10.2-alt2 - build with Cython - update description - use modern %%pyproject macros - reformat and clean up spec * Tue Sep 13 2022 Grigory Ustinov <grenka@altlinux.org> 1.10.2-alt1 - Initial build for Sisyphus. |