Skip to content

Update copyright header end year to 2026#371

Merged
mdickinson merged 1 commit into
mainfrom
update-copyright-header-2026
Jul 8, 2026
Merged

Update copyright header end year to 2026#371
mdickinson merged 1 commit into
mainfrom
update-copyright-header-2026

Conversation

@mdickinson

@mdickinson mdickinson commented Jul 8, 2026

Copy link
Copy Markdown
Member

Bump the copyright end year from 2025 to 2026 across the source tree, and update EXPECTED_COPYRIGHT_END_YEAR in etstool.py to match.

This is the follow-up to #370: it brings the copyright headers up to the current year, which makes the non-blocking strict-style check pass again. The merge-blocking check continues to use EXPECTED_COPYRIGHT_END_YEAR (now 2026).

Every changed line is a pure 20252026 bump, preserving each file's original start year. The changes fall into these categories:

  • Copyright headers at the top of 155 files (-2025 Enthought, Inc.-2026 Enthought, Inc.) — at line 1 for .py files, and at line 2 for the two Sphinx apidoc templates docs/source/api/templates/module.rst_t and package.rst_t.
  • setup.py: both the file header and the second copyright header inside VERSION_FILE_TEMPLATE (used to generate apptools/version.py).
  • docs/source/conf.py: the file header plus the Sphinx copyright variable ('2008-2025, Enthought''2008-2026, Enthought'), which uses a different format from the standard header.
  • etstool.py: the file header plus EXPECTED_COPYRIGHT_END_YEAR = 2026.

Verified locally that flake8 --select H102 reports no findings across the tracked source tree.

🤖 Generated with Claude Code

Bump the copyright end year from 2025 to 2026 across the source tree, and
update EXPECTED_COPYRIGHT_END_YEAR in etstool.py to match. This makes the
strict style check (which uses the current year) pass again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates copyright headers across the repository to use an end year of 2026, and updates the merge-blocking style-check configuration (EXPECTED_COPYRIGHT_END_YEAR) to match, aligning with the workflow change introduced in #370.

Changes:

  • Bump copyright header end year from 2025 → 2026 across the source tree (preserving start years).
  • Update setup.py’s VERSION_FILE_TEMPLATE header end year to 2026.
  • Set EXPECTED_COPYRIGHT_END_YEAR = 2026 in etstool.py for the merge-blocking H102 check.

Reviewed changes

Copilot reviewed 155 out of 155 changed files in this pull request and generated no comments.

