From ef7d518953425b0bccc672e8f80dfefa9f701aa3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Apr 2023 10:56:42 +0000 Subject: [PATCH 01/13] Bump actions/setup-python from 4.5.0 to 4.6.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.5.0 to 4.6.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4.5.0...v4.6.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index e0a0145..514dded 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -22,7 +22,7 @@ jobs: with: submodules: 'recursive' - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4.5.0 + uses: actions/setup-python@v4.6.0 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 8bbbf7ceac820d94d633679f705890a05c830ed7 Mon Sep 17 00:00:00 2001 From: "B. Howell" Date: Tue, 9 May 2023 01:07:56 +0200 Subject: [PATCH 02/13] soft_barcode to render directly (#469) Rendering to /dev/null by a call to .write causes an error. Calling .render directly is simpler and fixes the error. Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com> --- src/escpos/escpos.py | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index 3460fce..a5735e0 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -602,19 +602,16 @@ class Escpos(object): ) ) - # Render the barcode to a fake file + # Render the barcode barcode_class = barcode.get_barcode_class(barcode_type) my_code = barcode_class(data, writer=image_writer) - - with open(os.devnull, "wb") as nullfile: - my_code.write( - nullfile, - { - "module_height": module_height, - "module_width": module_width, - "text_distance": text_distance, - }, - ) + my_code.render( + writer_options={ + "module_height": module_height, + "module_width": module_width, + "text_distance": text_distance, + } + ) # Retrieve the Pillow image and print it image = my_code.writer._image From 25867f31962d822cf4778ebf4cd0f944af869e43 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler <4189642+patkan@users.noreply.github.com> Date: Tue, 9 May 2023 01:15:34 +0200 Subject: [PATCH 03/13] update to most recent printer database (#513) --- capabilities-data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capabilities-data b/capabilities-data index 3612db4..190a96d 160000 --- a/capabilities-data +++ b/capabilities-data @@ -1 +1 @@ -Subproject commit 3612db407d02a08acd93a1540f2b4823be3f020e +Subproject commit 190a96db4b90425b99fbb4f034c04a36cf1c2bf7 From 6849dd3979d38b2c1be6d8234c0d3b7e6f6432a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E6=9C=88=E7=A7=8B=E8=A7=81=E5=BF=83?= <10618381+NullYing@users.noreply.github.com> Date: Tue, 9 May 2023 07:18:00 +0800 Subject: [PATCH 04/13] Add Chinese support (#356) * Add Chinese support * Add author * Add newline * Revert "Add Chinese support" This reverts commit 110200dde678a165062707e8ccb985c837ed6f68. * Add Chinese support * Add Chinese support * update mailmap file * update formatting --------- Co-authored-by: Patrick Kanzler Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com> --- .mailmap | 1 + AUTHORS | 1 + src/escpos/magicencode.py | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/.mailmap b/.mailmap index fe88047..fb0069e 100644 --- a/.mailmap +++ b/.mailmap @@ -13,6 +13,7 @@ csoft2k Sergio Pulgarin reck31 Alex Debiasio +白月秋见心 Maximilian Wagenbach belono Benito López diff --git a/AUTHORS b/AUTHORS index 07c6bce..cc15f85 100644 --- a/AUTHORS +++ b/AUTHORS @@ -41,3 +41,4 @@ Thijs Triemstra Thomas van den Berg Yaisel Hurtado ysuolmai +白月秋见心 diff --git a/src/escpos/magicencode.py b/src/escpos/magicencode.py index 4b6f9cb..bc0bb7f 100644 --- a/src/escpos/magicencode.py +++ b/src/escpos/magicencode.py @@ -18,6 +18,7 @@ from .constants import CODEPAGE_CHANGE from .exceptions import Error from .codepages import CodePages import six +import re class Encoder(object): @@ -252,6 +253,10 @@ class MagicEncode(object): self.write_with_encoding(self.encoding, text) return + if re.findall(r"[\u4e00-\u9fa5]", text): + self.driver._raw(text.encode("GB18030")) + return + # See how far we can go into the text with the current encoding to_write, text = split_writable_text(self.encoder, text, self.encoding) if to_write: From 7bf8d4e4b8a890b65b3446870d080c9485129d91 Mon Sep 17 00:00:00 2001 From: Mathieu Poussin <359877+kedare@users.noreply.github.com> Date: Tue, 9 May 2023 01:25:48 +0200 Subject: [PATCH 05/13] Add support for slip/cheque dot matrix printers (#485) * Add support for slip/cheque dot matrix printers * format * fix comments --------- Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com> Co-authored-by: Patrick Kanzler --- AUTHORS | 4 ++++ src/escpos/constants.py | 10 ++++++++++ src/escpos/escpos.py | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/AUTHORS b/AUTHORS index cc15f85..02a4211 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,9 +1,11 @@ Ahmed Tahri akeonly +Alejandro Hernández Alexander Bougakov Alex Debiasio Asuki Kono belono +B. Howell Brian Christoph Heuel Cody (Quantified Code Bot) @@ -11,6 +13,7 @@ csoft2k Curtis // mashedkeyboard Davis Goglin Dean Rispin +dependabot[bot] Dmytro Katyukha Gerard Marull-Paretas Hark @@ -21,6 +24,7 @@ Kristi ldos Lucy Linder Manuel F Martinez +Mathieu Poussin Maximilian Wagenbach Michael Billington Michael Elsdörfer diff --git a/src/escpos/constants.py b/src/escpos/constants.py index 80c921c..3c018db 100644 --- a/src/escpos/constants.py +++ b/src/escpos/constants.py @@ -77,6 +77,16 @@ LINE_DISPLAY_CLOSE = ESC + b"\x3d\x01" SHEET_SLIP_MODE = ESC + b"\x63\x30\x04" # slip paper SHEET_ROLL_MODE = ESC + b"\x63\x30\x01" # paper roll +# Slip specific codes +SLIP_EJECT = ESC + b"\x4b\xc0" # Eject the slip or cheque +SLIP_SELECT = FS # Select the slip station as default station +SLIP_SET_WAIT_TIME = ( + ESC + b"\x1b\x66" +) # Set timeout waiting for a slip/cheque to be inserted +SLIP_PRINT_AND_EJECT = ( + b"\x0c" # Print the buffer and eject (after waiting for the paper to be inserted) +) + # Text format # TODO: Acquire the "ESC/POS Application Programming Guide for Paper Roll # Printers" and tidy up this stuff too. diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index a5735e0..0788124 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -30,6 +30,11 @@ from .constants import ( QR_ECLEVEL_M, QR_ECLEVEL_H, QR_ECLEVEL_Q, + SHEET_ROLL_MODE, + SHEET_SLIP_MODE, + SLIP_PRINT_AND_EJECT, + SLIP_SELECT, + SLIP_EJECT, ) from .constants import ( QR_MODEL_1, @@ -1011,6 +1016,41 @@ class Escpos(object): if status[0] & RT_MASK_PAPER == RT_MASK_PAPER: return 2 + def target(self, type="ROLL"): + """Select where to print to + + Print to the thermal printer by default (ROLL) or + print to the slip dot matrix printer if supported (SLIP) + """ + if type.upper() == "ROLL": + self._raw(SHEET_ROLL_MODE) + elif type.upper() == "SLIP": + self._raw(SHEET_SLIP_MODE) + else: + raise ValueError("Unsupported target") + + def eject_slip(self): + """Eject the slip/cheque""" + self._raw(SLIP_EJECT) + + def print_and_eject_slip(self): + """Print and eject + + Prints data from the buffer to the slip station and if the paper + sensor is covered, reverses the slip out the front of the printer + far enough to be accessible to the operator. + The impact station opens the platen in all cases. + """ + self._raw(SLIP_PRINT_AND_EJECT) + + def use_slip_only(self): + """Selects the Slip Station for all functions. + + The receipt station is the default setting after the printer + is initialized or the Clear Printer (0x10) command is received + """ + self._raw(SLIP_SELECT) + class EscposIO(object): """ESC/POS Printer IO object From 83c7f5745c5a2739b698378a3c9063b6e55c65a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 May 2023 15:15:16 +0200 Subject: [PATCH 06/13] Bump capabilities-data from `190a96d` to `5fb5cb7` (#514) Bumps [capabilities-data](https://github.com/receipt-print-hq/escpos-printer-db) from `190a96d` to `5fb5cb7`. - [Commits](https://github.com/receipt-print-hq/escpos-printer-db/compare/190a96db4b90425b99fbb4f034c04a36cf1c2bf7...5fb5cb7254ff19257532c732831aa934ebe65988) --- updated-dependencies: - dependency-name: capabilities-data dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- capabilities-data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capabilities-data b/capabilities-data index 190a96d..5fb5cb7 160000 --- a/capabilities-data +++ b/capabilities-data @@ -1 +1 @@ -Subproject commit 190a96db4b90425b99fbb4f034c04a36cf1c2bf7 +Subproject commit 5fb5cb7254ff19257532c732831aa934ebe65988 From 3560f8b12b1ee0c7e44fc30ce5b486f939b484d6 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler <4189642+patkan@users.noreply.github.com> Date: Thu, 11 May 2023 23:12:46 +0200 Subject: [PATCH 07/13] housekeeping: fix-build for doc (#515) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * disable git checkout head² * update pull request template * add importlib metadata to requirements for doc build * update capabilities data --- .github/PULL_REQUEST_TEMPLATE.md | 13 ++++--------- .github/workflows/codeql-analysis.yml | 7 +------ capabilities-data | 2 +- doc/requirements.txt | 1 + 4 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 32544d2..6dfea07 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,10 +1,5 @@ -### Contributor checklist - -- [ ] I have read the CONTRIBUTING.rst -- [ ] I have tested my contribution on these devices: - * e.g. Epson TM-T88II -- [ ] My contribution is ready to be merged as is - ----------- - ### Description + + +### Tested with +_If applicable, please describe with which device you have tested._ \ No newline at end of file diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1d0085c..c69b37f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,18 +36,13 @@ jobs: # a pull request then we can checkout the head. fetch-depth: 2 - # If this run was triggered by a pull request event, then checkout - # the head of the pull request instead of the merge commit. - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main diff --git a/capabilities-data b/capabilities-data index 5fb5cb7..1bf6a48 160000 --- a/capabilities-data +++ b/capabilities-data @@ -1 +1 @@ -Subproject commit 5fb5cb7254ff19257532c732831aa934ebe65988 +Subproject commit 1bf6a482bd62c2093b6501db189008961e2509de diff --git a/doc/requirements.txt b/doc/requirements.txt index 09e59da..b5f0851 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -8,3 +8,4 @@ setuptools-scm docutils>=0.12 sphinxcontrib-spelling>=7.2.0 python-barcode>=0.11.0,<1 +importlib-metadata From 2b826aa8347d98bba073d07ca4a9d8adfa652b64 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler <4189642+patkan@users.noreply.github.com> Date: Thu, 11 May 2023 23:37:09 +0200 Subject: [PATCH 08/13] add changelog (#516) --- CHANGELOG.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dffb008..8142c29 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,28 @@ ********* Changelog ********* +2023-05-11 - Version 3.0a9 - "Pride Comes Before A Fall" +-------------------------------------------------------- +This release is the 10th alpha release of the new version 3.0. +After three years hiatus, a new release is in work in order to +finally get a version 3.0 out. + +changes +^^^^^^^ +- Include support for CUPS based printer interfaces +- Move the build toolchain to GitHub + +contributors +^^^^^^^^^^^^ +- belono +- brendanhowell +- AlexandroJaez +- NullYing +- kedare +- Foaly +- patkan +- and others + 2020-05-12 - Version 3.0a8 - "Only Slightly Bent" ------------------------------------------------- This release is the ninth alpha release of the new version 3.0. From 66348ccc0a816c3da87b9bfe841f30dd9a95f1e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20S=C3=A1nchez=20Alba?= Date: Thu, 18 May 2023 07:06:06 -0600 Subject: [PATCH 09/13] Added example with Docker and Flask (#519) * Added example with Docker and Flask * set flask debug flag to False * new line at the end of file * format with black --------- Co-authored-by: Ricardo Sanchez Alba --- examples/docker-flask/Dockerfile | 28 ++++++++++++++++++++++++++ examples/docker-flask/README.md | 6 ++++++ examples/docker-flask/app.py | 22 ++++++++++++++++++++ examples/docker-flask/requirements.txt | 21 +++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 examples/docker-flask/Dockerfile create mode 100644 examples/docker-flask/README.md create mode 100644 examples/docker-flask/app.py create mode 100644 examples/docker-flask/requirements.txt diff --git a/examples/docker-flask/Dockerfile b/examples/docker-flask/Dockerfile new file mode 100644 index 0000000..666f358 --- /dev/null +++ b/examples/docker-flask/Dockerfile @@ -0,0 +1,28 @@ +# Use the official Python image as the base image +FROM python:3.9-slim + +# Set the working directory +WORKDIR /app + +# Copy the requirements file +COPY requirements.txt . + +#Install the libcups library +RUN apt-get update -y && apt-get install libcups2-dev -y +# Install the Python packages +RUN pip install --no-cache-dir -r requirements.txt +RUN pip install python-escpos --pre + +# Install Git +RUN apt-get update && \ + apt-get install -y git && \ + rm -rf /var/lib/apt/lists/* + +# Copy the Flask app +COPY app.py . + +# Expose the port the Flask app will run on +EXPOSE 8080 + +# Run the Flask app +CMD ["python", "app.py"] diff --git a/examples/docker-flask/README.md b/examples/docker-flask/README.md new file mode 100644 index 0000000..a2dd254 --- /dev/null +++ b/examples/docker-flask/README.md @@ -0,0 +1,6 @@ +Simple example on how to use it inside a web service + +``` +docker build . -t escpos-web +docker run --network=host -p 9999:9999 escpos +``` \ No newline at end of file diff --git a/examples/docker-flask/app.py b/examples/docker-flask/app.py new file mode 100644 index 0000000..7febda9 --- /dev/null +++ b/examples/docker-flask/app.py @@ -0,0 +1,22 @@ +import escpos +from escpos.printer import * +from flask import Flask, jsonify, request, redirect, session, url_for +import sys +from io import BytesIO + +# Initialize Flask app +app = Flask(__name__) + + +@app.route("/", methods=["GET"]) +def do_print(): + # p = Usb(0x04b8, 0x0e28, 0) + p = CupsPrinter(host="localhost", port=631, printer_name="TM-T20III") + p.text("Hello World\n") + p.cut() + p.close() + return "OK" + + +if __name__ == "__main__": + app.run(debug=False, host="0.0.0.0", port=9999) diff --git a/examples/docker-flask/requirements.txt b/examples/docker-flask/requirements.txt new file mode 100644 index 0000000..bb44932 --- /dev/null +++ b/examples/docker-flask/requirements.txt @@ -0,0 +1,21 @@ +appdirs==1.4.4 +argcomplete==3.0.8 +blinker==1.6.2 +click==8.1.3 +Flask==2.3.2 +future==0.18.3 +itsdangerous==2.1.2 +Jinja2==3.1.2 +MarkupSafe==2.1.2 +Pillow==9.5.0 +pycups==2.0.1 +pypng==0.20220715.0 +pyserial==3.5 +python-barcode==0.14.0 +python-escpos==3.0a9 +pyusb==1.2.1 +PyYAML==6.0 +qrcode==7.4.2 +six==1.16.0 +typing_extensions==4.5.0 +Werkzeug==2.3.4 \ No newline at end of file From 905e37e52ec8e8517b248199694b6e977c850ede Mon Sep 17 00:00:00 2001 From: Patrick Kanzler <4189642+patkan@users.noreply.github.com> Date: Thu, 18 May 2023 16:33:20 +0200 Subject: [PATCH 10/13] update read the docs config (#520) * update read the docs config * add hints on black code style * add link to black * fix path to requirements * include submodules in build * add submodule capabilities-data * format as list * post on execution on RTD * use sphinx rtd theme 1.2.0 * add apt dependencies --- .readthedocs.yml | 27 +++++++++++++++++++++++++++ CONTRIBUTING.rst | 15 ++++++--------- doc/conf.py | 1 + doc/requirements.txt | 2 +- readthedocs.yml | 7 ------- 5 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 .readthedocs.yml delete mode 100644 readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..5ecf1c9 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,27 @@ +version: 2 +formats: + - pdf + - epub +build: + os: ubuntu-22.04 + tools: + python: "3.11" + apt_packages: + - graphviz + - libenchant-2-2 + - gcc + - libcups2-dev + - python3-dev +sphinx: + configuration: doc/conf.py +submodules: + include: + - capabilities-data + recursive: true + +python: + install: + - requirements: doc/requirements.txt + - method: pip + path: . + system_packages: true diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7f6b40f..096bbb6 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -17,23 +17,20 @@ Author-list This project keeps a list of authors. This can be auto-generated by calling `./doc/generate-authors.sh`. When contributing the first time, please include a commit with the output of this script in place. -Otherwise the integration-check will fail. When you change your username or mail-address, please also update the `.mailmap` and the authors-list. -You can find a good documentation on the mapping-feature in the `documentation of git-shortlog `_. +You can find a good documentation on the mapping-feature in the +`documentation of git-shortlog `_. Style-Guide ----------- When writing code please try to stick to these rules. -PEP8 -^^^^ -The entire codebase adheres to the rules of PEP8. -These rules are enforced by running `flake8` in the integration-checks. -Please adhere to these rules as your contribution can only be merged if the check succeeds. -You can use flake8 or similar tools locally in order to check your code. -Apart from that the travis-log and the check by Landscape will provide you with hints. +Black Code Style +^^^^^^^^^^^^^^^^ +This project is formatted with the auto formatter `black `_. +Please format your contributions with black, otherwise they will be rejected. GIT ^^^ diff --git a/doc/conf.py b/doc/conf.py index 33290d6..9696642 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -122,6 +122,7 @@ pygments_style = "sphinx" # a list of builtin themes. if on_rtd: html_theme = "default" + print("recognized execution on RTD") else: try: import sphinx_rtd_theme diff --git a/doc/requirements.txt b/doc/requirements.txt index b5f0851..6d4758d 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,7 +2,7 @@ pyusb Pillow>=2.0 qrcode>=4.0 pyserial -sphinx-rtd-theme +sphinx-rtd-theme==1.2.0 setuptools setuptools-scm docutils>=0.12 diff --git a/readthedocs.yml b/readthedocs.yml deleted file mode 100644 index d34f875..0000000 --- a/readthedocs.yml +++ /dev/null @@ -1,7 +0,0 @@ -formats: - - pdf - - epub -requirements_file: doc/requirements.txt -python: - version: 3 - setup_py_install: true \ No newline at end of file From fc17391b63bce844588271f7a4e0c4eaff9d1c4b Mon Sep 17 00:00:00 2001 From: Patrick Kanzler <4189642+patkan@users.noreply.github.com> Date: Thu, 18 May 2023 16:38:40 +0200 Subject: [PATCH 11/13] remove unused badges (#522) --- README.rst | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index bd545aa..ce3dcb0 100644 --- a/README.rst +++ b/README.rst @@ -2,14 +2,6 @@ python-escpos - Python library to manipulate ESC/POS Printers ############################################################# -.. image:: https://travis-ci.org/python-escpos/python-escpos.svg?branch=master - :target: https://travis-ci.org/python-escpos/python-escpos - :alt: Continous Integration - -.. image:: https://codecov.io/github/python-escpos/python-escpos/coverage.svg?branch=master - :target: https://codecov.io/github/python-escpos/python-escpos?branch=master - :alt: Code Coverage - .. image:: https://readthedocs.org/projects/python-escpos/badge/?version=latest :target: https://python-escpos.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status @@ -93,16 +85,20 @@ Another example based on the Serial printer class: p.cut() -The full project-documentation is available on `Read the Docs `_. +The full project-documentation is available on +`Read the Docs `_. Contributing ------------ -This project is open for any contribution! Please see `CONTRIBUTING.rst `_ for more information. +This project is open for any contribution! Please see +`CONTRIBUTING.rst `_ +for more information. Disclaimer ---------- -None of the vendors cited in this project agree or endorse any of the patterns or implementations. +None of the vendors cited in this project agree or endorse any of the +patterns or implementations. Its names are used only to maintain context. From c67c077a4d767bfced6a50b26a3dbdf5b3d4ffea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 May 2023 15:22:50 +0200 Subject: [PATCH 12/13] Bump sphinx-rtd-theme from 1.2.0 to 1.2.1 (#524) Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.2.0 to 1.2.1. - [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst) - [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.2.0...1.2.1) --- updated-dependencies: - dependency-name: sphinx-rtd-theme dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 6d4758d..a42dee4 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,7 +2,7 @@ pyusb Pillow>=2.0 qrcode>=4.0 pyserial -sphinx-rtd-theme==1.2.0 +sphinx-rtd-theme==1.2.1 setuptools setuptools-scm docutils>=0.12 From e72ebc79867ce10d6fb00f96b03fd9ffc64cf8cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 May 2023 14:03:26 +0200 Subject: [PATCH 13/13] Bump actions/setup-python from 4.6.0 to 4.6.1 (#526) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.0 to 4.6.1. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4.6.0...v4.6.1) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 514dded..5e62972 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -22,7 +22,7 @@ jobs: with: submodules: 'recursive' - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4.6.0 + uses: actions/setup-python@v4.6.1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies