Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ipyevents for openSUSE:Factory checked in at 2023-09-25 20:03:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipyevents (Old) and /work/SRC/openSUSE:Factory/.python-ipyevents.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipyevents" Mon Sep 25 20:03:25 2023 rev:7 rq:1113311 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipyevents/python-ipyevents.changes 2023-08-18 19:28:38.667346601 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipyevents.new.1770/python-ipyevents.changes 2023-09-25 20:58:16.445520554 +0200 @@ -1,0 +2,7 @@ +Sat Sep 23 16:42:57 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 2.0.3 + * no upstream changelog + * new wheel: notebook extension moved to python sitelib + +------------------------------------------------------------------- Old: ---- ipyevents-2.0.1-gh.tar.gz ipyevents-2.0.1-py2.py3-none-any.whl New: ---- ipyevents-2.0.2-gh.tar.gz ipyevents-2.0.2-py3-none-any.whl ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipyevents.spec ++++++ --- /var/tmp/diff_new_pack.ThtBJ0/_old 2023-09-25 20:58:17.585561738 +0200 +++ /var/tmp/diff_new_pack.ThtBJ0/_new 2023-09-25 20:58:17.589561883 +0200 @@ -17,16 +17,15 @@ Name: python-ipyevents -Version: 2.0.1 +Version: 2.0.2 Release: 0 Summary: A custom ipython widget for returning mouse and keyboard events License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/mwcraig/ipyevents # The Github archive has the test file, but does not bundle the extensions Source0: https://github.com/mwcraig/ipyevents/archive/%{version}.tar.gz#/ipyevents-%{version}-gh.tar.gz # Only the (pure) wheel bundles both extensions -Source1: https://files.pythonhosted.org/packages/py2.py3/i/ipyevents/ipyevents-%{version}-py2.py3-none-any.whl +Source1: https://files.pythonhosted.org/packages/py3/i/ipyevents/ipyevents-%{version}-py3-none-any.whl BuildRequires: %{python_module ipywidgets >= 7.0.0} BuildRequires: %{python_module nbval} BuildRequires: %{python_module pip} @@ -51,7 +50,6 @@ %package -n jupyter-ipyevents Summary: A custom ipython widget for returning mouse and keyboard events -Group: Development/Languages/Python Requires: jupyter-notebook # Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354 Requires: python3dist(ipyevents) = %{version} @@ -68,10 +66,7 @@ This package provides the tools and jupyter notebook extension. %package -n jupyter-ipyevents-jupyterlab -Version: %{version} -Release: 0 Summary: A custom ipython widget for returning mouse and keyboard events -Group: Development/Languages/Python Requires: jupyter-jupyterlab # Any flavor is okay, but suggest the primary one for automatic zypper choice -- boo#1214354 Requires: python3dist(ipyevents) = %{version} @@ -114,7 +109,6 @@ %files -n jupyter-ipyevents %license LICENSE.md %_jupyter_config %{_jupyter_nb_notebook_confdir}/ipyevents.json -%{_jupyter_nbextension_dir}/ipyevents/ %files -n jupyter-ipyevents-jupyterlab %license LICENSE.md ++++++ ipyevents-2.0.1-gh.tar.gz -> ipyevents-2.0.2-gh.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/.github/dependabot.yml new/ipyevents-2.0.2/.github/dependabot.yml --- old/ipyevents-2.0.1/.github/dependabot.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/ipyevents-2.0.2/.github/dependabot.yml 2023-08-21 05:26:55.000000000 +0200 @@ -0,0 +1,7 @@ +version: 2 +updates: +# Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/.github/workflows/binder-badge.yaml new/ipyevents-2.0.2/.github/workflows/binder-badge.yaml --- old/ipyevents-2.0.1/.github/workflows/binder-badge.yaml 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/.github/workflows/binder-badge.yaml 2023-08-21 05:26:55.000000000 +0200 @@ -11,7 +11,7 @@ pull-requests: write steps: - name: comment on PR with Binder link - uses: actions/github-script@v3 + uses: actions/github-script@v6 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/.github/workflows/ci_tests.yaml new/ipyevents-2.0.2/.github/workflows/ci_tests.yaml --- old/ipyevents-2.0.1/.github/workflows/ci_tests.yaml 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/.github/workflows/ci_tests.yaml 2023-08-21 05:26:55.000000000 +0200 @@ -17,9 +17,9 @@ runs-on: ${{ matrix.platform }} steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.9 - name: Install base dependencies @@ -29,9 +29,6 @@ - name: Install the package run: | pip install . - - name: Check notebook extension installation - run: | - jupyter nbextension list | grep ipyevents - name: Check labextension is installed shell: bash run: | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/MANIFEST.in new/ipyevents-2.0.2/MANIFEST.in --- old/ipyevents-2.0.1/MANIFEST.in 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -recursive-include ipyevents/nbextension/static *.* -recursive-include src *.* - -include LICENSE.md -include ipyevents.json -include package.json -include setupbase.py -include tsconfig.json -include webpack.config.js diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/ipyevents/_version.py new/ipyevents-2.0.2/ipyevents/_version.py --- old/ipyevents-2.0.1/ipyevents/_version.py 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/ipyevents/_version.py 2023-08-21 05:26:55.000000000 +0200 @@ -20,4 +20,4 @@ # # Update this value when attributes are added/removed from # your models, or serialized format changes. -EXTENSION_SPEC_VERSION = '2.0.1' +EXTENSION_SPEC_VERSION = '2.0.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/package.json new/ipyevents-2.0.2/package.json --- old/ipyevents-2.0.1/package.json 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/package.json 2023-08-21 05:26:55.000000000 +0200 @@ -11,7 +11,8 @@ "files": [ "lib/**/*.d.ts", "lib/**/*.js", - "dist/*.js" + "dist/*.js", + "css/*.css" ], "homepage": "https://github.com/mwcraig/ipyevents", "bugs": { @@ -30,6 +31,9 @@ }, "scripts": { "build": "npm run build:lib && npm run build:nbextension && npm run build:labextension", + "build:prod": "yarn run build:lib && yarn run build:nbextension && yarn run build:labextension", + "build:labextension": "jupyter labextension build .", + "build:labextension:dev": "jupyter labextension build --development True .", "build:lib": "tsc", "build:nbextension": "webpack", "build:labextension": "jupyter labextension build .", @@ -38,33 +42,53 @@ "clean:lib": "rimraf lib", "clean:labextension": "rimraf ipyevents/labextension", "clean:nbextension": "rimraf ipyevents/nbextension/static/index.js", - "prepack": "npm run build:lib", + "lint": "eslint . --ext .ts,.tsx --fix", + "lint:check": "eslint . --ext .ts,.tsx", + "prepack": "yarn run build:lib", + "test": "jest", "watch": "npm-run-all -p watch:*", "watch:lib": "tsc -w", - "watch:nbextension": "webpack --watch" + "watch:nbextension": "webpack --watch", + "watch:labextension": "jupyter labextension watch ." }, "dependencies": { - "@jupyter-widgets/base": "^1.0.4 || ^2 || ^3 || ^4" + "@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6" }, "devDependencies": { + "@babel/core": "^7.5.0", + "@babel/preset-env": "^7.5.0", + "@jupyter-widgets/base-manager": "^1.0.2", "@jupyterlab/builder": "^3.0.0", - "@phosphor/application": "^1.6.0", - "@phosphor/widgets": "^1.6.0", + "@lumino/application": "^1.6.0", + "@lumino/widgets": "^1.6.0", + "@types/jest": "^26.0.0", "@types/expect.js": "^0.3.29", "@types/mocha": "^5.2.5", "@types/node": "^10.11.6", "@types/webpack-env": "^1.13.6", "expect.js": "^0.3.1", + "@typescript-eslint/eslint-plugin": "^3.6.0", + "@typescript-eslint/parser": "^3.6.0", + "acorn": "^7.2.0", + "css-loader": "^3.2.0", + "eslint": "^7.4.0", + "eslint-config-prettier": "^6.11.0", + "eslint-plugin-prettier": "^3.1.4", "fs-extra": "^7.0.0", + "identity-obj-proxy": "^3.0.0", + "jest": "^26.0.0", "mkdirp": "^0.5.1", - "mocha": "^5.2.0", + "mocha": "^10.2.0", "npm-run-all": "^4.1.3", + "prettier": "^2.0.5", "rimraf": "^2.6.2", - "source-map-loader": "^0.2.4", - "ts-loader": "^5.2.1", - "typescript": "~3.8", - "webpack": "^5", - "webpack-cli": "^4" + "source-map-loader": "^1.1.3", + "style-loader": "^1.0.0", + "ts-jest": "^26.0.0", + "ts-loader": "^8.0.0", + "typescript": "~4.1.3", + "webpack": "^5.61.0", + "webpack-cli": "^4.0.0" }, "jupyterlab": { "extension": "lib/plugin", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/pyproject.toml new/ipyevents-2.0.2/pyproject.toml --- old/ipyevents-2.0.1/pyproject.toml 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/pyproject.toml 2023-08-21 05:26:55.000000000 +0200 @@ -1,3 +1,108 @@ [build-system] -requires = ["jupyter_packaging~=0.7.0", "jupyterlab==3.*", "setuptools>=40.8.0", "wheel"] -build-backend = "setuptools.build_meta" +requires = [ + "hatchling", + "jupyterlab==3.*", +] +build-backend = "hatchling.build" + +[project] +name = "ipyevents" +description = "A custom widget for returning mouse and keyboard events to Python" +readme = "README.md" +license = {text = "BSD 3-clause"} +lincense_files = ["LICENSE.md"] +requires-python = ">=3.6" +authors = [ + { name = "Matt Craig", email = "mattwcr...@gmail.com" }, +] +keywords = [ + "IPython", + "Jupyter", + "Widgets", +] +classifiers = [ + "Framework :: Jupyter", + "Intended Audience :: Developers", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", +] +dependencies = [ + "ipywidgets>=7.6.0", +] +version = "2.0.2" + +[project.optional-dependencies] +docs = [ + "jupyterlab>=3", + "nbsphinx", + "sphinx", +] +test = [ + "nbval", + "pytest", + "pytest-cov", +] + +[project.urls] +Homepage = "https://github.com/mwcraig/ipyevents" + +[tool.hatch.build] +artifacts = [ + "ipyevents/nbextension/", + "ipyevents/labextension/", +] + +[tool.hatch.build.targets.wheel.shared-data] +"ipyevents/nbextension/static/*.js*" = "share/jupyter/nbextensions/ipyevents/*.js*" +"ipyevents/labextension" = "share/jupyter/labextensions/ipyevents" +"./ipyevents.json" = "etc/jupyter/nbconfig/notebook.d/ipyevents.json" + +[tool.hatch.build.targets.sdist] +exclude = [ + ".github", +] + +[tool.hatch.build.hooks.jupyter-builder] +ensured-targets = [ + "ipyevents/nbextension/static/index.js", + "ipyevents/labextension/package.json", +] +dependencies = [ + "hatch-jupyter-builder>=0.8.3", +] +build-function = "hatch_jupyter_builder.npm_builder" + +[tool.hatch.build.hooks.jupyter-builder.build-kwargs] +path = "." +build_cmd = "build" + +[tool.tbump] +field = [ + { name = "channel", default = "" }, + { name = "release", default = "" }, +] + +[tool.tbump.version] +current = "2.0.2" +regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?" + +[tool.tbump.git] +message_template = "Bump to {new_version}" +tag_template = "{new_version}" + +[[tool.tbump.file]] +src = "pyproject.toml" +version_template = "version = \"{major}.{minor}.{patch}{channel}{release}\"" + +[[tool.tbump.file]] +src = "ipyevents/_version.py" + +[[tool.tbump.file]] +src = "src/version.ts" +version_template = "const EXTENSION_SPEC_VERSION = '{major}.{minor}.{patch}{channel}{release}'" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/setup.cfg new/ipyevents-2.0.2/setup.cfg --- old/ipyevents-2.0.1/setup.cfg 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/setup.cfg 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -[bdist_wheel] -universal=1 - -[metadata] -description_file = README.md -license_file = LICENSE.md diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/setup.py new/ipyevents-2.0.2/setup.py --- old/ipyevents-2.0.1/setup.py 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/setup.py 2023-08-21 05:26:55.000000000 +0200 @@ -1,104 +1,2 @@ -from os import path - -from jupyter_packaging import ( - create_cmdclass, install_npm, ensure_targets, - combine_commands, ensure_python, - get_version, skip_if_exists -) - -from setuptools import setup, find_packages - -LONG_DESCRIPTION = 'A custom widget for returning mouse and keyboard events to Python' - -HERE = path.dirname(path.abspath(__file__)) - -# The name of the project -name = 'ipyevents' - -# Ensure a valid python version -ensure_python('>=3.6') - -# Get our version -version = get_version(path.join(name, '_version.py')) - -nb_path = path.join(HERE, name, 'nbextension', 'static') -lab_path = path.join(HERE, name, 'labextension') - -# Representative files that should exist after a successful build -jstargets = [ - path.join(nb_path, 'index.js'), - path.join(lab_path, 'package.json'), -] - -package_data_spec = { - name: [ - 'nbextension/static/*.*js*', - 'labextension/**' - ] -} - -data_files_spec = [ - ('share/jupyter/nbextensions/ipyevents', - nb_path, '*.js*'), - ('share/jupyter/labextensions/ipyevents', lab_path, '**'), - ('etc/jupyter/nbconfig/notebook.d', HERE, 'ipyevents.json') -] - - -cmdclass = create_cmdclass('jsdeps', package_data_spec=package_data_spec, - data_files_spec=data_files_spec) -js_command = combine_commands( - install_npm(HERE, build_cmd='build'), - ensure_targets(jstargets), -) - -is_repo = path.exists(path.join(HERE, '.git')) -if is_repo: - cmdclass['jsdeps'] = js_command -else: - cmdclass['jsdeps'] = skip_if_exists(jstargets, js_command) - -setup_args = dict( - name = name, - description = 'A custom widget for returning mouse and keyboard events to Python', - version = version, - cmdclass = cmdclass, - packages = find_packages(), - author = 'Matt Craig', - author_email = 'mattwcr...@gmail.com', - url = 'https://github.com/mwcraig/ipyevents', - license = 'BSD 3-clause', - platforms = "Linux, Mac OS X, Windows", - keywords = ['Jupyter', 'Widgets', 'IPython'], - classifiers = [ - 'Intended Audience :: Developers', - 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: BSD License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Framework :: Jupyter', - ], - include_package_data = True, - install_requires = [ - 'ipywidgets>=7.6.0', - ], - extras_require = { - 'test': [ - 'pytest', - 'pytest-cov', - 'nbval', - ], - 'docs': [ - 'sphinx', - 'nbsphinx', - 'jupyterlab>=3' - ], - }, -) - -if __name__ == "__main__": - setup(**setup_args) +# setup.py shim for use with applications that require it. +__import__("setuptools").setup() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipyevents-2.0.1/src/version.ts new/ipyevents-2.0.2/src/version.ts --- old/ipyevents-2.0.1/src/version.ts 2021-07-15 21:04:50.000000000 +0200 +++ new/ipyevents-2.0.2/src/version.ts 2023-08-21 05:26:55.000000000 +0200 @@ -7,4 +7,4 @@ * your models, or serialized format changes. */ export -const EXTENSION_SPEC_VERSION = '2.0.1'; +const EXTENSION_SPEC_VERSION = '2.0.2';