Repository navigation
ENH: Added utility functions to create frozen datasets - #42
Merged
Merged
Conversation
pastewka
marked this pull request as draft
December 7, 2025 21:38
…en freezes upon confirming upload
…age when running `freeze_with_manifest`
pastewka
marked this pull request as ready for review
December 8, 2025 21:29
…tive error on copy_resume without frozen_at, with tests
jotelha
added a commit
that referenced
this pull request
Jun 16, 2026
Re-applies the PR #43 modernization on top of the current master, which has since adopted the flit_scm build system (PR #42). Keeps flit; layers on the source/tooling cleanups that master does not yet have. Bugs: - write_config_value_to_file set 0o700 permissions despite documenting 0o600; now sets 0o600 via stat constants - migrate deprecated datetime.utcnow()/utcfromtimestamp() (including the new freeze_with_manifest code) to timezone-aware equivalents; utils.timestamp() treats naive datetimes as UTC and accepts aware ones Removals: - Python 2 import shims (urlparse, importlib_metadata fallbacks) - redundant requirements.txt (tox.ini no longer references it) Tooling: - replace flake8 with ruff (config in pyproject, lint extra, .pre-commit-config.yaml); rewrite raise(Error()) -> raise Error() throughout, including the raise() added by PR #42 - update tox (py39..py314, lint) and the GitHub Actions workflow (ruff step, .[test,lint] install) - super(Cls, self) -> super(); drop (object) base classes - refresh README supported-versions, CHANGELOG, .gitignore; add CLAUDE.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements:
freeze_with_manifestmethod that does not generate the manifest. It is used in dserver to write manifests for uploads. Manifest hashes must there be computed by the client to avoid (expensive) recomputation in the server.flitmigration (a simple no hassles modern build system for pure Python code)