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 into
diffpy: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 into
diffpy:migrationfrom
zmx27:package-update

Conversation

@zmx27

@zmx27zmx27 commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Closes#145

@zmx27

Copy link
Copy Markdown
ContributorAuthor

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

@sbillingesbillinge 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.

Looks great. Please see comments

Comment threaddocs/source/conf.py
"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

Comment threaddocs/source/conf.py
# |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
ContributorAuthor

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

Comment threadpyproject.toml
[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
ContributorAuthor

@sbillinge ready for review.

@codecov

codecovBot commented Mar 26, 2026

Copy link
Copy Markdown

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 linesCoverage Δ
tests/test_exceptions.py99.80% <ø> (ø)
tests/test_pdffit.py99.76% <ø> (ø)
tests/test_shape_factors.py99.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:migrationMar 26, 2026
6 checks passed
Sign up for freeto 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

@zmx27@sbillinge