<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/.github/workflows, branch master</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/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://91.123.203.49/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://91.123.203.49/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>CI: Use Ubuntu 20.04 for Python 3.6 testing (#2303)</title>
<updated>2022-12-08T09:15:25+00:00</updated>
<author>
<name>Jean Abou-Samra</name>
<email>jean@abou-samra.fr</email>
</author>
<published>2022-12-08T09:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=6ec0f904a643202fb4a2289ed75e663819e86ed0'/>
<id>6ec0f904a643202fb4a2289ed75e663819e86ed0</id>
<content type='text'>
Some recent GitHub action runs have started to fail, like

https://github.com/Jean-Abou-Samra/pygments/actions/runs/3642986206/jobs/6150712048

(others don't fail because they pick up Python 3.6 in a cache).

The problem is that GitHub upgraded the ubuntu-latest images to refer
to Ubuntu 22.04, and setup-python doesn't provide Python 3.6 on 22.04,
so use 20.04 for Python 3.6.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some recent GitHub action runs have started to fail, like

https://github.com/Jean-Abou-Samra/pygments/actions/runs/3642986206/jobs/6150712048

(others don't fail because they pick up Python 3.6 in a cache).

The problem is that GitHub upgraded the ubuntu-latest images to refer
to Ubuntu 22.04, and setup-python doesn't provide Python 3.6 on 22.04,
so use 20.04 for Python 3.6.</pre>
</div>
</content>
</entry>
<entry>
<title>CI: also test Python 3.11 on Windows (#2302)</title>
<updated>2022-12-07T21:41:23+00:00</updated>
<author>
<name>Jean Abou-Samra</name>
<email>jean@abou-samra.fr</email>
</author>
<published>2022-12-07T21:41:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=21fd58575ae2aa17b0811fc2858b2fc2e42f4ea6'/>
<id>21fd58575ae2aa17b0811fc2858b2fc2e42f4ea6</id>
<content type='text'>
#2301 eliminated the lxml dependency, which was the problematic point.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
#2301 eliminated the lxml dependency, which was the problematic point.</pre>
</div>
</content>
</entry>
<entry>
<title>New attempt to add Python 3.11 to CI now that it's released (#2287)</title>
<updated>2022-12-07T20:48:33+00:00</updated>
<author>
<name>Jean Abou-Samra</name>
<email>jean@abou-samra.fr</email>
</author>
<published>2022-12-07T20:48:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=13d578deaec52ce27d43eee014e88561c58f9aa5'/>
<id>13d578deaec52ce27d43eee014e88561c58f9aa5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update actions.</title>
<updated>2022-11-13T13:31:01+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2022-11-13T13:31:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=59cd61171675a6aa7349a23de5478596d4783943'/>
<id>59cd61171675a6aa7349a23de5478596d4783943</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: harden docs.yaml permissions</title>
<updated>2022-09-24T20:14:02+00:00</updated>
<author>
<name>Alex</name>
<email>aleksandrosansan@gmail.com</email>
</author>
<published>2022-09-20T10:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=2ea11788e83cd517dcb1f24e9c1d862b0d865bf8'/>
<id>2ea11788e83cd517dcb1f24e9c1d862b0d865bf8</id>
<content type='text'>
Signed-off-by: Alex &lt;aleksandrosansan@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alex &lt;aleksandrosansan@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>build: harden build.yaml permissions</title>
<updated>2022-09-24T20:14:02+00:00</updated>
<author>
<name>Alex</name>
<email>aleksandrosansan@gmail.com</email>
</author>
<published>2022-09-20T10:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=9f5aa677a97d63d2d8441b949bc7047ec18c89c2'/>
<id>9f5aa677a97d63d2d8441b949bc7047ec18c89c2</id>
<content type='text'>
Signed-off-by: Alex &lt;aleksandrosansan@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alex &lt;aleksandrosansan@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>pytest: only raise warnings as errors in CI</title>
<updated>2022-07-30T10:47:38+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2022-07-30T09:05:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=7620ef295ee9ac3ad2723847bc6722b5beec248e'/>
<id>7620ef295ee9ac3ad2723847bc6722b5beec248e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Overhaul demo and support running it locally (#2141)</title>
<updated>2022-05-21T15:56:08+00:00</updated>
<author>
<name>amitkummer</name>
<email>49096391+amitkummer@users.noreply.github.com</email>
</author>
<published>2022-05-21T15:56:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=cbcbffea1b1f8edf4b824edadbb181f5143ce9ab'/>
<id>cbcbffea1b1f8edf4b824edadbb181f5143ce9ab</id>
<content type='text'>
* Add Make target for building Pyodide with currently checked out Pygments

Add a target to the documentation's Makefile to make Pyodide with
Pygments from the current checkout.

Additionally, use this target when building the documentation with
the demo page.

The new target works by building Pyodide on a Docker container, and
then exporting the build artifacts back to the host.

The Dockerfile used by the new target is based on the Dockerfile which
was used for building Pyodide on the CI:
https://github.com/pygments/pyodide-artifacts/blob/master/container/Dockerfile

The main difference between the two is that the new Dockerfile uses the
newest Pyodide base image, which is built by a repository which is actively
maintained (the Iodide project is no longer maintained).

The purpose of this change is to allow running the demo locally,
which was not possible previously, as Pyodide was only built by the
CI when deploying to Github Pages.

* Add instructions on how to run the demo locally to the README

* Update demo to work with Pyodide v0.20

Remove usage of Pyodide functionality which was deprecated in Pyodide v0.17:

- Loading Pyodide using `languagePluginURL` and `languagePluginLoader`.
- Access to globals via `pyodide.globals.x` has changed to `pyodide.globals.get("x")`.

Source:
https://pyodide.org/en/stable/project/release-notes/v0.17.0.html?highlight=languageplugin#api-changes

* Fix #2137

* Fix use of `styles` variable before it's defined

The `styles` variable was being used before it's value was set (which
is done when Pyodide finishes loading).

* Remove GitHub action for building Pyodide

This action is obsolete, as building Pyodide is now done using `make pyodide`.

* Upgrade Pages deployment action version

* Add to .dockerignore all files in .gitignore

* Change `pyodide` target to be a phony target</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add Make target for building Pyodide with currently checked out Pygments

Add a target to the documentation's Makefile to make Pyodide with
Pygments from the current checkout.

Additionally, use this target when building the documentation with
the demo page.

The new target works by building Pyodide on a Docker container, and
then exporting the build artifacts back to the host.

The Dockerfile used by the new target is based on the Dockerfile which
was used for building Pyodide on the CI:
https://github.com/pygments/pyodide-artifacts/blob/master/container/Dockerfile

The main difference between the two is that the new Dockerfile uses the
newest Pyodide base image, which is built by a repository which is actively
maintained (the Iodide project is no longer maintained).

The purpose of this change is to allow running the demo locally,
which was not possible previously, as Pyodide was only built by the
CI when deploying to Github Pages.

* Add instructions on how to run the demo locally to the README

* Update demo to work with Pyodide v0.20

Remove usage of Pyodide functionality which was deprecated in Pyodide v0.17:

- Loading Pyodide using `languagePluginURL` and `languagePluginLoader`.
- Access to globals via `pyodide.globals.x` has changed to `pyodide.globals.get("x")`.

Source:
https://pyodide.org/en/stable/project/release-notes/v0.17.0.html?highlight=languageplugin#api-changes

* Fix #2137

* Fix use of `styles` variable before it's defined

The `styles` variable was being used before it's value was set (which
is done when Pyodide finishes loading).

* Remove GitHub action for building Pyodide

This action is obsolete, as building Pyodide is now done using `make pyodide`.

* Upgrade Pages deployment action version

* Add to .dockerignore all files in .gitignore

* Change `pyodide` target to be a phony target</pre>
</div>
</content>
</entry>
</feed>
