Skip to content

Commit

Permalink
FIX: Set python_min of Python 3.8 (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: conda-forge-webservices[bot] <91080706+conda-forge-webservices[bot]@users.noreply.github.com>
  • Loading branch information
matthewfeickert and conda-forge-webservices[bot] authored Nov 11, 2024
1 parent 503ae36 commit 2cbff75
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 18 deletions.
10 changes: 9 additions & 1 deletion .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
cdt_name:
- cos6
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
python:
- 3.12.* *_cpython
python_min:
- '3.8'
17 changes: 9 additions & 8 deletions .scripts/build_steps.sh

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

29 changes: 27 additions & 2 deletions azure-pipelines.yml

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

9 changes: 6 additions & 3 deletions build-locally.py

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

2 changes: 2 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python_min:
- '3.8'
10 changes: 6 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,28 @@ package:
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/hatchling-{{ version }}.tar.gz
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/hatchling-{{ version }}.tar.gz
sha256: 7064631a512610b52250a4d3ff1bd81551d6d1431c4eb7b72e734df6c74f4262

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 1
entry_points:
- hatchling = hatchling.cli:hatchling

requirements:
host:
- pip
- python >=3.7
- python {{ python_min }}
# bootstrapping
- packaging >=21.3
- pathspec >=0.10.1
- pluggy >=1.0.0
- tomli >=2.0
- trove-classifiers
run:
- python >={{ python_min }}
- editables >=0.3
- importlib-metadata
- packaging >=21.3
Expand All @@ -43,6 +44,7 @@ test:
- pip check
- hatchling --help
requires:
- python {{ python_min }}
- pip

about:
Expand Down

0 comments on commit 2cbff75

Please sign in to comment.