skpkg: setup CI after migrating tests, src, requirements, and .github folder by zmx27 · Pull Request #12 · diffpy/diffpy.srxconfutils · GitHub
Skip to content

skpkg: setup CI after migrating tests, src, requirements, and .github folder#12

Merged
sbillinge merged 8 commits into
diffpy:migrationfrom
zmx27:setup-CI
Sep 24, 2025
Merged

skpkg: setup CI after migrating tests, src, requirements, and .github folder#12
sbillinge merged 8 commits into
diffpy:migrationfrom
zmx27:setup-CI

Conversation

@zmx27

@zmx27 zmx27 commented Sep 21, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a private package that we are not releasing on PyPI/CF, I just copied the build-wheel file from pdfgetx but with some minor modifications. Let me know if you want any of this changed.

@@ -0,0 +1,163 @@
name: Release on GitHub

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here.

Comment thread requirements/pip.txt
@@ -1,4 +1,3 @@
numpy
configparser

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is built in for python 3.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in that case, let's make sure we remove any imports of it in the code.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I meant that no additional installations are required as it's built into the Python standard library, but I believe that you still need to import it.

Comment thread src/diffpy/__init__.py Outdated
# All rights reserved.
#
# File coded by: Xiaohao Yang
# File coded by: Billinge Group members and community contributors.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I revert this back to Xiaohao Yang?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do both. So Xiahao Yang and Billinge group...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zmx27 please respond to all comments to make it easier for me to see how you responded.

@zmx27

zmx27 commented Sep 21, 2025

Copy link
Copy Markdown
Collaborator Author

@sbillinge ready for review

@sbillinge sbillinge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Please see comments and then I can merge. Please can you help the other members of the team when they do this step and give them the same review feedback?

Thanks so much.

Comment thread requirements/pip.txt
@@ -1,4 +1,3 @@
numpy
configparser

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in that case, let's make sure we remove any imports of it in the code.

Comment thread src/diffpy/__init__.py Outdated
# dpx.confutils by Simon J. L. Billinge group
# (c) 2013 Trustees of the Columbia University
# in the City of New York. All rights reserved.
# (c) 2025 The Trustees of Columbia University in the City of New York.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everywhere you have a copyright statement, we need to do the full date-range, so it should be 2013-2025

Comment thread src/diffpy/__init__.py Outdated
# All rights reserved.
#
# File coded by: Xiaohao Yang
# File coded by: Billinge Group members and community contributors.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do both. So Xiahao Yang and Billinge group...

Comment thread src/diffpy/srxconfutils/__init__.py Outdated
# dpx.confutils by Simon J. L. Billinge group
# (c) 2013 Trustees of the Columbia University
# in the City of New York. All rights reserved.
# (c) 2025 The Trustees of Columbia University in the City of New York.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see above for how to handle this statement at the top of the files.

Comment thread src/diffpy/srxconfutils/__init__.py Outdated
# See LICENSE.rst for license information.
#
##############################################################################
"""Configuration utilities for dpx project.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it won't be called dpx any more. Just delete dpx here I think.

@zmx27

zmx27 commented Sep 23, 2025

Copy link
Copy Markdown
Collaborator Author

@sbillinge ready for review

@sbillinge sbillinge merged commit 8092064 into diffpy:migration Sep 24, 2025
@sbillinge

Copy link
Copy Markdown
Contributor

@sbillinge sbillinge deleted the setup-CI branch September 24, 2025 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants