Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: conda-forge/pydantic-core-feedstock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: AnacondaRecipes/pydantic-core-feedstock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
Loading
Showing with 22 additions and 12 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 abs.yaml
  3. +2 −2 recipe/conda_build_config.yaml
  4. +17 −10 recipe/meta.yaml
1 change: 1 addition & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions abs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build_env_vars:
ANACONDA_ROCKET_ENABLE_PY313 : yes
4 changes: 2 additions & 2 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.12' # [osx and x86]
MACOSX_DEPLOYMENT_TARGET: # [osx and x86]
- 10.12 # [osx and x86]
27 changes: 17 additions & 10 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
{% set version = "2.16.3" %}
{% set version = "2.27.1" %}

package:
name: pydantic-core
version: {{ version }}

source:
url: https://pypi.io/packages/source/p/pydantic-core/pydantic_core-{{ version }}.tar.gz
sha256: 1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad
sha256: 62a763352879b84aa31058fc931884055fd75089cccbd9d58bb6afd01141b235

build:
script_env:
# on osx-64, we get an error from install_name_tool: changing install names or rpaths can't be redone for: <path> (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names)
# After some investigation, rustc doesn't seem to read our LDFLAGS
- RUSTFLAGS=-C link-args=-headerpad_max_install_names # [osx and x86_64]
script:
# PyPy has weird sysconfigdata name
- rm -f $PREFIX/lib/pypy$PY_VER/_sysconfigdata.py # [build_platform != target_platform and target_platform == "linux-ppc64le"]
- {{ PYTHON }} -m pip install . -vv
- {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
- cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
number: 0
missing_dso_whitelist: # [s390x]
- $RPATH/ld64.so.1 # [s390x]

requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- maturin >=1,<2 # [build_platform != target_platform]
- {{ compiler("c") }}
- {{ compiler("rust") }}
- cargo-bundle-licenses
host:
- pip
- python
- maturin >=1,<2
- typing-extensions >=4.6.0,!=4.7.0
- typing-extensions >=4.6.0,!=4.7.0
run:
- python
- typing-extensions >=4.6.0,!=4.7.0
@@ -45,9 +46,15 @@ test:
about:
home: https://github.com/pydantic/pydantic-core
dev_url: https://github.com/pydantic/pydantic-core
doc_url: https://docs.pydantic.dev
summary: Core validation logic for pydantic written in rust
description: |
This package provides the core functionality for pydantic validation and serialization.
license: MIT
license_file: LICENSE
license_family: MIT
license_file:
- LICENSE
- THIRDPARTY.yml

extra:
recipe-maintainers: