Skip to content

Commit

Permalink
pypi-pydantic: Autospec creation for update from version 1.10.7 to ve…
Browse files Browse the repository at this point in the history
…rsion 1.10.8

Adrian Garcia Badaracco (1):
      Support for email-validator>=2.0.0.post2 (#5627)

Amin Alaee (1):
      Remove pkg_resources test (#5508)

Benoit C. Sirois (1):
      Fixes discriminated unions not working on aliased literal fields. Issue #3849. (#5736)

David Montague (1):
      Fix internal error with mypy (#5449)

Dimitri Papadopoulos Orfanos (1):
      Fix typos found by codespell (#5375)

Hasan Ramezani (2):
      Fix Literal bug with typing-extension==4.6.0 (#5826)
      Prepare for 1.10.8 (#5830)

Jens Heinrich (1):
      tweak type annotations (#5499)

Kyle Finley (1):
      update `AnyClassMethod` for change in python/typeshed#9771 (#5505)

Samuel Colvin (6):
      [ALPHA] V2 Alpha Blog Post (#5343)
      fix link in alpha release to v2 blog
      Add mike to V1 docs (#5628)
      enable fastapi testing on 1.10 (#5635)
      V1 add `build-docs.sh` (#5832)
      remove sponsors from docs (#5833)
  • Loading branch information
fenrus75 committed May 24, 2023
1 parent 56cd38b commit 5c07ea8
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := pypi-pydantic
URL = https://files.pythonhosted.org/packages/43/5f/e53a850fd32dddefc998b6bfcbda843d4ff5b0dcac02a92e414ba6c97d46/pydantic-1.10.7.tar.gz
URL = https://files.pythonhosted.org/packages/23/65/2aa13873e9e0084ecaec00fbe6c6096b65e1ab99ba66bdbf7e4e7c4cc915/pydantic-1.10.8.tar.gz
ARCHIVES =

include ../common/Makefile.common
6 changes: 4 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = pypi-pydantic
url = https://files.pythonhosted.org/packages/43/5f/e53a850fd32dddefc998b6bfcbda843d4ff5b0dcac02a92e414ba6c97d46/pydantic-1.10.7.tar.gz
url = https://files.pythonhosted.org/packages/23/65/2aa13873e9e0084ecaec00fbe6c6096b65e1ab99ba66bdbf7e4e7c4cc915/pydantic-1.10.8.tar.gz
archives =
giturl = https://github.com/samuelcolvin/pydantic/
domain =
Expand All @@ -19,6 +19,8 @@ autoupdate = true
broken_c++ = false
# disable parallelization during build
broken_parallel_build = false
# create vendor archive with cargo
cargo_vendor = false
# this package is a library compatibility package and only ships versioned library files
compat = false
# set conservative build flags
Expand Down Expand Up @@ -58,7 +60,7 @@ skip_tests = false
# add .so files to the lib package instead of dev
so_to_lib = false
# configure build for avx2
use_avx2 = false
use_avx2 = true
# configure build for avx512
use_avx512 = false
# add clang flags
Expand Down
24 changes: 12 additions & 12 deletions pypi-pydantic.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# Using build pattern: distutils3
#
Name : pypi-pydantic
Version : 1.10.7
Release : 16
URL : https://files.pythonhosted.org/packages/43/5f/e53a850fd32dddefc998b6bfcbda843d4ff5b0dcac02a92e414ba6c97d46/pydantic-1.10.7.tar.gz
Source0 : https://files.pythonhosted.org/packages/43/5f/e53a850fd32dddefc998b6bfcbda843d4ff5b0dcac02a92e414ba6c97d46/pydantic-1.10.7.tar.gz
Version : 1.10.8
Release : 17
URL : https://files.pythonhosted.org/packages/23/65/2aa13873e9e0084ecaec00fbe6c6096b65e1ab99ba66bdbf7e4e7c4cc915/pydantic-1.10.8.tar.gz
Source0 : https://files.pythonhosted.org/packages/23/65/2aa13873e9e0084ecaec00fbe6c6096b65e1ab99ba66bdbf7e4e7c4cc915/pydantic-1.10.8.tar.gz
Summary : Data validation and settings management using python type hints
Group : Development/Tools
License : MIT
Expand Down Expand Up @@ -59,26 +59,26 @@ python3 components for the pypi-pydantic package.


%prep
%setup -q -n pydantic-1.10.7
cd %{_builddir}/pydantic-1.10.7
%setup -q -n pydantic-1.10.8
cd %{_builddir}/pydantic-1.10.8
pushd ..
cp -a pydantic-1.10.7 buildavx2
cp -a pydantic-1.10.8 buildavx2
popd

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1679586217
export SOURCE_DATE_EPOCH=1684941078
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz "
export CFLAGS="$CFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FCFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export FFLAGS="$FFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export CXXFLAGS="$CXXFLAGS -O3 -fdebug-types-section -femit-struct-debug-baseonly -ffat-lto-objects -flto=auto -g1 -gno-column-info -gno-variable-location-views -gz=zstd "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build

Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
17
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
62d7c5937c6a8da36f0c04c6dbc054ca4938f7c4/pydantic-1.10.7.tar.gz
a495345876c18a224a969c7991fa2c7c07b776d9/pydantic-1.10.8.tar.gz

0 comments on commit 5c07ea8

Please sign in to comment.