X Tutup
Skip to content

skpkg: run package update on the repository and support python 3.14 while dropping 3.11#162

Merged
sbillinge merged 4 commits intodiffpy:migrationfrom
zmx27:package-update
Mar 26, 2026
Merged

skpkg: run package update on the repository and support python 3.14 while dropping 3.11#162
sbillinge merged 4 commits intodiffpy:migrationfrom
zmx27:package-update

Conversation

@zmx27
Copy link
Copy Markdown
Contributor

@zmx27 zmx27 commented Mar 26, 2026

Closes #145

@zmx27
Copy link
Copy Markdown
Contributor Author

zmx27 commented Mar 26, 2026

@sbillinge ready for review. I also ran pre-commit with the newly added docformatter lines into the repo.

Copy link
Copy Markdown
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

Looks great. Please see comments

"m2r2",
]

autodoc_mock_imports = [
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 am guessing we may need to keep this unless there is a reason you think not

# |version| and |release|, also used in various other places throughout the
# built documents.

fullversion = version(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.

Please check that full version is getting defined somewhere

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, fullversion is being defined at the top of the file in the following code snippet:

# Attempt to import the version dynamically from GitHub tag.
try:
    fullversion = version("diffpy.pdffit2")
except Exception:
    fullversion = "No version found. The correct version will appear in the released version."  # noqa: E501

[tool.codespell]
exclude-file = ".codespell/ignore_lines.txt"
ignore-words = ".codespell/ignore_words.txt"
skip = "*.cif,*.dat,*.cc,*.h"
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.

We probably want to keep the .cc and .h here

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.

Is this line deleted? We don't want it?

@zmx27
Copy link
Copy Markdown
Contributor Author

zmx27 commented Mar 26, 2026

@sbillinge ready for review.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.97%. Comparing base (45d87f5) to head (94cabbe).
⚠️ Report is 5 commits behind head on migration.

Additional details and impacted files
@@            Coverage Diff             @@
##           migration     #162   +/-   ##
==========================================
  Coverage      98.97%   98.97%           
==========================================
  Files              6        6           
  Lines           1270     1270           
==========================================
  Hits            1257     1257           
  Misses            13       13           
Files with missing lines Coverage Δ
tests/test_exceptions.py 99.80% <ø> (ø)
tests/test_pdffit.py 99.76% <ø> (ø)
tests/test_shape_factors.py 99.53% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbillinge sbillinge merged commit 85eeade into diffpy:migration Mar 26, 2026
6 checks passed
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

X Tutup