Skip to content

Update cogent3 requirement from >=2026.11.5 to >=2026.11.13 - #127

Closed
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/cogent3-gte-2026.11.13
Closed

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/cogent3-gte-2026.11.13

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 22, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on cogent3 to permit the latest version.

Changelog

Sourced from cogent3's changelog.

Changes in release "2026.11.13"

API

  • Sequences have a metadata attribute, a mutable mapping that supports nested indexing (seq.metadata["p"]["m"]) and attribute access (seq.metadata.p.m). A sequence derived from another one (e.g. slicing, rc(), degap()) gets its own copy. Keys must be strings at every depth, including in dicts inside lists. Any other key type raises TypeError.
  • .metadata is a MetaData, not a dict. It equals only another MetaData with the same contents. Nested dicts come back as MetaData too, so aln.metadata["align_params"] == {...} is False. Compare aln.metadata["align_params"].to_dict() instead.
  • MetaData differs from the Info object that .info used to return. Reading or deleting a missing key raises KeyError, where info["x"] returned None and del info["x"] did nothing. Reading a missing attribute raises AttributeError, where info.x returned None. Use md.get("x") to get None for a missing key.
  • Sequence.to_rich_dict() writes a "metadata" key in place of "info", and includes a non-empty Refs, which it previously dropped. It no longer removes Refs from the sequence itself. from_rich_dict still reads the old "info" key.
  • SequenceCollection and Alignment have a metadata attribute, a mutable mapping that reads any metadata the storage holds and keeps changes local to the collection. Views (take_seqs(), slicing, rc() and the like) and derived collections (degap(), get_translation(), add_seqs()) get their own copy, so changing it no longer changes the original. The dict passed as metadata= is copied and no longer has "source" removed from it.
  • Metadata does not affect == between collections.
  • to_rich_dict() of a collection writes a "metadata" key in place of "info". from_rich_dict can still read the old "info" key.
  • load_seq, load_unaligned_seqs and load_aligned_seqs take a metadata argument. load_seq no longer adds "source" to the dict passed to it.
  • A collection's .source is metadata["source"]. It is None when there is no source, where it used to be "unknown". Setting it to None removes it. Old JSON and pickles that record "unknown" load with no source. Views and derived collections, including degap(), keep the source of the collection they were made from.
  • The SequenceCollection and Alignment constructors no longer take source. Use make_unaligned_seqs(source=) or make_aligned_seqs(source=).
  • Because .source can now be None, the writer apps return NotCompleted for data with no source unless given an identifier. Results of the model fitting apps still record "unknown" for such data.
  • New metadata_to_save() on collections returns the metadata a writer saves. For an unchanged copy of a stored file, its "source" is the source that file records, or the file itself, so a saved file always names the original data. Anything else, including the result of rc() or to_moltype(), saves the source of the collection it was made from.
  • Collections loaded from JSON or pickles written by earlier releases no

... (truncated)

Commits
  • af112c5 Merge pull request #2815 from GavinHuttley/develop
  • 9d49811 DEV: bump version to 2026.11.13
  • 6359f2e Merge pull request #2814 from GavinHuttley/develop
  • 3eb2e11 TST: drop the dead info branch and name in the test_io writer tests
  • a14b7d6 TST: pass and read metadata instead of the deprecated info alias
  • 57a344b BUG: clean up a sequence or collection whose constructor raised
  • 2be49bc Merge pull request #2813 from GavinHuttley/develop
  • 7edd943 TST: check that a JSON write keeps the collection's metadata
  • b916809 BUG: save a path source as a string so collections export to JSON
  • 9169e5a DOC: give _copy_value a numpydoc docstring
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [cogent3](https://github.com/cogent3/cogent3) to permit the latest version.
- [Release notes](https://github.com/cogent3/cogent3/releases)
- [Changelog](https://github.com/cogent3/cogent3/blob/develop/changelog.md)
- [Commits](cogent3/cogent3@2026.11.5...2026.11.13)

---
updated-dependencies:
- dependency-name: cogent3
  dependency-version: 2026.11.13
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 22, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@dependabot @github

dependabot Bot commented on behalf of github Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pip/cogent3-gte-2026.11.13 branch November 22, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant