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

py3-traitlets/5.14.3 package update #17188

Merged
merged 4 commits into from
Apr 22, 2024
Merged
Changes from all 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
41 changes: 29 additions & 12 deletions py3-traitlets.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,46 @@
package:
name: py3-traitlets
version: 5.14.2
version: 5.14.3
epoch: 0
description: Traitlets Python configuration system
copyright:
- license: BSD-3-Clause
dependencies:
runtime:
- python3

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- py3-build
- py3-installer
- py3-setuptools
- py3-pip
- python3
- rsync
- wolfi-base
environment:
# This is needed to work around the error "ValueError: ZIP does not support timestamps before 1980"
SOURCE_DATE_EPOCH: 315532800

pipeline:
- uses: git-checkout
with:
repository: https://github.com/ipython/traitlets
expected-commit: cb672eb5ba235fdfee6407bd7f1b1985de934e7c
expected-commit: 13de53c537a257402035139dd6862558eb19d362
tag: v${{package.version}}

- name: Python Build
runs: python -m build
- name: Install hatchling
runs: |
python3 -m pip install hatch

- name: Copy project
runs: |
mkdir -p "${{targets.destdir}}/lib"
rsync -a --exclude='melange-out/*' . "${{targets.destdir}}/lib/traitlets"

- name: Python Install
runs: python -m installer -d "${{targets.destdir}}/" dist/traitlets*.whl
- name: Build project
runs: |
cd "${{targets.destdir}}/lib/traitlets"
hatch build
python3 -m pip install dist/*.whl --target "${{targets.destdir}}/usr/lib/python3.12/site-packages/"

- uses: strip

Expand All @@ -41,3 +49,12 @@ update:
github:
identifier: ipython/traitlets
strip-prefix: v

test:
environment:
contents:
packages:
- python3
pipeline:
- runs: |
/usr/bin/python3 -c 'from traitlets import HasTraits'