diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a5d654b7..0b54e7f4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,6 +13,9 @@ jobs: os: [ubuntu-latest] EXTRA: [false] # used to force includes to get included include: + - python-version: '3.12' + EXTRA: true + NOTALL: true - python-version: '3.11' os: macos-latest EXTRA: true @@ -40,8 +43,12 @@ jobs: run: | pip install setuptools - - name: Install warcio + - name: Install warcio ALL + if: ${{ ! NOTALL }} run: pip install .[testing] + - name: Install warcio NOTALL + if: ${{ NOTALL }} + run: pip install .[brotli,testing] - name: Run tests run: python -m pytest diff --git a/README.rst b/README.rst index be7ccbbb..d5adffbb 100644 --- a/README.rst +++ b/README.rst @@ -17,7 +17,7 @@ web archives. Supports Python 2.7+ and Python 3.4+ (using warcio supports reading and writing of WARC files compliant with both the `WARC 1.0 `__ and `WARC 1.1 `__ ISO standards. -Install with: ``pip install warcio`` +Install with: ``pip install warcio`` (or ``pip install warcio[all]`` to get optional features) This library is a spin-off of the WARC reading and writing component of the `pywb `__ high-fidelity replay diff --git a/setup.py b/setup.py index db123e85..e1d8fe4f 100755 --- a/setup.py +++ b/setup.py @@ -37,6 +37,9 @@ 'requests', 'wsgiprox', 'hookdns', + ], + 'all': [ + 'brotlipy', ] }, classifiers=[