Show a summary per file
File Description
setup.py Updates header and the autogenerated VERSION_FILE_TEMPLATE header to end in 2026.
integrationtests/persistence/update3.py Updates copyright header end year to 2026.
integrationtests/persistence/update2.py Updates copyright header end year to 2026.
integrationtests/persistence/update1.py Updates copyright header end year to 2026.
integrationtests/persistence/test_persistence.py Updates copyright header end year to 2026.
examples/preferences/preferences_manager.py Updates copyright header end year to 2026.
examples/naming/simple.py Updates copyright header end year to 2026.
etstool.py Updates header and bumps EXPECTED_COPYRIGHT_END_YEAR to 2026 for merge-blocking style checks.
docs/source/conf.py Updates header and Sphinx copyright string to end in 2026.
docs/source/api/templates/package.rst_t Updates template copyright header end year to 2026.
docs/source/api/templates/module.rst_t Updates template copyright header end year to 2026.
apptools/undo/action/init.py Updates copyright header end year to 2026.
apptools/undo/init.py Updates copyright header end year to 2026.
apptools/type_registry/type_registry.py Updates copyright header end year to 2026.
apptools/type_registry/tests/test_type_registry.py Updates copyright header end year to 2026.
apptools/type_registry/tests/test_lazy_registry.py Updates copyright header end year to 2026.
apptools/type_registry/tests/dummies.py Updates copyright header end year to 2026.
apptools/type_registry/tests/init.py Updates copyright header end year to 2026.
apptools/type_registry/api.py Updates copyright header end year to 2026.
apptools/type_registry/init.py Updates copyright header end year to 2026.
apptools/selection/tests/test_selection_service.py Updates copyright header end year to 2026.
apptools/selection/tests/test_list_selection.py Updates copyright header end year to 2026.
apptools/selection/tests/init.py Updates copyright header end year to 2026.
apptools/selection/selection_service.py Updates copyright header end year to 2026.
apptools/selection/list_selection.py Updates copyright header end year to 2026.
apptools/selection/i_selection.py Updates copyright header end year to 2026.
apptools/selection/i_selection_provider.py Updates copyright header end year to 2026.
apptools/selection/errors.py Updates copyright header end year to 2026.
apptools/selection/api.py Updates copyright header end year to 2026.
apptools/selection/init.py Updates copyright header end year to 2026.
apptools/scripting/util.py Updates copyright header end year to 2026.
apptools/scripting/tests/test_recorder.py Updates copyright header end year to 2026.
apptools/scripting/tests/init.py Updates copyright header end year to 2026.
apptools/scripting/recorder.py Updates copyright header end year to 2026.
apptools/scripting/recorder_with_ui.py Updates copyright header end year to 2026.
apptools/scripting/recordable.py Updates copyright header end year to 2026.
apptools/scripting/package_globals.py Updates copyright header end year to 2026.
apptools/scripting/api.py Updates copyright header end year to 2026.
apptools/scripting/init.py Updates copyright header end year to 2026.
apptools/preferences/ui/widget_editor.py Updates copyright header end year to 2026.
apptools/preferences/ui/tree_item.py Updates copyright header end year to 2026.
apptools/preferences/ui/tests/test_preferences_page.py Updates copyright header end year to 2026.
apptools/preferences/ui/tests/init.py Updates copyright header end year to 2026.
apptools/preferences/ui/preferences_page.py Updates copyright header end year to 2026.
apptools/preferences/ui/preferences_node.py Updates copyright header end year to 2026.
apptools/preferences/ui/preferences_manager.py Updates copyright header end year to 2026.
apptools/preferences/ui/i_preferences_page.py Updates copyright header end year to 2026.
apptools/preferences/ui/api.py Updates copyright header end year to 2026.
apptools/preferences/ui/init.py Updates copyright header end year to 2026.
apptools/preferences/tests/test_scoped_preferences.py Updates copyright header end year to 2026.
apptools/preferences/tests/test_py_config_file.py Updates copyright header end year to 2026.
apptools/preferences/tests/test_preferences.py Updates copyright header end year to 2026.
apptools/preferences/tests/test_preferences_helper.py Updates copyright header end year to 2026.
apptools/preferences/tests/test_preference_binding.py Updates copyright header end year to 2026.
apptools/preferences/tests/py_config_file.py Updates copyright header end year to 2026.
apptools/preferences/tests/init.py Updates copyright header end year to 2026.
apptools/preferences/scoped_preferences.py Updates copyright header end year to 2026.
apptools/preferences/preferences.py Updates copyright header end year to 2026.
apptools/preferences/preferences_helper.py Updates copyright header end year to 2026.
apptools/preferences/preference_binding.py Updates copyright header end year to 2026.
apptools/preferences/package_globals.py Updates copyright header end year to 2026.
apptools/preferences/i_preferences.py Updates copyright header end year to 2026.
apptools/preferences/api.py Updates copyright header end year to 2026.
apptools/preferences/init.py Updates copyright header end year to 2026.
apptools/persistence/versioned_unpickler.py Updates copyright header end year to 2026.
apptools/persistence/version_registry.py Updates copyright header end year to 2026.
apptools/persistence/updater.py Updates copyright header end year to 2026.
apptools/persistence/tests/test_version_registry.py Updates copyright header end year to 2026.
apptools/persistence/tests/test_two_stage_unpickler.py Updates copyright header end year to 2026.
apptools/persistence/tests/test_state_pickler.py Updates copyright header end year to 2026.
apptools/persistence/tests/test_state_function.py Updates copyright header end year to 2026.
apptools/persistence/tests/test_file_path.py Updates copyright header end year to 2026.
apptools/persistence/tests/test_class_mapping.py Updates copyright header end year to 2026.
apptools/persistence/tests/state_function_classes.py Updates copyright header end year to 2026.
apptools/persistence/tests/init.py Updates copyright header end year to 2026.
apptools/persistence/state_pickler.py Updates copyright header end year to 2026.
apptools/persistence/project_loader.py Updates copyright header end year to 2026.
apptools/persistence/file_path.py Updates copyright header end year to 2026.
apptools/persistence/init.py Updates copyright header end year to 2026.
apptools/naming/unique_name.py Updates copyright header end year to 2026.
apptools/naming/trait_defs/naming_traits.py Updates copyright header end year to 2026.
apptools/naming/trait_defs/api.py Updates copyright header end year to 2026.
apptools/naming/trait_defs/init.py Updates copyright header end year to 2026.
apptools/naming/tests/test_pyfs_context.py Updates copyright header end year to 2026.
apptools/naming/tests/test_py_context.py Updates copyright header end year to 2026.
apptools/naming/tests/test_object_serializer.py Updates copyright header end year to 2026.
apptools/naming/tests/test_dir_context.py Updates copyright header end year to 2026.
apptools/naming/tests/test_context.py Updates copyright header end year to 2026.
apptools/naming/tests/init.py Updates copyright header end year to 2026.
apptools/naming/state_factory.py Updates copyright header end year to 2026.
apptools/naming/referenceable.py Updates copyright header end year to 2026.
apptools/naming/referenceable_state_factory.py Updates copyright header end year to 2026.
apptools/naming/reference.py Updates copyright header end year to 2026.
apptools/naming/pyfs_state_factory.py Updates copyright header end year to 2026.
apptools/naming/pyfs_object_factory.py Updates copyright header end year to 2026.
apptools/naming/pyfs_initial_context_factory.py Updates copyright header end year to 2026.
apptools/naming/pyfs_context.py Updates copyright header end year to 2026.
apptools/naming/pyfs_context_factory.py Updates copyright header end year to 2026.
apptools/naming/py_object_factory.py Updates copyright header end year to 2026.
apptools/naming/py_context.py Updates copyright header end year to 2026.
apptools/naming/object_serializer.py Updates copyright header end year to 2026.
apptools/naming/object_factory.py Updates copyright header end year to 2026.
apptools/naming/naming_manager.py Updates copyright header end year to 2026.
apptools/naming/naming_event.py Updates copyright header end year to 2026.
apptools/naming/initial_context.py Updates copyright header end year to 2026.
apptools/naming/initial_context_factory.py Updates copyright header end year to 2026.
apptools/naming/exception.py Updates copyright header end year to 2026.
apptools/naming/dynamic_context.py Updates copyright header end year to 2026.
apptools/naming/dir_context.py Updates copyright header end year to 2026.
apptools/naming/context.py Updates copyright header end year to 2026.
apptools/naming/binding.py Updates copyright header end year to 2026.
apptools/naming/api.py Updates copyright header end year to 2026.
apptools/naming/address.py Updates copyright header end year to 2026.
apptools/naming/init.py Updates copyright header end year to 2026.
apptools/logger/ring_buffer.py Updates copyright header end year to 2026.
apptools/logger/plugin/view/logger_view.py Updates copyright header end year to 2026.
apptools/logger/plugin/view/logger_preferences_page.py Updates copyright header end year to 2026.
apptools/logger/plugin/view/init.py Updates copyright header end year to 2026.
apptools/logger/plugin/tests/test_logger_service.py Updates copyright header end year to 2026.
apptools/logger/plugin/tests/init.py Updates copyright header end year to 2026.
apptools/logger/plugin/logger_service.py Updates copyright header end year to 2026.
apptools/logger/plugin/logger_preferences.py Updates copyright header end year to 2026.
apptools/logger/plugin/logger_plugin.py Updates copyright header end year to 2026.
apptools/logger/plugin/init.py Updates copyright header end year to 2026.
apptools/logger/logger.py Updates copyright header end year to 2026.
apptools/logger/log_queue_handler.py Updates copyright header end year to 2026.
apptools/logger/log_point.py Updates copyright header end year to 2026.
apptools/logger/custom_excepthook.py Updates copyright header end year to 2026.
apptools/logger/api.py Updates copyright header end year to 2026.
apptools/logger/agent/tests/test_attachments.py Updates copyright header end year to 2026.
apptools/logger/agent/tests/init.py Updates copyright header end year to 2026.
apptools/logger/agent/quality_agent_view.py Updates copyright header end year to 2026.
apptools/logger/agent/quality_agent_mailer.py Updates copyright header end year to 2026.
apptools/logger/agent/attachments.py Updates copyright header end year to 2026.
apptools/logger/agent/init.py Updates copyright header end year to 2026.
apptools/logger/init.py Updates copyright header end year to 2026.
apptools/io/tests/test_folder.py Updates copyright header end year to 2026.
apptools/io/tests/test_file.py Updates copyright header end year to 2026.
apptools/io/tests/init.py Updates copyright header end year to 2026.
apptools/io/h5/utils.py Updates copyright header end year to 2026.
apptools/io/h5/tests/utils.py Updates copyright header end year to 2026.
apptools/io/h5/tests/test_table_node.py Updates copyright header end year to 2026.
apptools/io/h5/tests/test_file.py Updates copyright header end year to 2026.
apptools/io/h5/tests/test_dict_node.py Updates copyright header end year to 2026.
apptools/io/h5/tests/init.py Updates copyright header end year to 2026.
apptools/io/h5/table_node.py Updates copyright header end year to 2026.
apptools/io/h5/file.py Updates copyright header end year to 2026.
apptools/io/h5/dict_node.py Updates copyright header end year to 2026.
apptools/io/h5/init.py Updates copyright header end year to 2026.
apptools/io/file.py Updates copyright header end year to 2026.
apptools/io/api.py Updates copyright header end year to 2026.
apptools/io/init.py Updates copyright header end year to 2026.
apptools/_testing/optional_dependencies.py Updates copyright header end year to 2026.
apptools/_testing/init.py Updates copyright header end year to 2026.
apptools/init.py Updates copyright header end year to 2026.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mdickinson

Copy link
Copy Markdown
Member Author

Mostly trivial change; CI is green. Self-merging.

@mdickinson
mdickinson merged commit 2e06c42 into main Jul 8, 2026
26 checks passed
@mdickinson
mdickinson deleted the update-copyright-header-2026 branch July 8, 2026 08:17
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