Skip to content

Commit 19a1f4b

Browse files
committed
Fix CI & cleanup files
* Fix CI build error. * Remove old CI files.
1 parent 8af9910 commit 19a1f4b

File tree

5 files changed

+8
-51
lines changed

5 files changed

+8
-51
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Prepare tox
4141
run: |
4242
V=${{ matrix.python-version }}
43-
echo TOX_PYTHON=py"$(echo $V | tr -d.)" >>"$GITHUB_ENV"
43+
echo TOX_PYTHON=py"$(echo $V | tr -d '.')" >>"$GITHUB_ENV"
4444
4545
- run: >
4646
uvx --with=tox-uv

.travis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Asset management application for Python web development - use it to
22
merge and compress your JavaScript and CSS files.
33

4-
Documentation: |travis|
4+
Documentation: |ci|
55
https://webassets.readthedocs.io/
66

77
Since releases aren't exactly happening on a regular schedule, you are
@@ -17,10 +17,10 @@ Development:
1717
For development, to run all the tests, you need to have at least Java 7
1818
installed (required for example to run the `Google closure`_ filter).
1919

20-
1. Install Python requirements (preferable in a virtual env)::
20+
1. Install Python requirements with uv::
2121

22-
$ pip install -r requirements-dev.pip
23-
$ pip install -r requirements-dev-2.x.pip
22+
$ uv venv
23+
$ uv pip install -r uv.lock
2424

2525
2. Install other requirements::
2626

@@ -34,5 +34,5 @@ __ http://github.com/miracle2k/webassets/tarball/master#egg=webassets-dev
3434

3535
.. _`Google closure`: https://github.com/google/closure-compiler/wiki/FAQ#the-compiler-crashes-with-unsupportedclassversionerror-or-unsupported-majorminor-version-510
3636

37-
.. |travis| image:: https://secure.travis-ci.org/miracle2k/webassets.png?branch=master
38-
:target: http://travis-ci.org/miracle2k/webassets
37+
.. |ci| image:: https://github.com/miracle2k/webassets/actions/workflows/ci.yml/badge.svg
38+
:target: https://github.com/miracle2k/webassets/actions/workflows/ci.yml

requirements-dev-2.x.pip

Lines changed: 0 additions & 8 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package = wheel
1212
wheel_build_env = .pkg
1313
description = run the tests with pytest
1414
extras = slimit, ply, sass, rcssmin, closure, jinja2, cssutils
15-
uv_python_preference = managed
15+
; uv_python_preference = managed
1616
deps =
1717
pytest
1818
commands =

0 commit comments

Comments
 (0)