Skip to content

Commit

Permalink
Release commit created with Cranko.
Browse files Browse the repository at this point in the history
+++ cranko-release-info-v1
[[projects]]
qnames = ["pywwt", "npm"]
version = "1.7.0"
age = 0

[[projects]]
qnames = ["pywwt", "pypa"]
version = "0.23.0"
age = 0

+++
  • Loading branch information
cranko committed Nov 28, 2023
2 parents 2031501 + 7b934e4 commit 3f7b793
Show file tree
Hide file tree
Showing 10 changed files with 226 additions and 165 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# pypa:pywwt 0.23.0 (2023-11-28)

- Update the Jupyter widget implementation to use ES6 class syntax (#368,
@Carifio24). This should fix up compatibility with the 8.x series of
`ipywidgets`.

We have temporarily disabled DOI registration with this release (#369, @pkgw).
The associated release artifacts will report (obviously) bogus DOIs. This is due
to a recent major update to Zenodo, which seems to have broken their APIs. Our
Cranko release automation tool has not yet been updated to handle the new
system. We intend to address that soon, but we have internal motivations to get
this release out soon (see above), so we are going ahead without the Zenodo
deposition.


# pypa:pywwt 0.22.0 (2023-09-15)

- When using the bundled version of the WWT research app, make sure that we pull
Expand Down
23 changes: 21 additions & 2 deletions ci/azure-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,31 @@ jobs:
parameters:
setupBuild: true

# We install some extra deps here to make the docs build happy (it needs to
# import everything) while avoiding clashes between Conda and pip.
- bash: |
set -euo pipefail
source activate-conda.sh
set -x
\conda create -y -n build setuptools matplotlib pip pyopengl 'pyqt>=5.12' pyqtwebengine python=3.9 qtpy scipy shapely
\conda create -y -n build \
astropy \
astropy-sphinx-theme \
ipykernel \
jupyter_sphinx \
matplotlib \
nbclassic \
numpydoc \
pip \
pyopengl \
'pyqt>=5.12' \
pyqtwebengine \
python=3.9 \
qtpy \
scipy \
setuptools \
shapely \
sphinx \
sphinx-automodapi
conda activate build
pip install $BASH_WORKSPACE/sdist/*.tar.gz
displayName: Install from sdist
Expand All @@ -230,7 +250,6 @@ jobs:
source activate-conda.sh
conda activate build
set -x
\conda install -y astropy astropy-sphinx-theme ipykernel jupyter_sphinx nbclassic numpydoc sphinx sphinx-automodapi
cd docs
make html
displayName: Build docs
Expand Down
62 changes: 32 additions & 30 deletions ci/azure-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,33 +111,35 @@ jobs:
- bash: shred ~/.npmrc
displayName: Clean up credentials

- job: zenodo_publish
pool:
vmImage: ubuntu-latest
variables:
- group: Deployment Credentials

steps:
- template: azure-job-setup.yml
parameters:
setupCranko: true

- bash: |
set -xeuo pipefail
if cranko show if-released --exit-code pypa:pywwt ; then
cranko zenodo upload-artifacts --metadata=ci/zenodo.json5 $BASH_WORKSPACE/sdist/*.tar.gz
fi
displayName: Upload source tarball
env:
ZENODO_TOKEN: $(ZENODO_TOKEN)
- bash: |
set -xeuo pipefail
if cranko show if-released --exit-code pypa:pywwt ; then
cranko zenodo publish --metadata=ci/zenodo.json5
fi
displayName: Publish to Zenodo
env:
ZENODO_TOKEN: $(ZENODO_TOKEN)
# 2023 Nov: temporarily disabling Zenodo; they have just updated their API and broken
# everything, and we want to ge a release out.
#- job: zenodo_publish
# pool:
# vmImage: ubuntu-latest
# variables:
# - group: Deployment Credentials
#
# steps:
# - template: azure-job-setup.yml
# parameters:
# setupCranko: true
#
# - bash: |
# set -xeuo pipefail
#
# if cranko show if-released --exit-code pypa:pywwt ; then
# cranko zenodo upload-artifacts --metadata=ci/zenodo.json5 $BASH_WORKSPACE/sdist/*.tar.gz
# fi
# displayName: Upload source tarball
# env:
# ZENODO_TOKEN: $(ZENODO_TOKEN)
#
# - bash: |
# set -xeuo pipefail
#
# if cranko show if-released --exit-code pypa:pywwt ; then
# cranko zenodo publish --metadata=ci/zenodo.json5
# fi
# displayName: Publish to Zenodo
# env:
# ZENODO_TOKEN: $(ZENODO_TOKEN)
14 changes: 8 additions & 6 deletions ci/azure-sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ jobs:
- bash: cranko release-workflow apply-versions
displayName: Apply Cranko versions

- bash: |
cranko zenodo preregister --metadata=ci/zenodo.json5 pypa:pywwt pywwt/_version.py CHANGELOG.md
displayName: "Preregister Zenodo DOI"
${{ if and(eq(variables['Build.SourceBranchName'], 'rc'), ne(variables['build.reason'], 'PullRequest')) }}:
env:
ZENODO_TOKEN: $(ZENODO_TOKEN)
# 2023 Nov: temporarily disabling Zenodo; they have just updated their API and broken
# everything, and we want to ge a release out.
# - bash: |
# cranko zenodo preregister --metadata=ci/zenodo.json5 pypa:pywwt pywwt/_version.py CHANGELOG.md
# displayName: "Preregister Zenodo DOI"
# ${{ if and(eq(variables['Build.SourceBranchName'], 'rc'), ne(variables['build.reason'], 'PullRequest')) }}:
# env:
# ZENODO_TOKEN: $(ZENODO_TOKEN)

- bash: |
set -xeuo pipefail
Expand Down
112 changes: 62 additions & 50 deletions ci/zenodo.json5
Original file line number Diff line number Diff line change
@@ -1,73 +1,85 @@
// See https://pkgw.github.io/cranko/book/latest/integrations/zenodo.html
// and https://developers.zenodo.org/#representation

{
"conceptrecid": "7164147",
"metadata": {
"access_right": "open",
"creators": [
conceptrecid: '7164147',

metadata: {
upload_type: 'software',
language: 'eng',

// ** Keep this alphabetical by family name!!! **
creators: [
{
"affiliation": "Center for Astrophysics | Harvard & Smithsonian",
"name": "Carifio, Jonathan",
"orcid": "0000-0002-7759-2601"
affiliation: 'Center for Astrophysics | Harvard & Smithsonian',
name: 'Carifio, Jonathan',
orcid: '0000-0002-7759-2601',
},
{
"affiliation": "Heidelberg Institute for Theoretical Studies",
"name": "Gaibler, Volker",
"orcid": "0000-0001-7581-7574"
affiliation: 'Heidelberg Institute for Theoretical Studies',
name: 'Gaibler, Volker',
orcid: '0000-0001-7581-7574',
},
{
"affiliation": "Aperio Software",
"name": "Homeier, Derek",
"orcid": "0000-0002-8546-9128"
affiliation: 'Aperio Software',
name: 'Homeier, Derek',
orcid: '0000-0002-8546-9128',
},
{
"affiliation": "Winter Way",
"name": "Norman, Henrik",
"orcid": "0000-0003-4189-3450"
affiliation: 'Winter Way',
name: 'Norman, Henrik',
orcid: '0000-0003-4189-3450',
},
{
"affiliation": "Space Telescope Science Institute",
"name": "Otor, O. Justin",
"orcid": "0000-0002-4679-5692"
affiliation: 'Space Telescope Science Institute',
name: 'Otor, O. Justin',
orcid: '0000-0002-4679-5692',
},
{
"affiliation": "Aperio Software",
"name": "Robitaille, Thomas P.",
"orcid": "0000-0002-8642-1329"
affiliation: 'Aperio Software',
name: 'Robitaille, Thomas P.',
orcid: '0000-0002-8642-1329',
},
{
"name": "Subbarao, Jeffrey"
name: 'Subbarao, Jeffrey',
},
{
"affiliation": "Center for Astrophysics | Harvard & Smithsonian",
"name": "Williams, Peter K. G.",
"orcid": "0000-0003-3734-3587"
affiliation: 'Center for Astrophysics | Harvard & Smithsonian',
name: 'Williams, Peter K. G.',
orcid: '0000-0003-3734-3587',
},
{
"affiliation": "Center for Astrophysics | Harvard & Smithsonian",
"name": "ZuHone, John",
"orcid": "0000-0003-3175-2347"
}
affiliation: 'Center for Astrophysics | Harvard & Smithsonian',
name: 'ZuHone, John',
orcid: '0000-0003-3175-2347',
},
],
"description": "pywwt is the official toolkit for accessing WorldWide Telescope (WWT) from Python. Learn more at <a href=\"https://pywwt.readthedocs.io/\">the pywwt website</a>.",
"grants": [
{
"id": "10.13039/100000001::1550701"
}

// Subset of HTML allowed here:
description: 'pywwt is the official toolkit for accessing WorldWide \
Telescope (WWT) from Python. Learn more at <a href="https://pywwt.readthedocs.io/">the pywwt website</a>.',

access_right: 'open',
license: 'BSD-3-Clause', // see https://spdx.org/licenses/

grants: [
// National Science Foundation:
{id: '10.13039/100000001::1550701'},

// As of 2022 August these grants are not in the OpenAIRE "Research Graph"
// and so Zenodo won't let us record them here. Test existence by
// GET'ing `https://zenodo.org/api/grants/$id`.
//
//{id: '10.13039/100000001::1642446'},
//{id: '10.13039/100000001::2004840'},
],
"keywords": [
"Astronomy",
"Python",
"Visualization",
"WorldWide Telescope"

// Keywords use an uncontrolled vocabulary (and so are of limited usefulness):
keywords: [
'Astronomy',
'Python',
'Visualization',
'WorldWide Telescope',
],
"language": "eng",
"license": "BSD-3-Clause",
"publication_date": "2023-09-15",
"title": "pypa:pywwt 0.22.0",
"upload_type": "software",
"version": "0.22.0"
},
"conceptdoi": "10.5281/zenodo.7164147",
"record_id": "8350627",
"doi": "10.5281/zenodo.8350627",
"bucket_link": "https://zenodo.org/api/files/4d1eeef7-6d48-44b1-a8eb-ee7127b1eba4"
}
7 changes: 7 additions & 0 deletions frontend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# npm:pywwt 1.7.0 (2023-11-28)

- Update the Jupyter widget implementation to use ES6 class syntax (#368,
@Carifio24). This should fix up compatibility with the 8.x series of
`ipywidgets`.


# npm:pywwt 1.6.0 (2023-09-15)

- Require the new ESM-based engine through the 0.16.x series of the research app
Expand Down

0 comments on commit 3f7b793

Please sign in to comment.