<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/tox.ini, branch 2.15.0</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Replace Makefile with tox (#2331)</title>
<updated>2023-02-23T12:44:22+00:00</updated>
<author>
<name>Jean Abou-Samra</name>
<email>jean@abou-samra.fr</email>
</author>
<published>2023-02-23T12:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=e589fee754a76e9600dcb42baaeb3372d9e163d7'/>
<id>e589fee754a76e9600dcb42baaeb3372d9e163d7</id>
<content type='text'>
Porting notes:

- tox handles Python environments automatically. Remove a bit of PYTHONPATH
  manipulation (that was using Python 2 code which always failed!)

- No `clean` target: `git clean -xdf` should fit the bill.

- No `reindent` target: the `reindent.py` script it was using does not
  exist (anymore?).

- No equivalent of tox-test-coverage, which was an artifact of the past,
  using nose.  Instead, the test-coverage target only is ported, which
  uses pytest, and works.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Porting notes:

- tox handles Python environments automatically. Remove a bit of PYTHONPATH
  manipulation (that was using Python 2 code which always failed!)

- No `clean` target: `git clean -xdf` should fit the bill.

- No `reindent` target: the `reindent.py` script it was using does not
  exist (anymore?).

- No equivalent of tox-test-coverage, which was an artifact of the past,
  using nose.  Instead, the test-coverage target only is ported, which
  uses pytest, and works.</pre>
</div>
</content>
</entry>
<entry>
<title>Declare support for Python 3.11, test 3.12-dev, drop EOL 3.6 (#2324)</title>
<updated>2023-01-25T22:54:43+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2023-01-25T22:54:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=6d2bb1bb7b862e4aa6feb828f760c6568fefda7e'/>
<id>6d2bb1bb7b862e4aa6feb828f760c6568fefda7e</id>
<content type='text'>
* Add support for Python 3.11

* Test Python 3.12-dev

* Add colour to CI for readability

* Drop support for EOL Python 3.6

* Test slower Windows first to speed up CI</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add support for Python 3.11

* Test Python 3.12-dev

* Add colour to CI for readability

* Drop support for EOL Python 3.6

* Test slower Windows first to speed up CI</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the lxml dependency.</title>
<updated>2022-12-07T20:57:31+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2022-12-07T20:56:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=21d4997827496c3066bde6d98a88343680e6ffc2'/>
<id>21d4997827496c3066bde6d98a88343680e6ffc2</id>
<content type='text'>
Replace lxml with html.parser for the structural-diff.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace lxml with html.parser for the structural-diff.
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify tox.ini to drop CPython 3.5 and PyPy3 testing</title>
<updated>2022-06-21T11:27:38+00:00</updated>
<author>
<name>Kurt McKee</name>
<email>contactme@kurtmckee.org</email>
</author>
<published>2022-06-19T20:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=5c955c91a4bddcc72d0f43a77a1decc8e7a206ed'/>
<id>5c955c91a4bddcc72d0f43a77a1decc8e7a206ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update HTML tests.</title>
<updated>2021-12-06T17:51:39+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2021-12-06T17:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=d1f186741009030522e05ce6577a8a194245a22a'/>
<id>d1f186741009030522e05ce6577a8a194245a22a</id>
<content type='text'>
This includes a new structural diff which is more robust, as it handles
changes like different attribute order.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes a new structural diff which is more robust, as it handles
changes like different attribute order.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prohibit contrast degradation for styles via test (#1919)</title>
<updated>2021-11-01T14:27:45+00:00</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-11-01T14:27:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=8cfc6823a7a74d20d0f32000f3b967de770d1a9f'/>
<id>8cfc6823a7a74d20d0f32000f3b967de770d1a9f</id>
<content type='text'>
Web accessibility is important. Unfortunately currently many pygments
styles have rules with poor contrasts. This commit introduces a test
case that fails if the minimum contrast of a style gets worse, e.g:

E  AssertionError: contrast degradation for style 'borland'
E    The following rules have a contrast lower than the required 2.9:
E
E    * 1.90 Token.Text.Whitespace
E    * 2.80 Token.Generic.Heading
E    * 2.30 Token.Generic.Subheading
E
E  assert not 1.9 &lt; 2.9

This is accomplished by storing the current minimum contrasts in
./tests/contrast/min_contrasts.json.

When you improve a minimum contrast the test fails with:

E  AssertionError: congrats, you improved a contrast! please run ./scripts/update_contrasts.py
E  assert not 1.9 &gt; 0.9

Running the script as instructed updates the JSON file, making the test pass.

New styles are required to meet the WCAG AA contrast minimum of 4.5.

First commit to address #1718.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Web accessibility is important. Unfortunately currently many pygments
styles have rules with poor contrasts. This commit introduces a test
case that fails if the minimum contrast of a style gets worse, e.g:

E  AssertionError: contrast degradation for style 'borland'
E    The following rules have a contrast lower than the required 2.9:
E
E    * 1.90 Token.Text.Whitespace
E    * 2.80 Token.Generic.Heading
E    * 2.30 Token.Generic.Subheading
E
E  assert not 1.9 &lt; 2.9

This is accomplished by storing the current minimum contrasts in
./tests/contrast/min_contrasts.json.

When you improve a minimum contrast the test fails with:

E  AssertionError: congrats, you improved a contrast! please run ./scripts/update_contrasts.py
E  assert not 1.9 &gt; 0.9

Running the script as instructed updates the JSON file, making the test pass.

New styles are required to meet the WCAG AA contrast minimum of 4.5.

First commit to address #1718.</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for Python 3.10 (#1917)</title>
<updated>2021-10-23T09:39:36+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2021-10-23T09:39:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=95ee5f64d6a7611772bd85aed70796d423b37a01'/>
<id>95ee5f64d6a7611772bd85aed70796d423b37a01</id>
<content type='text'>
* Add support for Python 3.10

* Drop the dot https://twitter.com/pytestdotorg/status/753767547866972160</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add support for Python 3.10

* Drop the dot https://twitter.com/pytestdotorg/status/753767547866972160</pre>
</div>
</content>
</entry>
<entry>
<title>Add Python 3.9 as a supported version (#1554)</title>
<updated>2020-10-06T18:40:09+00:00</updated>
<author>
<name>Kurt McKee</name>
<email>contactme@kurtmckee.org</email>
</author>
<published>2020-10-06T18:40:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=3f300cf4a3f0bc2504ae007222d94d2e44279f41'/>
<id>3f300cf4a3f0bc2504ae007222d94d2e44279f41</id>
<content type='text'>
Co-authored-by: Matthäus G. Chajdas &lt;Anteru@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Matthäus G. Chajdas &lt;Anteru@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add regexlint to tox so linting can be done during development (#1557)</title>
<updated>2020-09-28T18:24:38+00:00</updated>
<author>
<name>Kurt McKee</name>
<email>contactme@kurtmckee.org</email>
</author>
<published>2020-09-28T18:24:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=cdf1d488769f57eb926a842d81b976dc9aa86f5b'/>
<id>cdf1d488769f57eb926a842d81b976dc9aa86f5b</id>
<content type='text'>
* Add regexlint to tox so linting can be done during development

Tested on Windows.

Closes #1556

* Make regex linting depend on pygments/regexlint@master</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add regexlint to tox so linting can be done during development

Tested on Windows.

Closes #1556

* Make regex linting depend on pygments/regexlint@master</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Python 2 environments from the tox environment list (py27, pypy) (#1532)</title>
<updated>2020-09-04T19:26:39+00:00</updated>
<author>
<name>Kurt McKee</name>
<email>contactme@kurtmckee.org</email>
</author>
<published>2020-09-04T19:26:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=af3f609664e5c750969875c754722ac4b8ed7578'/>
<id>af3f609664e5c750969875c754722ac4b8ed7578</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
