Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-terminado for openSUSE:Factory checked in at 2022-11-25 13:12:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-terminado (Old) and /work/SRC/openSUSE:Factory/.python-terminado.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-terminado" Fri Nov 25 13:12:15 2022 rev:18 rq:1037965 version:0.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-terminado/python-terminado.changes 2022-10-01 17:44:09.229778957 +0200 +++ /work/SRC/openSUSE:Factory/.python-terminado.new.1597/python-terminado.changes 2022-11-25 13:22:30.163468632 +0100 @@ -1,0 +2,9 @@ +Thu Nov 24 17:31:07 UTC 2022 - Arun Persaud <a...@gmx.de> + +- update to version 0.17.0: + * Maintenance and upkeep improvements + + Clean up docs install #198 (@blink1073) + + Maintenance cleanup #196 (@blink1073) + + Maintenance cleanup #195 (@blink1073) + +------------------------------------------------------------------- Old: ---- terminado-0.16.0.tar.gz New: ---- terminado-0.17.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-terminado.spec ++++++ --- /var/tmp/diff_new_pack.wqncrf/_old 2022-11-25 13:22:30.531470617 +0100 +++ /var/tmp/diff_new_pack.wqncrf/_new 2022-11-25 13:22:30.535470639 +0100 @@ -17,7 +17,7 @@ Name: python-terminado -Version: 0.16.0 +Version: 0.17.0 Release: 0 Summary: Terminals served to termjs using Tornado websockets License: BSD-2-Clause ++++++ terminado-0.16.0.tar.gz -> terminado-0.17.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/.flake8 new/terminado-0.17.0/.flake8 --- old/terminado-0.16.0/.flake8 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/.flake8 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -[flake8] -ignore = E501, W503, E402 -builtins = c, get_config -exclude = - .cache, - .github, - docs, - setup.py -enable-extensions = G -extend-ignore = - G001, G002, G004, G200, G201, G202, - # black adds spaces around ':' - E203, -per-file-ignores = - # B011: Do not call assert False since python -O removes these calls - # F841 local variable 'foo' is assigned to but never used - terminado/tests/*: B011, F841 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/.github/workflows/check-release.yml new/terminado-0.17.0/.github/workflows/check-release.yml --- old/terminado-0.16.0/.github/workflows/check-release.yml 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/.github/workflows/check-release.yml 2020-02-02 01:00:00.000000000 +0100 @@ -18,6 +18,6 @@ run: | pip install -e . - name: Check Release - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1 + uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2 with: token: ${{ secrets.GITHUB_TOKEN }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/.github/workflows/test.yml new/terminado-0.17.0/.github/workflows/test.yml --- old/terminado-0.16.0/.github/workflows/test.yml 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/.github/workflows/test.yml 2020-02-02 01:00:00.000000000 +0100 @@ -38,7 +38,7 @@ pip check - name: Run the tests run: | - python -m pytest -vv || python -m pytest -vv --lf + hatch run test:test || hatch run test:test --lf test_minimum_versions: name: Test Minimum Versions @@ -54,7 +54,7 @@ uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1 - name: Run the unit tests run: | - pytest -vv || pytest -vv --lf + pytest -vv -W default || pytest -vv -W default --lf test_prereleases: name: Test Prereleases @@ -74,7 +74,7 @@ pip check - name: Run the tests run: | - pytest -vv || pytest -vv --lf + pytest -vv -W default || pytest -vv -W default --lf make_sdist: name: Make SDist @@ -111,26 +111,17 @@ with: package_name: jupyter_server_terminals - # Run "pre-commit run --all-files --hook-stage=manual" pre-commit: name: Run pre-commit hook runs-on: ubuntu-latest - timeout-minutes: 5 steps: - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v3 - - name: Run pre-commit - uses: pre-commit/action@v2.0.0 - with: - extra_args: --all-files --hook-stage=manual - - name: Help message if pre-commit fail - if: ${{ failure() }} - run: | - echo "You can install pre-commit hooks to automatically run formatting" - echo "on each commit with:" - echo " pre-commit install" - echo "or you can run by hand on staged files with" - echo " pre-commit run" - echo "or after-the-fact on already committed files with" - echo " pre-commit run --all-files --hook-stage=manual" + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - uses: jupyterlab/maintainer-tools/.github/actions/pre-commit@v1 + + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - run: hatch run docs:build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/.pre-commit-config.yaml new/terminado-0.17.0/.pre-commit-config.yaml --- old/terminado-0.16.0/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/.pre-commit-config.yaml 2020-02-02 01:00:00.000000000 +0100 @@ -16,7 +16,7 @@ - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.8.0 + rev: 22.10.0 hooks: - id: black args: ["--line-length", "100"] @@ -28,13 +28,19 @@ files: \.py$ args: [--profile=black] - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.0 + - repo: https://github.com/abravalheri/validate-pyproject + rev: v0.10.1 hooks: - - id: prettier + - id: validate-pyproject + stages: [manual] + + - repo: https://github.com/executablebooks/mdformat + rev: 0.7.16 + hooks: + - id: mdformat - repo: https://github.com/asottile/pyupgrade - rev: v2.38.2 + rev: v3.1.0 hooks: - id: pyupgrade args: [--py37-plus] @@ -46,22 +52,23 @@ args: [--max-line-length=200] stages: [manual] - - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + - repo: https://github.com/john-hen/Flake8-pyproject + rev: 1.0.1 hooks: - - id: flake8 + - id: Flake8-pyproject + alias: flake8 additional_dependencies: ["flake8-bugbear==22.6.22", "flake8-implicit-str-concat==0.2.0"] stages: [manual] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v0.971" + rev: "v0.982" hooks: - id: mypy stages: [manual] - repo: https://github.com/sirosen/check-jsonschema - rev: 0.18.3 + rev: 0.18.4 hooks: - id: check-jsonschema name: "Check GitHub Workflows" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/.readthedocs.yaml new/terminado-0.17.0/.readthedocs.yaml --- old/terminado-0.16.0/.readthedocs.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/.readthedocs.yaml 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1,11 @@ +version: 2 +sphinx: + configuration: doc/conf.py +python: + version: 3.8 + install: + # install itself with pip install . + - method: pip + path: . + extra_requirements: + - docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/CHANGELOG.md new/terminado-0.17.0/CHANGELOG.md --- old/terminado-0.16.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100 @@ -2,6 +2,24 @@ <!-- <START NEW CHANGELOG ENTRY> --> +## 0.17.0 + +([Full Changelog](https://github.com/jupyter/terminado/compare/v0.16.0...91320b53ededce0ea507e1cd45b47492c085cac2)) + +### Maintenance and upkeep improvements + +- Clean up docs install [#198](https://github.com/jupyter/terminado/pull/198) ([@blink1073](https://github.com/blink1073)) +- Maintenance cleanup [#196](https://github.com/jupyter/terminado/pull/196) ([@blink1073](https://github.com/blink1073)) +- Maintenance cleanup [#195](https://github.com/jupyter/terminado/pull/195) ([@blink1073](https://github.com/blink1073)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyter/terminado/graphs/contributors?from=2022-09-29&to=2022-10-25&type=c)) + +[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fterminado+involves%3Ablink1073+updated%3A2022-09-29..2022-10-25&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fterminado+involves%3Apre-commit-ci+updated%3A2022-09-29..2022-10-25&type=Issues) + +<!-- <END NEW CHANGELOG ENTRY> --> + ## 0.16.0 ([Full Changelog](https://github.com/jupyter/terminado/compare/v0.15.0...7210e82a94596d7d8a00577169c09198efbe4633)) @@ -21,8 +39,6 @@ [@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fterminado+involves%3Ablink1073+updated%3A2022-05-16..2022-09-29&type=Issues) | [@KoopaKing](https://github.com/search?q=repo%3Ajupyter%2Fterminado+involves%3AKoopaKing+updated%3A2022-05-16..2022-09-29&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fterminado+involves%3Apre-commit-ci+updated%3A2022-05-16..2022-09-29&type=Issues) -<!-- <END NEW CHANGELOG ENTRY> --> - ## 0.15.0 No merged PRs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/PKG-INFO new/terminado-0.17.0/PKG-INFO --- old/terminado-0.16.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: terminado -Version: 0.16.0 +Version: 0.17.0 Summary: Tornado websocket backend for the Xterm.js Javascript terminal emulator library. Project-URL: Homepage, https://github.com/jupyter/terminado Author-email: Jupyter Development Team <jupy...@googlegroups.com> @@ -40,10 +40,13 @@ Requires-Dist: ptyprocess; os_name != 'nt' Requires-Dist: pywinpty>=1.1.0; os_name == 'nt' Requires-Dist: tornado>=6.1.0 +Provides-Extra: docs +Requires-Dist: pydata-sphinx-theme; extra == 'docs' +Requires-Dist: sphinx; extra == 'docs' Provides-Extra: test Requires-Dist: pre-commit; extra == 'test' Requires-Dist: pytest-timeout; extra == 'test' -Requires-Dist: pytest>=6.0; extra == 'test' +Requires-Dist: pytest>=7.0; extra == 'test' Description-Content-Type: text/x-rst This is a `Tornado <http://tornadoweb.org/>`_ websocket backend for the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/doc/conf.py new/terminado-0.17.0/doc/conf.py --- old/terminado-0.16.0/doc/conf.py 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/doc/conf.py 2020-02-02 01:00:00.000000000 +0100 @@ -11,6 +11,11 @@ # All configuration values have a default; values that are commented out # serve to show the default. +import os +import sys + +HERE = os.path.dirname(__file__) +sys.path.insert(0, os.path.join(HERE, "..")) # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -50,10 +55,15 @@ # |version| and |release|, also used in various other places throughout the # built documents. # +# Get information from _version.py and use it to generate version and release +_version_py = os.path.join(HERE, "../terminado/_version.py") +version_ns: dict = {} +exec(compile(open(_version_py).read(), _version_py, "exec"), version_ns) # The short X.Y version. -version = "0.7" +version = "%s.%s" % tuple(version_ns["__version__"].split(".")[:2]) # The full version, including alpha/beta/rc tags. -release = version +release = version_ns["__version__"] + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -98,7 +108,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = "default" +html_theme = "pydata_sphinx_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -127,7 +137,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ["_static"] +# html_static_path = ["_static"] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/doc/requirements.txt new/terminado-0.17.0/doc/requirements.txt --- old/terminado-0.16.0/doc/requirements.txt 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/doc/requirements.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -ptyprocess -tornado diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/pyproject.toml new/terminado-0.17.0/pyproject.toml --- old/terminado-0.16.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/pyproject.toml 2020-02-02 01:00:00.000000000 +0100 @@ -23,13 +23,22 @@ Homepage = "https://github.com/jupyter/terminado" [project.optional-dependencies] -test = [ "pytest>=6.0", "pre-commit", "pytest-timeout",] - -[tool.jupyter-releaser] -skip = ["check-links"] +test = [ "pytest>=7.0", "pre-commit", "pytest-timeout",] +docs = [ "sphinx", "pydata-sphinx-theme" ] [tool.hatch.version] -path = "terminado/__init__.py" +path = "terminado/_version.py" + +[tool.hatch.envs.docs] +features = ["docs"] +[tool.hatch.envs.docs.scripts] +build = "make -C doc html SPHINXOPTS='-W'" + +[tool.hatch.envs.test] +features = ["test"] +[tool.hatch.envs.test.scripts] +test = "python -m pytest -vv {args}" +nowarn = "python -m pytest -vv -W default {args}" [tool.pytest.ini_options] addopts = "-raXs --durations 10 --color=yes --doctest-modules" @@ -54,3 +63,24 @@ warn_unused_configs = true warn_unused_ignores = true warn_redundant_casts = true + +[tool.flake8] +ignore = "E501, W503, E402" +builtins = "c, get_config" +exclude = [ + ".cache", + ".github", + "docs", + "setup.py", +] +enable-extensions = "G" +extend-ignore = [ + "G001", "G002", "G004", "G200", "G201", "G202", + # black adds spaces around ':' + "E203", +] +per-file-ignores = [ + # B011: Do not call assert False since python -O removes these calls + # F841 local variable 'foo' is assigned to but never used + "terminado/tests/*: B011", "F841", +] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/terminado/__init__.py new/terminado-0.17.0/terminado/__init__.py --- old/terminado-0.16.0/terminado/__init__.py 2020-02-02 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/terminado/__init__.py 2020-02-02 01:00:00.000000000 +0100 @@ -4,10 +4,9 @@ # Copyright (c) 2014, Ramalingam Saravanan <sar...@sarava.net> # Distributed under the terms of the Simplified BSD License. +from ._version import __version__ # noqa from .management import NamedTermManager # noqa from .management import SingleTermManager # noqa from .management import TermManagerBase # noqa from .management import UniqueTermManager # noqa from .websocket import TermSocket # noqa - -__version__ = "0.16.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.16.0/terminado/_version.py new/terminado-0.17.0/terminado/_version.py --- old/terminado-0.16.0/terminado/_version.py 1970-01-01 01:00:00.000000000 +0100 +++ new/terminado-0.17.0/terminado/_version.py 2020-02-02 01:00:00.000000000 +0100 @@ -0,0 +1 @@ +__version__ = "0.17.0"