Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 24.1.2, use pip source to install itself. #121

Merged
merged 7 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

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

2 changes: 1 addition & 1 deletion .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cdt_name:
- cos6
- cos7
channel_sources:
- conda-forge
channel_targets:
Expand Down
4 changes: 2 additions & 2 deletions .gitattributes

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

13 changes: 10 additions & 3 deletions .scripts/build_steps.sh

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

5 changes: 3 additions & 2 deletions build-locally.py

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

3 changes: 2 additions & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%PYTHON% setup.py install --single-version-externally-managed --record record.txt
set PYTHONPATH=".\src"
%PYTHON% -m pip install . --no-deps --no-build-isolation -vv
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
if errorlevel 1 exit 1

cd %SCRIPTS%
Expand Down
3 changes: 2 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

$PYTHON setup.py install --single-version-externally-managed --record record.txt
# use the pip source to install itself
PYTHONPATH="./src" $PYTHON -m pip install . --no-deps --no-build-isolation -vv
jakirkham marked this conversation as resolved.
Show resolved Hide resolved

cd $PREFIX/bin
rm -f pip2* pip3*
Expand Down
11 changes: 5 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% set version = "24.0" %}
{% set version = "24.1.2" %}

package:
name: pip
version: {{ version }}

source:
url: https://pypi.io/packages/source/p/pip/pip-{{ version }}.tar.gz
sha256: ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2
sha256: e5458a0b89f2755e0ee8c0c77613fe5273e05f337907874d64f13171a898a7ff

build:
noarch: python
Expand All @@ -18,12 +18,11 @@ build:

requirements:
host:
- python >=3.7
- setuptools
run:
- python >=3.7
- python >=3.8
- setuptools
- wheel
run:
- python >=3.8

test:
commands:
Expand Down