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

ruff 0.0.237 #89

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS

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

1 change: 1 addition & 0 deletions README.md

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

6 changes: 4 additions & 2 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ REM Create temp folder
mkdir tmpbuild_%PY_VER%
set TEMP=%CD%\tmpbuild_%PY_VER%
REM Bundle all downstream library licenses
pushd ruff_cli
cargo-bundle-licenses ^
--format yaml ^
--output %SRC_DIR%\THIRDPARTY.yml ^
|| goto :error
popd
REM Use PEP517 to install the package
maturin build --no-default-features --release -i %PYTHON%
maturin build --no-default-features --release -i %PYTHON% -o dist
REM Install wheel
cd target/wheels
cd dist
REM set UTF-8 mode by default
chcp 65001
set PYTHONUTF8=1
Expand Down
6 changes: 4 additions & 2 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ set -ex
export CARGO_NET_GIT_FETCH_WITH_CLI=true

# Bundle all downstream library licenses
pushd ruff_cli
cargo-bundle-licenses \
--format yaml \
--output ${SRC_DIR}/THIRDPARTY.yml
popd

# Apply PEP517 to install the package
maturin build --no-default-features --release -i $PYTHON
maturin build --no-default-features --release -i $PYTHON -o dist

cd target/wheels
cd dist

# Install wheel manually
$PYTHON -m pip install *.whl
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% set name = "ruff" %}
{% set version = "0.0.220" %}
{% set version = "0.0.237" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 621f7f063c0d13570b709fb9904a329ddb9a614fdafc786718afd43e97440c34
sha256: 630c575f543733adf6c19a11d9a02ca9ecc364bd7140af8a4c854d4728be6b56

build:
number: 0
Expand Down