Skip to content

Commit

Permalink
Migration from jupyter-widget 7.x to 8.x and from jupyter-packaging t…
Browse files Browse the repository at this point in the history
…o hatch-jupyter-builder

Signed-off-by: Kento Tarui <[email protected]>
  • Loading branch information
kt12321 committed Aug 29, 2024
1 parent cf655b0 commit f2e29ea
Show file tree
Hide file tree
Showing 70 changed files with 76 additions and 75 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(The MIT License)

Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ Below projects use `here-map-widget-for-jupyter` as plotting backend

## License

Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.

Unless otherwise noted in `LICENSE` files for specific directories, the [LICENSE](https://github.com/heremaps/here-map-widget-for-jupyter/raw/master/LICENSE) in the root applies to all content in this repository.
3 changes: 2 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ This document describes the release process of here-map-widget-for-jupyter, and

The following are mandatory pre-release steps to bring the repository into a proper shape:

- Update version in [here_map_widget/_version.py](here_map_widget/_version.py) as desired.
- Update versions in [pyproject.toml](pyproject.toml)
- Update versions in [here_map_widget/_version.py](here_map_widget/_version.py) as desired.
- Update [js/package.json](js/package.json) with new npm package version.
- Make sure all tests listed in `CONTRIBUTING.md` pass successfully.
- Make sure badges appear as expected in the [README.md on GitHub](https://github.com/heremaps/here-map-widget-for-jupyter/blob/master/README.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def setup(app):

# General information about the project.
project = "HERE Map Widget for Jupyter"
copyright = "Copyright (C) 2019-2021 HERE Europe B.V."
copyright = "Copyright (C) 2019-2024 HERE Europe B.V."
author = "HERE Europe B.V."

exclude_patterns = []
Expand Down
2 changes: 1 addition & 1 deletion here_map_widget/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(The MIT License)

Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion here_map_widget/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2019-2021 HERE Europe B.V.
# Copyright (C) 2019-2024 HERE Europe B.V.
# SPDX-License-Identifier: MIT

"""HERE Map Widget for Jupyter - use HERE Maps API for
Expand Down
6 changes: 3 additions & 3 deletions here_map_widget/_version.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright (C) 2019-2021 HERE Europe B.V.
# Copyright (C) 2019-2024 HERE Europe B.V.
# SPDX-License-Identifier: MIT

"""Project version information."""

# Module version
version_info = (2, 0, 0)
version_info = (1, 1, 3)

# Module version accessible using here_map_widget.__version__
__version__ = "%s.%s.%s" % (
Expand All @@ -13,4 +13,4 @@
version_info[2],
)

EXTENSION_VERSION = "^2.0.0"
EXTENSION_VERSION = "^1.1.3"
2 changes: 1 addition & 1 deletion here_map_widget/configs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2019-2021 HERE Europe B.V.
# Copyright (C) 2019-2024 HERE Europe B.V.
# SPDX-License-Identifier: MIT

"""
Expand Down
2 changes: 1 addition & 1 deletion here_map_widget/map.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2019-2021 HERE Europe B.V.
# Copyright (C) 2019-2024 HERE Europe B.V.
# SPDX-License-Identifier: MIT

"""
Expand Down
2 changes: 1 addition & 1 deletion js/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(The MIT License)

Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Package Install
- [node](http://nodejs.org/)

```bash
npm config set @here:registry https://repo.platform.here.com/artifactory/api/npm/maps-api-for-javascript
yarn config set @here:registry https://repo.platform.here.com/artifactory/api/npm/maps-api-for-javascript

npm install --save @here/map-widget-for-jupyter
yarn add @here/map-widget-for-jupyter
```
2 changes: 1 addition & 1 deletion js/lib/Map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const widgets = require('@jupyter-widgets/base');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/Control.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const widgets = require('@jupyter-widgets/base');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/DistanceMeasurementControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/FullscreenControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/LayersControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/MapSettingsControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/ScaleBar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/SearchControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/SplitMapControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/WidgetControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/ZoomControl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/control/ZoomRectangle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const control = require('./Control.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/element/Element.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const widgets = require('@jupyter-widgets/base');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/element/InfoBubble.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const element = require('./Element.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/element/Style.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const element = require('./Element.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/embed.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion js/lib/extension.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/Geometry.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const widgets = require('@jupyter-widgets/base');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/LineString.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const geometry = require('./Geometry.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/MultiLineString.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const geometry = require('./Geometry.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/MultiPolygon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const geometry = require('./Geometry.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/Point.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const geometry = require('./Geometry.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/Polygon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const geometry = require('./Geometry.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/Rect.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const geometry = require('./Geometry.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/geometrys/WKT.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const geometry = require('./Geometry.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion js/lib/jupyter-map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion js/lib/labplugin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion js/lib/layers/GeoJSON.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const layer = require('./Layer.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/layers/Kml.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const layer = require('./Layer.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/layers/Layer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const widgets = require('@jupyter-widgets/base');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/layers/ObjectLayer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const layer = require('./Layer.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/layers/TileLayer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const layer = require('./Layer.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/notebook.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/

Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/Circle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/DomIcon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/DomMarker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/Group.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/Icon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/Marker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/Object.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const widgets = require('@jupyter-widgets/base');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/Overlay.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
2 changes: 1 addition & 1 deletion js/lib/objects/Polygon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2019-2021 HERE Europe B.V.
Copyright (C) 2019-2024 HERE Europe B.V.
SPDX-License-Identifier: MIT
*/
const object = require('./Object.js');
Expand Down
Loading

0 comments on commit f2e29ea

Please sign in to comment.