diff --git a/.github/workflows/release-to-pypi.yml b/.github/workflows/release-to-pypi.yml index 44824fc05..fdf3af13c 100644 --- a/.github/workflows/release-to-pypi.yml +++ b/.github/workflows/release-to-pypi.yml @@ -16,16 +16,16 @@ jobs: steps: - name: Check out the release commit - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 with: platforms: arm64 if: runner.os == 'Linux' - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.8' @@ -35,7 +35,7 @@ jobs: python -m pip install twine wheel - name: Build wheels - uses: pypa/cibuildwheel@v2.9.0 + uses: pypa/cibuildwheel@v2.14.1 env: CIBW_SKIP: 'pp*' CIBW_ARCHS_LINUX: "auto aarch64" @@ -55,10 +55,10 @@ jobs: steps: - name: Check out the release commit - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.8' diff --git a/.github/workflows/run-core-traits-tests.yml b/.github/workflows/run-core-traits-tests.yml index 3688286d4..26c65f650 100644 --- a/.github/workflows/run-core-traits-tests.yml +++ b/.github/workflows/run-core-traits-tests.yml @@ -11,14 +11,14 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install local package diff --git a/.github/workflows/run-style-checks.yml b/.github/workflows/run-style-checks.yml index 9f6435eff..82d10f3c7 100644 --- a/.github/workflows/run-style-checks.yml +++ b/.github/workflows/run-style-checks.yml @@ -13,9 +13,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies and local packages diff --git a/.github/workflows/run-traits-tests.yml b/.github/workflows/run-traits-tests.yml index 9f12a3674..ed61ff5bd 100644 --- a/.github/workflows/run-traits-tests.yml +++ b/.github/workflows/run-traits-tests.yml @@ -4,31 +4,37 @@ on: - pull_request - workflow_dispatch +env: + # Temporary workaround prior to release of Traits 8.0 + # xref: enthought/traits#1742 + ETS_QT4_IMPORTS: 1 + jobs: tests: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - name: Install Linux packages for Qt 5 support + - uses: actions/checkout@v3 + - name: Install Linux packages for Qt support run: | sudo apt-get update - sudo apt-get install qt5-default + sudo apt-get install libegl1 sudo apt-get install libxkbcommon-x11-0 + sudo apt-get install libxcb-cursor0 sudo apt-get install libxcb-icccm4 sudo apt-get install libxcb-image0 sudo apt-get install libxcb-keysyms1 sudo apt-get install libxcb-randr0 sudo apt-get install libxcb-render-util0 - sudo apt-get install libxcb-xinerama0 + sudo apt-get install libxcb-shape0 if: matrix.os == 'ubuntu-latest' - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies and local packages @@ -39,13 +45,15 @@ jobs: - name: Create clean test directory run: | mkdir testdir - - name: Test Traits package - uses: GabrielBB/xvfb-action@v1 - with: - working-directory: testdir - run: python -m unittest discover -v traits - - name: Test Traits typing stubs - uses: GabrielBB/xvfb-action@v1 - with: - working-directory: testdir - run: python -m unittest discover -v traits_stubs_tests + - name: Test Traits package (Linux) + run: cd testdir && xvfb-run -a python -m unittest discover -v traits + if: matrix.os == 'ubuntu-latest' + - name: Test Traits package (Windows/macOS) + run: cd testdir && python -m unittest discover -v traits + if: matrix.os != 'ubuntu-latest' + - name: Test Traits typing stubs (Linux) + run: cd testdir && xvfb-run -a python -m unittest discover -v traits_stubs_tests + if: matrix.os == 'ubuntu-latest' + - name: Test Traits typing stubs (Windows/macOS) + run: cd testdir && python -m unittest discover -v traits_stubs_tests + if: matrix.os != 'ubuntu-latest' diff --git a/.github/workflows/test-documentation-build.yml b/.github/workflows/test-documentation-build.yml index 9aa7dd386..c2d122b68 100644 --- a/.github/workflows/test-documentation-build.yml +++ b/.github/workflows/test-documentation-build.yml @@ -13,16 +13,15 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies and local packages run: | python -m pip install --upgrade pip - python -m pip install Sphinx enthought_sphinx_theme sphinx-copybutton - python -m pip install . + python -m pip install ".[docs]" - name: Build HTML documentation with Sphinx run: | cd docs diff --git a/.github/workflows/test-from-pypi.yml b/.github/workflows/test-from-pypi.yml index f94bbd04c..d89e315d0 100644 --- a/.github/workflows/test-from-pypi.yml +++ b/.github/workflows/test-from-pypi.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] python-architecture: [x86, x64] exclude: - os: macos-latest @@ -22,20 +22,21 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Install Linux packages for Qt 5 support + - name: Install Linux packages for Qt support run: | sudo apt-get update - sudo apt-get install qt5-default + sudo apt-get install libegl1 sudo apt-get install libxkbcommon-x11-0 + sudo apt-get install libxcb-cursor0 sudo apt-get install libxcb-icccm4 sudo apt-get install libxcb-image0 sudo apt-get install libxcb-keysyms1 sudo apt-get install libxcb-randr0 sudo apt-get install libxcb-render-util0 - sudo apt-get install libxcb-xinerama0 + sudo apt-get install libxcb-shape0 if: runner.os == 'Linux' - name: Set up Python ${{ matrix.python-version }} (${{ matrix.python-architecture }}) - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} architecture: ${{ matrix.python-architecture }} @@ -48,17 +49,18 @@ jobs: - name: Create clean test directory run: | mkdir testdir - - name: Test Traits package - uses: GabrielBB/xvfb-action@v1 - with: - working-directory: testdir - run: python -m unittest discover -v traits + - name: Test Traits package (Linux) + run: cd testdir && xvfb-run -a python -m unittest discover -v traits + if: matrix.os == 'ubuntu-latest' + - name: Test Traits package (Windows/macOS) + run: cd testdir && python -m unittest discover -v traits + if: matrix.os != 'ubuntu-latest' test-pypi-wheel: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] python-architecture: [x86, x64] exclude: - os: macos-latest @@ -69,20 +71,21 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Install Linux packages for Qt 5 support + - name: Install Linux packages for Qt support run: | sudo apt-get update - sudo apt-get install qt5-default + sudo apt-get install libegl1 sudo apt-get install libxkbcommon-x11-0 + sudo apt-get install libxcb-cursor0 sudo apt-get install libxcb-icccm4 sudo apt-get install libxcb-image0 sudo apt-get install libxcb-keysyms1 sudo apt-get install libxcb-randr0 sudo apt-get install libxcb-render-util0 - sudo apt-get install libxcb-xinerama0 + sudo apt-get install libxcb-shape0 if: runner.os == 'Linux' - name: Set up Python ${{ matrix.python-version }} (${{ matrix.python-architecture }}) - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} architecture: ${{ matrix.python-architecture }} @@ -95,11 +98,12 @@ jobs: - name: Create clean test directory run: | mkdir testdir - - name: Test Traits package - uses: GabrielBB/xvfb-action@v1 - with: - working-directory: testdir - run: python -m unittest discover -v traits + - name: Test Traits package (Linux) + run: cd testdir && xvfb-run -a python -m unittest discover -v traits + if: matrix.os == 'ubuntu-latest' + - name: Test Traits package (Windows/macOS) + run: cd testdir && python -m unittest discover -v traits + if: matrix.os != 'ubuntu-latest' notify-on-failure: needs: [test-pypi-sdist, test-pypi-wheel] diff --git a/CHANGES.rst b/CHANGES.rst index c97d94a21..2908138e8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,21 @@ Traits CHANGELOG ================ +Release 6.4.2 +------------- + +Released: 2023-08-07 + +This is a bugfix release that fixes failing some test failures with the +most recent TraitsUI versions. + +Fixes +~~~~~ +* Replace a deprecated version check for TraitsUI. (#1746) +* Fix a test that fails on warnings other than those directly related to + the test purpose. (#1749) + + Release 6.4.1 ------------- diff --git a/LICENSE.txt b/LICENSE.txt index 3b41cd6ef..2fd29646c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,7 +1,7 @@ This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative. -(C) Copyright 2005-2022 Enthought, Inc., Austin, TX +(C) Copyright 2005-2023 Enthought, Inc., Austin, TX All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.rst b/README.rst index cc6ffa5df..1c00c3c6f 100644 --- a/README.rst +++ b/README.rst @@ -40,7 +40,7 @@ inherited by any subclass derived from the class. Dependencies ------------ -Traits requires Python >= 3.6. +Traits requires Python >= 3.7. Traits has the following optional dependencies: diff --git a/docs/source/conf.py b/docs/source/conf.py index 7d4d2ee7f..b26d390ac 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -62,7 +62,7 @@ # General substitutions. project = "traits" copyright = """\ -(C) Copyright 2005-2022 Enthought, Inc., Austin, TX +(C) Copyright 2005-2023 Enthought, Inc., Austin, TX All rights reserved. """ diff --git a/docs/source/traits_user_manual/index.rst b/docs/source/traits_user_manual/index.rst index 7eea6acee..7f1a7cb18 100644 --- a/docs/source/traits_user_manual/index.rst +++ b/docs/source/traits_user_manual/index.rst @@ -3,7 +3,7 @@ Traits |version| User Manual ============================ :Authors: David C. Morrill, Janet M. Swisher, and Enthought developers -:Copyright: | (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +:Copyright: | (C) Copyright 2005-2023 Enthought, Inc., Austin, TX | All rights reserved. Contents diff --git a/etstool.py b/etstool.py index 5cd34a5cc..6a35e5dbd 100644 --- a/etstool.py +++ b/etstool.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -51,7 +51,7 @@ python etstool.py test-all -Currently supported runtime values are ``3.6``. Not all +The only currently supported runtime values is ``3.8``. Not all combinations of runtimes will work, but the tasks will fail with a clear error if that is the case. @@ -101,7 +101,6 @@ # Dependencies on the Python runtime. runtime_dependencies = { - "3.6": {"pyqt5", "lark_parser", "mypy"}, "3.8": {"pyside6"}, } @@ -118,7 +117,7 @@ "gnureadline", } -supported_runtimes = ["3.6", "3.8"] +supported_runtimes = ["3.8"] default_runtime = "3.8" github_url_fmt = "git+http://github.com/enthought/{0}.git#egg={0}" diff --git a/examples/tutorials/doc_examples/__init__.py b/examples/tutorials/doc_examples/__init__.py index c40e32416..187be6713 100644 --- a/examples/tutorials/doc_examples/__init__.py +++ b/examples/tutorials/doc_examples/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/__init__.py b/examples/tutorials/doc_examples/examples/__init__.py index d49e25c61..f145071ad 100644 --- a/examples/tutorials/doc_examples/examples/__init__.py +++ b/examples/tutorials/doc_examples/examples/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/adapt_metadata.py b/examples/tutorials/doc_examples/examples/adapt_metadata.py index 49b83d89b..3965390d8 100644 --- a/examples/tutorials/doc_examples/examples/adapt_metadata.py +++ b/examples/tutorials/doc_examples/examples/adapt_metadata.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/add_class_trait.py b/examples/tutorials/doc_examples/examples/add_class_trait.py index 7dd698757..8b9bcd525 100644 --- a/examples/tutorials/doc_examples/examples/add_class_trait.py +++ b/examples/tutorials/doc_examples/examples/add_class_trait.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/all_traits_features.py b/examples/tutorials/doc_examples/examples/all_traits_features.py index 534f89bd7..6db25d580 100644 --- a/examples/tutorials/doc_examples/examples/all_traits_features.py +++ b/examples/tutorials/doc_examples/examples/all_traits_features.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/all_wildcard.py b/examples/tutorials/doc_examples/examples/all_wildcard.py index 52ae37f31..2a83621b2 100644 --- a/examples/tutorials/doc_examples/examples/all_wildcard.py +++ b/examples/tutorials/doc_examples/examples/all_wildcard.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/bad_self_ref.py b/examples/tutorials/doc_examples/examples/bad_self_ref.py index e665995b7..c496fb6af 100644 --- a/examples/tutorials/doc_examples/examples/bad_self_ref.py +++ b/examples/tutorials/doc_examples/examples/bad_self_ref.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/cached_prop.py b/examples/tutorials/doc_examples/examples/cached_prop.py index a4583a2fe..84beed5d6 100644 --- a/examples/tutorials/doc_examples/examples/cached_prop.py +++ b/examples/tutorials/doc_examples/examples/cached_prop.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/circular_definition.py b/examples/tutorials/doc_examples/examples/circular_definition.py index d0c5a1a78..fff5d4f55 100644 --- a/examples/tutorials/doc_examples/examples/circular_definition.py +++ b/examples/tutorials/doc_examples/examples/circular_definition.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/compound.py b/examples/tutorials/doc_examples/examples/compound.py index 1fb7070ab..de483dc91 100644 --- a/examples/tutorials/doc_examples/examples/compound.py +++ b/examples/tutorials/doc_examples/examples/compound.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/configure_traits.py b/examples/tutorials/doc_examples/examples/configure_traits.py index 22d8d41cd..e667fe133 100644 --- a/examples/tutorials/doc_examples/examples/configure_traits.py +++ b/examples/tutorials/doc_examples/examples/configure_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/custom_traithandler.py b/examples/tutorials/doc_examples/examples/custom_traithandler.py index 72ba2e6a3..16a6c83d8 100644 --- a/examples/tutorials/doc_examples/examples/custom_traithandler.py +++ b/examples/tutorials/doc_examples/examples/custom_traithandler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/deferring_notification.py b/examples/tutorials/doc_examples/examples/deferring_notification.py index d3403e31c..2d1197426 100644 --- a/examples/tutorials/doc_examples/examples/deferring_notification.py +++ b/examples/tutorials/doc_examples/examples/deferring_notification.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/delegate.py b/examples/tutorials/doc_examples/examples/delegate.py index 5919cbc1d..9bf7cae8a 100644 --- a/examples/tutorials/doc_examples/examples/delegate.py +++ b/examples/tutorials/doc_examples/examples/delegate.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/disallow.py b/examples/tutorials/doc_examples/examples/disallow.py index 5a84c1c53..feac98dcd 100644 --- a/examples/tutorials/doc_examples/examples/disallow.py +++ b/examples/tutorials/doc_examples/examples/disallow.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/dynamic_notification.py b/examples/tutorials/doc_examples/examples/dynamic_notification.py index 60aeb650c..ff2b38e9d 100644 --- a/examples/tutorials/doc_examples/examples/dynamic_notification.py +++ b/examples/tutorials/doc_examples/examples/dynamic_notification.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/event.py b/examples/tutorials/doc_examples/examples/event.py index 70eeea293..48fbd8b01 100644 --- a/examples/tutorials/doc_examples/examples/event.py +++ b/examples/tutorials/doc_examples/examples/event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/instance_trait_defaults.py b/examples/tutorials/doc_examples/examples/instance_trait_defaults.py index b27ba0078..eb73ff4ac 100644 --- a/examples/tutorials/doc_examples/examples/instance_trait_defaults.py +++ b/examples/tutorials/doc_examples/examples/instance_trait_defaults.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/interface_definition.py b/examples/tutorials/doc_examples/examples/interface_definition.py index ef9c639f8..25133a619 100644 --- a/examples/tutorials/doc_examples/examples/interface_definition.py +++ b/examples/tutorials/doc_examples/examples/interface_definition.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/interface_implementation.py b/examples/tutorials/doc_examples/examples/interface_implementation.py index a0f911c9d..9fdef6b3f 100644 --- a/examples/tutorials/doc_examples/examples/interface_implementation.py +++ b/examples/tutorials/doc_examples/examples/interface_implementation.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/keywords.py b/examples/tutorials/doc_examples/examples/keywords.py index b924ff16d..07e69f2c9 100644 --- a/examples/tutorials/doc_examples/examples/keywords.py +++ b/examples/tutorials/doc_examples/examples/keywords.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/list_notifier.py b/examples/tutorials/doc_examples/examples/list_notifier.py index 35c0a78a5..6ba7e0c69 100644 --- a/examples/tutorials/doc_examples/examples/list_notifier.py +++ b/examples/tutorials/doc_examples/examples/list_notifier.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/mapped.py b/examples/tutorials/doc_examples/examples/mapped.py index 48ea04444..67ef5d99c 100644 --- a/examples/tutorials/doc_examples/examples/mapped.py +++ b/examples/tutorials/doc_examples/examples/mapped.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/metadata.py b/examples/tutorials/doc_examples/examples/metadata.py index c19cbaee9..525c99c1a 100644 --- a/examples/tutorials/doc_examples/examples/metadata.py +++ b/examples/tutorials/doc_examples/examples/metadata.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/minimal.py b/examples/tutorials/doc_examples/examples/minimal.py index e3df63214..a5832c5a1 100644 --- a/examples/tutorials/doc_examples/examples/minimal.py +++ b/examples/tutorials/doc_examples/examples/minimal.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/object_trait_attrs.py b/examples/tutorials/doc_examples/examples/object_trait_attrs.py index 3078ddf34..48c45b4f2 100644 --- a/examples/tutorials/doc_examples/examples/object_trait_attrs.py +++ b/examples/tutorials/doc_examples/examples/object_trait_attrs.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/observe_decorator.py b/examples/tutorials/doc_examples/examples/observe_decorator.py index 410b9760d..8c1e02070 100644 --- a/examples/tutorials/doc_examples/examples/observe_decorator.py +++ b/examples/tutorials/doc_examples/examples/observe_decorator.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/observe_different_events.py b/examples/tutorials/doc_examples/examples/observe_different_events.py index 70817105f..5ced99917 100644 --- a/examples/tutorials/doc_examples/examples/observe_different_events.py +++ b/examples/tutorials/doc_examples/examples/observe_different_events.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/observe_method.py b/examples/tutorials/doc_examples/examples/observe_method.py index 3175b22db..bb39ec6bd 100644 --- a/examples/tutorials/doc_examples/examples/observe_method.py +++ b/examples/tutorials/doc_examples/examples/observe_method.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/observe_optional.py b/examples/tutorials/doc_examples/examples/observe_optional.py index d44573cff..7bbe05f9b 100644 --- a/examples/tutorials/doc_examples/examples/observe_optional.py +++ b/examples/tutorials/doc_examples/examples/observe_optional.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/observe_post_init.py b/examples/tutorials/doc_examples/examples/observe_post_init.py index d6e3fd60d..899b071ed 100644 --- a/examples/tutorials/doc_examples/examples/observe_post_init.py +++ b/examples/tutorials/doc_examples/examples/observe_post_init.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/override_default.py b/examples/tutorials/doc_examples/examples/override_default.py index b2215bb83..d81a854a8 100644 --- a/examples/tutorials/doc_examples/examples/override_default.py +++ b/examples/tutorials/doc_examples/examples/override_default.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/post_init_notification.py b/examples/tutorials/doc_examples/examples/post_init_notification.py index 1cf22b6b3..37edacc2f 100644 --- a/examples/tutorials/doc_examples/examples/post_init_notification.py +++ b/examples/tutorials/doc_examples/examples/post_init_notification.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/prototype_prefix.py b/examples/tutorials/doc_examples/examples/prototype_prefix.py index 628bacf55..bba04a9dd 100644 --- a/examples/tutorials/doc_examples/examples/prototype_prefix.py +++ b/examples/tutorials/doc_examples/examples/prototype_prefix.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/simple_adapter.py b/examples/tutorials/doc_examples/examples/simple_adapter.py index 0c977ed9e..4ffa9d3e1 100644 --- a/examples/tutorials/doc_examples/examples/simple_adapter.py +++ b/examples/tutorials/doc_examples/examples/simple_adapter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/static_notification.py b/examples/tutorials/doc_examples/examples/static_notification.py index f92d099eb..3b1ecb512 100644 --- a/examples/tutorials/doc_examples/examples/static_notification.py +++ b/examples/tutorials/doc_examples/examples/static_notification.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/temp_wildcard.py b/examples/tutorials/doc_examples/examples/temp_wildcard.py index f5bb0c0ae..92260ed62 100644 --- a/examples/tutorials/doc_examples/examples/temp_wildcard.py +++ b/examples/tutorials/doc_examples/examples/temp_wildcard.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/this.py b/examples/tutorials/doc_examples/examples/this.py index 90505f123..055e1b4c4 100644 --- a/examples/tutorials/doc_examples/examples/this.py +++ b/examples/tutorials/doc_examples/examples/this.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/trait_reuse.py b/examples/tutorials/doc_examples/examples/trait_reuse.py index 25b92dddd..dca23ca5a 100644 --- a/examples/tutorials/doc_examples/examples/trait_reuse.py +++ b/examples/tutorials/doc_examples/examples/trait_reuse.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/trait_subclass.py b/examples/tutorials/doc_examples/examples/trait_subclass.py index 8938ee375..8d8796e1c 100644 --- a/examples/tutorials/doc_examples/examples/trait_subclass.py +++ b/examples/tutorials/doc_examples/examples/trait_subclass.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/traitprefixmap.py b/examples/tutorials/doc_examples/examples/traitprefixmap.py index 95d3f5866..253a51f23 100644 --- a/examples/tutorials/doc_examples/examples/traitprefixmap.py +++ b/examples/tutorials/doc_examples/examples/traitprefixmap.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/transient_metadata.py b/examples/tutorials/doc_examples/examples/transient_metadata.py index f02e326cb..ff8152395 100644 --- a/examples/tutorials/doc_examples/examples/transient_metadata.py +++ b/examples/tutorials/doc_examples/examples/transient_metadata.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/use_custom_th.py b/examples/tutorials/doc_examples/examples/use_custom_th.py index 4a0f09815..b41db117a 100644 --- a/examples/tutorials/doc_examples/examples/use_custom_th.py +++ b/examples/tutorials/doc_examples/examples/use_custom_th.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/widget.py b/examples/tutorials/doc_examples/examples/widget.py index f61e06023..062c5496d 100644 --- a/examples/tutorials/doc_examples/examples/widget.py +++ b/examples/tutorials/doc_examples/examples/widget.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/wildcard.py b/examples/tutorials/doc_examples/examples/wildcard.py index ea6cda75b..b8619c5b8 100644 --- a/examples/tutorials/doc_examples/examples/wildcard.py +++ b/examples/tutorials/doc_examples/examples/wildcard.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/wildcard_all.py b/examples/tutorials/doc_examples/examples/wildcard_all.py index f341c435d..2367b4bbb 100644 --- a/examples/tutorials/doc_examples/examples/wildcard_all.py +++ b/examples/tutorials/doc_examples/examples/wildcard_all.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/wildcard_name.py b/examples/tutorials/doc_examples/examples/wildcard_name.py index 90864c170..ae5a5e3ed 100644 --- a/examples/tutorials/doc_examples/examples/wildcard_name.py +++ b/examples/tutorials/doc_examples/examples/wildcard_name.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/wildcard_rules.py b/examples/tutorials/doc_examples/examples/wildcard_rules.py index 8cd63dd43..56624241f 100644 --- a/examples/tutorials/doc_examples/examples/wildcard_rules.py +++ b/examples/tutorials/doc_examples/examples/wildcard_rules.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/doc_examples/examples/wizard.py b/examples/tutorials/doc_examples/examples/wizard.py index 6e5f977fd..2c20c2b72 100644 --- a/examples/tutorials/doc_examples/examples/wizard.py +++ b/examples/tutorials/doc_examples/examples/wizard.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/decorators/cached_property.py b/examples/tutorials/traits_4.0/decorators/cached_property.py index e7e375751..29e2b8864 100644 --- a/examples/tutorials/traits_4.0/decorators/cached_property.py +++ b/examples/tutorials/traits_4.0/decorators/cached_property.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/decorators/on_trait_change.py b/examples/tutorials/traits_4.0/decorators/on_trait_change.py index 8bc2a2398..061f34602 100644 --- a/examples/tutorials/traits_4.0/decorators/on_trait_change.py +++ b/examples/tutorials/traits_4.0/decorators/on_trait_change.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/delegation/delegation.py b/examples/tutorials/traits_4.0/delegation/delegation.py index 79d6d91d9..f29a165fc 100644 --- a/examples/tutorials/traits_4.0/delegation/delegation.py +++ b/examples/tutorials/traits_4.0/delegation/delegation.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/extended_trait_change/extended_trait_change.py b/examples/tutorials/traits_4.0/extended_trait_change/extended_trait_change.py index 8d32416a7..1d479bf54 100644 --- a/examples/tutorials/traits_4.0/extended_trait_change/extended_trait_change.py +++ b/examples/tutorials/traits_4.0/extended_trait_change/extended_trait_change.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/extended_trait_change/properties.py b/examples/tutorials/traits_4.0/extended_trait_change/properties.py index 80dccdcc5..f3bdbac7f 100644 --- a/examples/tutorials/traits_4.0/extended_trait_change/properties.py +++ b/examples/tutorials/traits_4.0/extended_trait_change/properties.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/getstate_setstate/getstate.py b/examples/tutorials/traits_4.0/getstate_setstate/getstate.py index 9913e2b28..e63b4d12f 100644 --- a/examples/tutorials/traits_4.0/getstate_setstate/getstate.py +++ b/examples/tutorials/traits_4.0/getstate_setstate/getstate.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/interfaces/interfaces.py b/examples/tutorials/traits_4.0/interfaces/interfaces.py index 2d4285baa..9504771d8 100644 --- a/examples/tutorials/traits_4.0/interfaces/interfaces.py +++ b/examples/tutorials/traits_4.0/interfaces/interfaces.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/trait_types/core_traits.py b/examples/tutorials/traits_4.0/trait_types/core_traits.py index a6e6b92dd..c4d41963b 100644 --- a/examples/tutorials/traits_4.0/trait_types/core_traits.py +++ b/examples/tutorials/traits_4.0/trait_types/core_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/trait_types/new_types.py b/examples/tutorials/traits_4.0/trait_types/new_types.py index bbbc057e8..d2c93b226 100644 --- a/examples/tutorials/traits_4.0/trait_types/new_types.py +++ b/examples/tutorials/traits_4.0/trait_types/new_types.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/traits_4.0/trait_types/trait_types.py b/examples/tutorials/traits_4.0/trait_types/trait_types.py index d81a94891..3c6ef913b 100644 --- a/examples/tutorials/traits_4.0/trait_types/trait_types.py +++ b/examples/tutorials/traits_4.0/trait_types/trait_types.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/examples/tutorials/tutor.py b/examples/tutorials/tutor.py index 50014cff8..bfad23c37 100644 --- a/examples/tutorials/tutor.py +++ b/examples/tutorials/tutor.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/setup.py b/setup.py index b3626ec98..81d91e591 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -20,9 +20,9 @@ # into the package source. MAJOR = 6 MINOR = 4 -MICRO = 1 +MICRO = 2 PRERELEASE = "" -IS_RELEASED = False +IS_RELEASED = True # If this file is part of a Git export (for example created with "git archive", # or downloaded from GitHub), ARCHIVE_COMMIT_HASH gives the full hash of the @@ -40,7 +40,7 @@ # Template for the autogenerated version file. VERSION_FILE_TEMPLATE = '''\ -# (C) Copyright 2005-2022 {company}, Inc., Austin, TX +# (C) Copyright 2005-2023 {company}, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -276,7 +276,6 @@ def get_long_description(): Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 @@ -303,7 +302,10 @@ def get_long_description(): extras_require={ "docs": [ "enthought-sphinx-theme", - "Sphinx>=2.1.0", + # Doc builds are hanging with pygments 2.15.0 and 2.15.1. + # Maybe related: https://github.com/pygments/pygments/issues/2427 + "pygments<2.15", + "Sphinx", "sphinx-copybutton", ], "test": [ @@ -313,10 +315,12 @@ def get_long_description(): "mypy", "numpy", "pyface", - "PySide2; python_version < '3.8'", - "PySide6; python_version >= '3.8' and python_version < '3.11'", + # Doc builds are hanging with pygments 2.15.0 and 2.15.1. + # Maybe related: https://github.com/pygments/pygments/issues/2427 + "pygments<2.15", + "PySide6; python_version >= '3.7' and python_version < '3.12'", "setuptools", - "Sphinx>=2.1.0", + "Sphinx", "traitsui", ], "examples": [ @@ -344,6 +348,6 @@ def get_long_description(): }, license="BSD", packages=setuptools.find_packages(include=["traits", "traits.*"]), - python_requires=">=3.6", + python_requires=">=3.7", zip_safe=False, ) diff --git a/traits-stubs/LICENSE.txt b/traits-stubs/LICENSE.txt index 6d143dd74..737cf118a 100644 --- a/traits-stubs/LICENSE.txt +++ b/traits-stubs/LICENSE.txt @@ -1,7 +1,7 @@ This software is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative. -(C) Copyright 2020-2022 Enthought, Inc., Austin, TX +(C) Copyright 2020-2023 Enthought, Inc., Austin, TX All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/traits-stubs/setup.py b/traits-stubs/setup.py index 3fc3903e0..f7b51d629 100644 --- a/traits-stubs/setup.py +++ b/traits-stubs/setup.py @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -20,7 +20,7 @@ def get_long_description(): if __name__ == "__main__": setuptools.setup( name="traits-stubs", - version="6.4.0", + version="6.4.2", url="https://github.com/enthought/traits", author="Enthought", author_email="info@enthought.com", @@ -36,7 +36,6 @@ def get_long_description(): Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 @@ -71,5 +70,5 @@ def get_long_description(): "traits_stubs_tests": ["examples/*.py", "numpy_examples/*.py"], }, license="BSD", - python_requires=">=3.6", + python_requires=">=3.7", ) diff --git a/traits-stubs/traits-stubs/api.pyi b/traits-stubs/traits-stubs/api.pyi index 53f608d66..64fa78259 100644 --- a/traits-stubs/traits-stubs/api.pyi +++ b/traits-stubs/traits-stubs/api.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/base_trait_handler.pyi b/traits-stubs/traits-stubs/base_trait_handler.pyi index 10d250121..177858ab9 100644 --- a/traits-stubs/traits-stubs/base_trait_handler.pyi +++ b/traits-stubs/traits-stubs/base_trait_handler.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/constants.pyi b/traits-stubs/traits-stubs/constants.pyi index 3998c0bbd..88cde46d1 100644 --- a/traits-stubs/traits-stubs/constants.pyi +++ b/traits-stubs/traits-stubs/constants.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/ctrait.pyi b/traits-stubs/traits-stubs/ctrait.pyi index 38facb470..0bf9f9989 100644 --- a/traits-stubs/traits-stubs/ctrait.pyi +++ b/traits-stubs/traits-stubs/ctrait.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/ctraits.pyi b/traits-stubs/traits-stubs/ctraits.pyi index b8f895276..fa1e000ff 100644 --- a/traits-stubs/traits-stubs/ctraits.pyi +++ b/traits-stubs/traits-stubs/ctraits.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/editor_factories.pyi b/traits-stubs/traits-stubs/editor_factories.pyi index 2809d2375..236d21e77 100644 --- a/traits-stubs/traits-stubs/editor_factories.pyi +++ b/traits-stubs/traits-stubs/editor_factories.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/has_traits.pyi b/traits-stubs/traits-stubs/has_traits.pyi index 1b3a56cd8..c5b31054b 100644 --- a/traits-stubs/traits-stubs/has_traits.pyi +++ b/traits-stubs/traits-stubs/has_traits.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/trait_handler.pyi b/traits-stubs/traits-stubs/trait_handler.pyi index de1384b99..8f10dfdcb 100644 --- a/traits-stubs/traits-stubs/trait_handler.pyi +++ b/traits-stubs/traits-stubs/trait_handler.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/trait_handlers.pyi b/traits-stubs/traits-stubs/trait_handlers.pyi index 64107f383..494c89762 100644 --- a/traits-stubs/traits-stubs/trait_handlers.pyi +++ b/traits-stubs/traits-stubs/trait_handlers.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/trait_numeric.pyi b/traits-stubs/traits-stubs/trait_numeric.pyi index 02705e7d3..54b6d2751 100644 --- a/traits-stubs/traits-stubs/trait_numeric.pyi +++ b/traits-stubs/traits-stubs/trait_numeric.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/trait_type.pyi b/traits-stubs/traits-stubs/trait_type.pyi index d2e5e1849..0d4d32f21 100644 --- a/traits-stubs/traits-stubs/trait_type.pyi +++ b/traits-stubs/traits-stubs/trait_type.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits-stubs/trait_types.pyi b/traits-stubs/traits-stubs/trait_types.pyi index 9682a23ec..54850f9f1 100644 --- a/traits-stubs/traits-stubs/trait_types.pyi +++ b/traits-stubs/traits-stubs/trait_types.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -27,7 +27,7 @@ from typing import ( ) from uuid import UUID as _UUID -# Once we no longer support Python 3.6 or Python 3.7, we can import +# Once we no longer support Python 3.7, we can import # SupportsIndex from typing instead of typing_extensions. if sys.version_info < (3, 8): from typing_extensions import SupportsIndex diff --git a/traits-stubs/traits-stubs/traits.pyi b/traits-stubs/traits-stubs/traits.pyi index dcceddc1c..a07f1c2b2 100644 --- a/traits-stubs/traits-stubs/traits.pyi +++ b/traits-stubs/traits-stubs/traits.pyi @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Any.py b/traits-stubs/traits_stubs_tests/examples/Any.py index 5471025b1..dfa64c2f7 100644 --- a/traits-stubs/traits_stubs_tests/examples/Any.py +++ b/traits-stubs/traits_stubs_tests/examples/Any.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/BaseClass.py b/traits-stubs/traits_stubs_tests/examples/BaseClass.py index 57fe2334b..e2d39acb1 100644 --- a/traits-stubs/traits_stubs_tests/examples/BaseClass.py +++ b/traits-stubs/traits_stubs_tests/examples/BaseClass.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Bool.py b/traits-stubs/traits_stubs_tests/examples/Bool.py index 2acf1dd60..3e8c97837 100644 --- a/traits-stubs/traits_stubs_tests/examples/Bool.py +++ b/traits-stubs/traits_stubs_tests/examples/Bool.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/CInt.py b/traits-stubs/traits_stubs_tests/examples/CInt.py index 2fc89c1f2..e0a6cfa7e 100644 --- a/traits-stubs/traits_stubs_tests/examples/CInt.py +++ b/traits-stubs/traits_stubs_tests/examples/CInt.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Callable.py b/traits-stubs/traits_stubs_tests/examples/Callable.py index 0a481fb74..1a173e9ee 100644 --- a/traits-stubs/traits_stubs_tests/examples/Callable.py +++ b/traits-stubs/traits_stubs_tests/examples/Callable.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Complex.py b/traits-stubs/traits_stubs_tests/examples/Complex.py index eb2cfef44..babcfec8b 100644 --- a/traits-stubs/traits_stubs_tests/examples/Complex.py +++ b/traits-stubs/traits_stubs_tests/examples/Complex.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Date.py b/traits-stubs/traits_stubs_tests/examples/Date.py index ad5294cb4..c6ed648eb 100644 --- a/traits-stubs/traits_stubs_tests/examples/Date.py +++ b/traits-stubs/traits_stubs_tests/examples/Date.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Datetime.py b/traits-stubs/traits_stubs_tests/examples/Datetime.py index 5ff933b2f..36419dc6e 100644 --- a/traits-stubs/traits_stubs_tests/examples/Datetime.py +++ b/traits-stubs/traits_stubs_tests/examples/Datetime.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Dict.py b/traits-stubs/traits_stubs_tests/examples/Dict.py index 7f4191ae3..3c4a52209 100644 --- a/traits-stubs/traits_stubs_tests/examples/Dict.py +++ b/traits-stubs/traits_stubs_tests/examples/Dict.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/DictStrAny.py b/traits-stubs/traits_stubs_tests/examples/DictStrAny.py index 490afc502..5fa415446 100644 --- a/traits-stubs/traits_stubs_tests/examples/DictStrAny.py +++ b/traits-stubs/traits_stubs_tests/examples/DictStrAny.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/DictStrFloat.py b/traits-stubs/traits_stubs_tests/examples/DictStrFloat.py index 562c12450..14ee0135f 100644 --- a/traits-stubs/traits_stubs_tests/examples/DictStrFloat.py +++ b/traits-stubs/traits_stubs_tests/examples/DictStrFloat.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/DictStrInt.py b/traits-stubs/traits_stubs_tests/examples/DictStrInt.py index 0b6dc9c17..5ba78176d 100644 --- a/traits-stubs/traits_stubs_tests/examples/DictStrInt.py +++ b/traits-stubs/traits_stubs_tests/examples/DictStrInt.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Enum.py b/traits-stubs/traits_stubs_tests/examples/Enum.py index 28e7dc3cc..7b7e20290 100644 --- a/traits-stubs/traits_stubs_tests/examples/Enum.py +++ b/traits-stubs/traits_stubs_tests/examples/Enum.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/File.py b/traits-stubs/traits_stubs_tests/examples/File.py index 2713f9017..0c1f885c7 100644 --- a/traits-stubs/traits_stubs_tests/examples/File.py +++ b/traits-stubs/traits_stubs_tests/examples/File.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Float.py b/traits-stubs/traits_stubs_tests/examples/Float.py index 22040fa15..fe836be1a 100644 --- a/traits-stubs/traits_stubs_tests/examples/Float.py +++ b/traits-stubs/traits_stubs_tests/examples/Float.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/HasStrictTraits.py b/traits-stubs/traits_stubs_tests/examples/HasStrictTraits.py index bafdb6ee6..c9124b13d 100644 --- a/traits-stubs/traits_stubs_tests/examples/HasStrictTraits.py +++ b/traits-stubs/traits_stubs_tests/examples/HasStrictTraits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/HasTraits.py b/traits-stubs/traits_stubs_tests/examples/HasTraits.py index c400fbd41..cd37d8222 100644 --- a/traits-stubs/traits_stubs_tests/examples/HasTraits.py +++ b/traits-stubs/traits_stubs_tests/examples/HasTraits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Instance.py b/traits-stubs/traits_stubs_tests/examples/Instance.py index e01111e0c..c4cc7afc4 100644 --- a/traits-stubs/traits_stubs_tests/examples/Instance.py +++ b/traits-stubs/traits_stubs_tests/examples/Instance.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Int.py b/traits-stubs/traits_stubs_tests/examples/Int.py index 805e18d22..12975912b 100644 --- a/traits-stubs/traits_stubs_tests/examples/Int.py +++ b/traits-stubs/traits_stubs_tests/examples/Int.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Interface.py b/traits-stubs/traits_stubs_tests/examples/Interface.py index 683bf1b7f..5e4772f80 100644 --- a/traits-stubs/traits_stubs_tests/examples/Interface.py +++ b/traits-stubs/traits_stubs_tests/examples/Interface.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/List.py b/traits-stubs/traits_stubs_tests/examples/List.py index aaa9575f5..f53faa2a2 100644 --- a/traits-stubs/traits_stubs_tests/examples/List.py +++ b/traits-stubs/traits_stubs_tests/examples/List.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/ListBool.py b/traits-stubs/traits_stubs_tests/examples/ListBool.py index a921d6a95..53dabeb1b 100644 --- a/traits-stubs/traits_stubs_tests/examples/ListBool.py +++ b/traits-stubs/traits_stubs_tests/examples/ListBool.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/ListComplex.py b/traits-stubs/traits_stubs_tests/examples/ListComplex.py index 416bef8ac..a514cc7d9 100644 --- a/traits-stubs/traits_stubs_tests/examples/ListComplex.py +++ b/traits-stubs/traits_stubs_tests/examples/ListComplex.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/ListFloat.py b/traits-stubs/traits_stubs_tests/examples/ListFloat.py index f0a19ed8e..18931e98d 100644 --- a/traits-stubs/traits_stubs_tests/examples/ListFloat.py +++ b/traits-stubs/traits_stubs_tests/examples/ListFloat.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/ListInt.py b/traits-stubs/traits_stubs_tests/examples/ListInt.py index d8f511ead..e3eda51b0 100644 --- a/traits-stubs/traits_stubs_tests/examples/ListInt.py +++ b/traits-stubs/traits_stubs_tests/examples/ListInt.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Map.py b/traits-stubs/traits_stubs_tests/examples/Map.py index c2585e2f2..8627cca58 100644 --- a/traits-stubs/traits_stubs_tests/examples/Map.py +++ b/traits-stubs/traits_stubs_tests/examples/Map.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/PrefixList.py b/traits-stubs/traits_stubs_tests/examples/PrefixList.py index 616454797..035984039 100644 --- a/traits-stubs/traits_stubs_tests/examples/PrefixList.py +++ b/traits-stubs/traits_stubs_tests/examples/PrefixList.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/PrefixMap.py b/traits-stubs/traits_stubs_tests/examples/PrefixMap.py index e334089ec..026cf6960 100644 --- a/traits-stubs/traits_stubs_tests/examples/PrefixMap.py +++ b/traits-stubs/traits_stubs_tests/examples/PrefixMap.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Property.py b/traits-stubs/traits_stubs_tests/examples/Property.py index 8dba6f560..6111e0be3 100644 --- a/traits-stubs/traits_stubs_tests/examples/Property.py +++ b/traits-stubs/traits_stubs_tests/examples/Property.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Range.py b/traits-stubs/traits_stubs_tests/examples/Range.py index 32881017b..9dc50f860 100644 --- a/traits-stubs/traits_stubs_tests/examples/Range.py +++ b/traits-stubs/traits_stubs_tests/examples/Range.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Set.py b/traits-stubs/traits_stubs_tests/examples/Set.py index 3e0ed97bf..906532f6e 100644 --- a/traits-stubs/traits_stubs_tests/examples/Set.py +++ b/traits-stubs/traits_stubs_tests/examples/Set.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Str.py b/traits-stubs/traits_stubs_tests/examples/Str.py index 9889faac6..cb3b24c47 100644 --- a/traits-stubs/traits_stubs_tests/examples/Str.py +++ b/traits-stubs/traits_stubs_tests/examples/Str.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/String.py b/traits-stubs/traits_stubs_tests/examples/String.py index 68c32f1f8..cf2dc382e 100644 --- a/traits-stubs/traits_stubs_tests/examples/String.py +++ b/traits-stubs/traits_stubs_tests/examples/String.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Time.py b/traits-stubs/traits_stubs_tests/examples/Time.py index d3d787617..34b1cb7ab 100644 --- a/traits-stubs/traits_stubs_tests/examples/Time.py +++ b/traits-stubs/traits_stubs_tests/examples/Time.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/TraitDict.py b/traits-stubs/traits_stubs_tests/examples/TraitDict.py index c7a3ffede..ec95fb980 100644 --- a/traits-stubs/traits_stubs_tests/examples/TraitDict.py +++ b/traits-stubs/traits_stubs_tests/examples/TraitDict.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/Tuple.py b/traits-stubs/traits_stubs_tests/examples/Tuple.py index 876c9e2ce..9f133e691 100644 --- a/traits-stubs/traits_stubs_tests/examples/Tuple.py +++ b/traits-stubs/traits_stubs_tests/examples/Tuple.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/UUID.py b/traits-stubs/traits_stubs_tests/examples/UUID.py index b2b7c9b46..58f946b15 100644 --- a/traits-stubs/traits_stubs_tests/examples/UUID.py +++ b/traits-stubs/traits_stubs_tests/examples/UUID.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/WeakRef.py b/traits-stubs/traits_stubs_tests/examples/WeakRef.py index 16e6906cb..b4bcec871 100644 --- a/traits-stubs/traits_stubs_tests/examples/WeakRef.py +++ b/traits-stubs/traits_stubs_tests/examples/WeakRef.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/examples/completeness.py b/traits-stubs/traits_stubs_tests/examples/completeness.py index 40c863a65..33c0cca1d 100644 --- a/traits-stubs/traits_stubs_tests/examples/completeness.py +++ b/traits-stubs/traits_stubs_tests/examples/completeness.py @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/numpy_examples/Array.py b/traits-stubs/traits_stubs_tests/numpy_examples/Array.py index f0b17c45d..5ae58a7cf 100644 --- a/traits-stubs/traits_stubs_tests/numpy_examples/Array.py +++ b/traits-stubs/traits_stubs_tests/numpy_examples/Array.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/test_all.py b/traits-stubs/traits_stubs_tests/test_all.py index 8547325e6..d757b42dc 100644 --- a/traits-stubs/traits_stubs_tests/test_all.py +++ b/traits-stubs/traits_stubs_tests/test_all.py @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits-stubs/traits_stubs_tests/util.py b/traits-stubs/traits_stubs_tests/util.py index fae3dd7ba..f1fb14dcf 100644 --- a/traits-stubs/traits_stubs_tests/util.py +++ b/traits-stubs/traits_stubs_tests/util.py @@ -1,4 +1,4 @@ -# (C) Copyright 2020-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2020-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/__init__.py b/traits/__init__.py index 55e83466f..1e428e562 100644 --- a/traits/__init__.py +++ b/traits/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/__init__.py b/traits/adaptation/__init__.py index 6646c5721..36f6a8b66 100644 --- a/traits/adaptation/__init__.py +++ b/traits/adaptation/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/adaptation_error.py b/traits/adaptation/adaptation_error.py index fb1f19d11..92e678bc2 100644 --- a/traits/adaptation/adaptation_error.py +++ b/traits/adaptation/adaptation_error.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/adaptation_manager.py b/traits/adaptation/adaptation_manager.py index e658a7719..463d4d80e 100644 --- a/traits/adaptation/adaptation_manager.py +++ b/traits/adaptation/adaptation_manager.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/adaptation_offer.py b/traits/adaptation/adaptation_offer.py index 69187e5da..7108f5991 100644 --- a/traits/adaptation/adaptation_offer.py +++ b/traits/adaptation/adaptation_offer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/adapter.py b/traits/adaptation/adapter.py index fdc5441d8..81cfea36d 100644 --- a/traits/adaptation/adapter.py +++ b/traits/adaptation/adapter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/api.py b/traits/adaptation/api.py index 5a5c3699e..a1d79b792 100644 --- a/traits/adaptation/api.py +++ b/traits/adaptation/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/abc_examples.py b/traits/adaptation/tests/abc_examples.py index 24404b05e..1697304ac 100644 --- a/traits/adaptation/tests/abc_examples.py +++ b/traits/adaptation/tests/abc_examples.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/benchmark.py b/traits/adaptation/tests/benchmark.py index ede133695..5bdbd42db 100644 --- a/traits/adaptation/tests/benchmark.py +++ b/traits/adaptation/tests/benchmark.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/interface_examples.py b/traits/adaptation/tests/interface_examples.py index 0ba44cb7e..c34c1e018 100644 --- a/traits/adaptation/tests/interface_examples.py +++ b/traits/adaptation/tests/interface_examples.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/lazy_examples.py b/traits/adaptation/tests/lazy_examples.py index 819336ce2..5457ca352 100644 --- a/traits/adaptation/tests/lazy_examples.py +++ b/traits/adaptation/tests/lazy_examples.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/test_adaptation_manager.py b/traits/adaptation/tests/test_adaptation_manager.py index 55670ce9b..fa6460b23 100644 --- a/traits/adaptation/tests/test_adaptation_manager.py +++ b/traits/adaptation/tests/test_adaptation_manager.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/test_adaptation_offer.py b/traits/adaptation/tests/test_adaptation_offer.py index d56c5bcdd..ce2bfae05 100644 --- a/traits/adaptation/tests/test_adaptation_offer.py +++ b/traits/adaptation/tests/test_adaptation_offer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/test_adapter.py b/traits/adaptation/tests/test_adapter.py index 5124fbdae..25ebc95ab 100644 --- a/traits/adaptation/tests/test_adapter.py +++ b/traits/adaptation/tests/test_adapter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/adaptation/tests/test_global_adaptation_manager.py b/traits/adaptation/tests/test_global_adaptation_manager.py index a284454cd..1d666f4c8 100644 --- a/traits/adaptation/tests/test_global_adaptation_manager.py +++ b/traits/adaptation/tests/test_global_adaptation_manager.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/api.py b/traits/api.py index 59b250049..61ea801fd 100644 --- a/traits/api.py +++ b/traits/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/base_trait_handler.py b/traits/base_trait_handler.py index 7d3c0488b..8fe9f9e62 100644 --- a/traits/base_trait_handler.py +++ b/traits/base_trait_handler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/constants.py b/traits/constants.py index a58cd4949..9420fb25c 100644 --- a/traits/constants.py +++ b/traits/constants.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/ctrait.py b/traits/ctrait.py index 27a9e9d54..1b1480243 100644 --- a/traits/ctrait.py +++ b/traits/ctrait.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/ctraits.c b/traits/ctraits.c index 2ee6d40a7..3bb818406 100644 --- a/traits/ctraits.c +++ b/traits/ctraits.c @@ -1,4 +1,4 @@ -// (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +// (C) Copyright 2005-2023 Enthought, Inc., Austin, TX // All rights reserved. // // This software is provided without warranty under the terms of the BSD diff --git a/traits/editor_factories.py b/traits/editor_factories.py index ae1d927c5..b4c99874f 100644 --- a/traits/editor_factories.py +++ b/traits/editor_factories.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/etsconfig/__init__.py b/traits/etsconfig/__init__.py index 37f1d3113..fea4b43a3 100644 --- a/traits/etsconfig/__init__.py +++ b/traits/etsconfig/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/etsconfig/api.py b/traits/etsconfig/api.py index a104e6db7..24975701d 100644 --- a/traits/etsconfig/api.py +++ b/traits/etsconfig/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/etsconfig/etsconfig.py b/traits/etsconfig/etsconfig.py index a9fbe5242..561a63aa2 100644 --- a/traits/etsconfig/etsconfig.py +++ b/traits/etsconfig/etsconfig.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/etsconfig/tests/test_etsconfig.py b/traits/etsconfig/tests/test_etsconfig.py index 8985eb3ae..3d415933e 100644 --- a/traits/etsconfig/tests/test_etsconfig.py +++ b/traits/etsconfig/tests/test_etsconfig.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/__init__.py b/traits/examples/__init__.py index 20ef4faba..aa2218ef6 100644 --- a/traits/examples/__init__.py +++ b/traits/examples/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/_etsdemo_info.py b/traits/examples/_etsdemo_info.py index 0e45019cc..3572e02e2 100644 --- a/traits/examples/_etsdemo_info.py +++ b/traits/examples/_etsdemo_info.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/introduction/0_introduction.py b/traits/examples/introduction/0_introduction.py index ba2a45d2a..8ed63ecf4 100644 --- a/traits/examples/introduction/0_introduction.py +++ b/traits/examples/introduction/0_introduction.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/introduction/1_validation.py b/traits/examples/introduction/1_validation.py index f1d5386e9..047e7f2d8 100644 --- a/traits/examples/introduction/1_validation.py +++ b/traits/examples/introduction/1_validation.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/introduction/2_initialization.py b/traits/examples/introduction/2_initialization.py index b90102d08..6042b3410 100644 --- a/traits/examples/introduction/2_initialization.py +++ b/traits/examples/introduction/2_initialization.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/introduction/3_observation.py b/traits/examples/introduction/3_observation.py index c81774203..71e496f28 100644 --- a/traits/examples/introduction/3_observation.py +++ b/traits/examples/introduction/3_observation.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/introduction/4_properties.py b/traits/examples/introduction/4_properties.py index ddb3d963a..672e7b92a 100644 --- a/traits/examples/introduction/4_properties.py +++ b/traits/examples/introduction/4_properties.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/introduction/5_documentation.py b/traits/examples/introduction/5_documentation.py index 491914afb..aa5fb4568 100644 --- a/traits/examples/introduction/5_documentation.py +++ b/traits/examples/introduction/5_documentation.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/introduction/6_visualization.py b/traits/examples/introduction/6_visualization.py index 51c05fd15..dc2a789e5 100644 --- a/traits/examples/introduction/6_visualization.py +++ b/traits/examples/introduction/6_visualization.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/examples/tests/test_etsdemo_info.py b/traits/examples/tests/test_etsdemo_info.py index f7a3a5a53..3f0c6a85a 100644 --- a/traits/examples/tests/test_etsdemo_info.py +++ b/traits/examples/tests/test_etsdemo_info.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/has_traits.py b/traits/has_traits.py index e8e3222ec..1dfd34759 100644 --- a/traits/has_traits.py +++ b/traits/has_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -56,7 +56,6 @@ ) from .trait_errors import TraitError from .util.deprecated import deprecated -from .util._traitsui_helpers import check_traitsui_major_version from .trait_converters import check_trait, mapped_trait_for, trait_for @@ -1905,10 +1904,6 @@ def _trait_view( if view_elements is None: return None - # Provide a nicer failure mode when upgrading to Traits using - # TraitsUI 6.x - check_traitsui_major_version(7) - if name: if view_element is None: # If only a name was specified, return the ViewElement it diff --git a/traits/interface_checker.py b/traits/interface_checker.py index 5731f7bc2..732fe955d 100644 --- a/traits/interface_checker.py +++ b/traits/interface_checker.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_anytrait_filter.py b/traits/observation/_anytrait_filter.py index e5b07c1a4..89475c2db 100644 --- a/traits/observation/_anytrait_filter.py +++ b/traits/observation/_anytrait_filter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_dict_change_event.py b/traits/observation/_dict_change_event.py index ad00403ae..48f5e509d 100644 --- a/traits/observation/_dict_change_event.py +++ b/traits/observation/_dict_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_dict_item_observer.py b/traits/observation/_dict_item_observer.py index ea7befcf0..47c789270 100644 --- a/traits/observation/_dict_item_observer.py +++ b/traits/observation/_dict_item_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_filtered_trait_observer.py b/traits/observation/_filtered_trait_observer.py index f02acabfa..fbc0f6bee 100644 --- a/traits/observation/_filtered_trait_observer.py +++ b/traits/observation/_filtered_trait_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_has_traits_helpers.py b/traits/observation/_has_traits_helpers.py index f38e8bc3b..f0c660d1c 100644 --- a/traits/observation/_has_traits_helpers.py +++ b/traits/observation/_has_traits_helpers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_i_notifier.py b/traits/observation/_i_notifier.py index 5d7ca076d..77203785a 100644 --- a/traits/observation/_i_notifier.py +++ b/traits/observation/_i_notifier.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_i_observer.py b/traits/observation/_i_observer.py index 3a21c41af..9d234c4f7 100644 --- a/traits/observation/_i_observer.py +++ b/traits/observation/_i_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_list_change_event.py b/traits/observation/_list_change_event.py index 5649439b9..8669c5019 100644 --- a/traits/observation/_list_change_event.py +++ b/traits/observation/_list_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_list_item_observer.py b/traits/observation/_list_item_observer.py index 2feeba2cf..371f269f4 100644 --- a/traits/observation/_list_item_observer.py +++ b/traits/observation/_list_item_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_metadata_filter.py b/traits/observation/_metadata_filter.py index dc5229554..65e53a530 100644 --- a/traits/observation/_metadata_filter.py +++ b/traits/observation/_metadata_filter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_named_trait_observer.py b/traits/observation/_named_trait_observer.py index ea4274d40..cfce7c32d 100644 --- a/traits/observation/_named_trait_observer.py +++ b/traits/observation/_named_trait_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_observe.py b/traits/observation/_observe.py index 2516eca18..de33c1c28 100644 --- a/traits/observation/_observe.py +++ b/traits/observation/_observe.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_observer_change_notifier.py b/traits/observation/_observer_change_notifier.py index 5fedf4e33..020fc91e3 100644 --- a/traits/observation/_observer_change_notifier.py +++ b/traits/observation/_observer_change_notifier.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_observer_graph.py b/traits/observation/_observer_graph.py index d6e15d334..7f935b4e2 100644 --- a/traits/observation/_observer_graph.py +++ b/traits/observation/_observer_graph.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_set_change_event.py b/traits/observation/_set_change_event.py index 4c332e372..3f03da726 100644 --- a/traits/observation/_set_change_event.py +++ b/traits/observation/_set_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_set_item_observer.py b/traits/observation/_set_item_observer.py index 808439f1d..7f857158f 100644 --- a/traits/observation/_set_item_observer.py +++ b/traits/observation/_set_item_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_testing.py b/traits/observation/_testing.py index 098e3eee7..709dec3c5 100644 --- a/traits/observation/_testing.py +++ b/traits/observation/_testing.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_trait_added_observer.py b/traits/observation/_trait_added_observer.py index d3a88be26..64c09f463 100644 --- a/traits/observation/_trait_added_observer.py +++ b/traits/observation/_trait_added_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_trait_change_event.py b/traits/observation/_trait_change_event.py index 53681df64..8e39709d5 100644 --- a/traits/observation/_trait_change_event.py +++ b/traits/observation/_trait_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/_trait_event_notifier.py b/traits/observation/_trait_event_notifier.py index e8ab7067e..21e3a0ea2 100644 --- a/traits/observation/_trait_event_notifier.py +++ b/traits/observation/_trait_event_notifier.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/api.py b/traits/observation/api.py index 5c0fdf763..c03cf441c 100644 --- a/traits/observation/api.py +++ b/traits/observation/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/events.py b/traits/observation/events.py index 574fb8e3e..7d4669f30 100644 --- a/traits/observation/events.py +++ b/traits/observation/events.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/exception_handling.py b/traits/observation/exception_handling.py index 0bc197874..bcee8ea61 100644 --- a/traits/observation/exception_handling.py +++ b/traits/observation/exception_handling.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/exceptions.py b/traits/observation/exceptions.py index 5e57b713b..5d05fdcca 100644 --- a/traits/observation/exceptions.py +++ b/traits/observation/exceptions.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/expression.py b/traits/observation/expression.py index a7881e081..f9a64a692 100644 --- a/traits/observation/expression.py +++ b/traits/observation/expression.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/i_observable.py b/traits/observation/i_observable.py index 64b8a78f0..95e474f96 100644 --- a/traits/observation/i_observable.py +++ b/traits/observation/i_observable.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/observe.py b/traits/observation/observe.py index 3dabec924..b8fc153c8 100644 --- a/traits/observation/observe.py +++ b/traits/observation/observe.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/parsing.py b/traits/observation/parsing.py index e973934c5..468085adc 100644 --- a/traits/observation/parsing.py +++ b/traits/observation/parsing.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_dict_change_event.py b/traits/observation/tests/test_dict_change_event.py index 68025d2f3..3e02260a2 100644 --- a/traits/observation/tests/test_dict_change_event.py +++ b/traits/observation/tests/test_dict_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_dict_item_observer.py b/traits/observation/tests/test_dict_item_observer.py index 4e580e2ca..59d782483 100644 --- a/traits/observation/tests/test_dict_item_observer.py +++ b/traits/observation/tests/test_dict_item_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_exception_handling.py b/traits/observation/tests/test_exception_handling.py index 31c4d5900..f637f139f 100644 --- a/traits/observation/tests/test_exception_handling.py +++ b/traits/observation/tests/test_exception_handling.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_expression.py b/traits/observation/tests/test_expression.py index bc7c1824e..356f8fa25 100644 --- a/traits/observation/tests/test_expression.py +++ b/traits/observation/tests/test_expression.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_filtered_trait_observer.py b/traits/observation/tests/test_filtered_trait_observer.py index 570df27c4..7b9ea6bb3 100644 --- a/traits/observation/tests/test_filtered_trait_observer.py +++ b/traits/observation/tests/test_filtered_trait_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_generated_parser.py b/traits/observation/tests/test_generated_parser.py index 4b265b447..23d7c0af3 100644 --- a/traits/observation/tests/test_generated_parser.py +++ b/traits/observation/tests/test_generated_parser.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_has_traits_helpers.py b/traits/observation/tests/test_has_traits_helpers.py index 1e97566e0..e62824558 100644 --- a/traits/observation/tests/test_has_traits_helpers.py +++ b/traits/observation/tests/test_has_traits_helpers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_list_change_event.py b/traits/observation/tests/test_list_change_event.py index b776e48f2..c41d647f7 100644 --- a/traits/observation/tests/test_list_change_event.py +++ b/traits/observation/tests/test_list_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_list_item_observer.py b/traits/observation/tests/test_list_item_observer.py index 014c5a43b..f143ca24e 100644 --- a/traits/observation/tests/test_list_item_observer.py +++ b/traits/observation/tests/test_list_item_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_metadata_filter.py b/traits/observation/tests/test_metadata_filter.py index 650ab1de6..e69b36a1e 100644 --- a/traits/observation/tests/test_metadata_filter.py +++ b/traits/observation/tests/test_metadata_filter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_named_trait_observer.py b/traits/observation/tests/test_named_trait_observer.py index ff89e4b35..9dbfba429 100644 --- a/traits/observation/tests/test_named_trait_observer.py +++ b/traits/observation/tests/test_named_trait_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_observe.py b/traits/observation/tests/test_observe.py index 06279479b..dd80db270 100644 --- a/traits/observation/tests/test_observe.py +++ b/traits/observation/tests/test_observe.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_observer_change_notifier.py b/traits/observation/tests/test_observer_change_notifier.py index 6413a3ef0..8f0214613 100644 --- a/traits/observation/tests/test_observer_change_notifier.py +++ b/traits/observation/tests/test_observer_change_notifier.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_observer_graph.py b/traits/observation/tests/test_observer_graph.py index 861cfe0c1..cca8fd86b 100644 --- a/traits/observation/tests/test_observer_graph.py +++ b/traits/observation/tests/test_observer_graph.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_parsing.py b/traits/observation/tests/test_parsing.py index b78eff76c..67efb209d 100644 --- a/traits/observation/tests/test_parsing.py +++ b/traits/observation/tests/test_parsing.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_set_change_event.py b/traits/observation/tests/test_set_change_event.py index 167cd6572..3090a5ce3 100644 --- a/traits/observation/tests/test_set_change_event.py +++ b/traits/observation/tests/test_set_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_set_item_observer.py b/traits/observation/tests/test_set_item_observer.py index 45414a586..5c6006ec9 100644 --- a/traits/observation/tests/test_set_item_observer.py +++ b/traits/observation/tests/test_set_item_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_trait_added_observer.py b/traits/observation/tests/test_trait_added_observer.py index 122372dc6..e84edfe64 100644 --- a/traits/observation/tests/test_trait_added_observer.py +++ b/traits/observation/tests/test_trait_added_observer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_trait_change_event.py b/traits/observation/tests/test_trait_change_event.py index 3136bb20c..16081841e 100644 --- a/traits/observation/tests/test_trait_change_event.py +++ b/traits/observation/tests/test_trait_change_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/observation/tests/test_trait_event_notifier.py b/traits/observation/tests/test_trait_event_notifier.py index 640681e65..2565b70ae 100644 --- a/traits/observation/tests/test_trait_event_notifier.py +++ b/traits/observation/tests/test_trait_event_notifier.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/__init__.py b/traits/testing/__init__.py index d9892dd67..a20f661c4 100644 --- a/traits/testing/__init__.py +++ b/traits/testing/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/api.py b/traits/testing/api.py index 685216658..51287484b 100644 --- a/traits/testing/api.py +++ b/traits/testing/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/doctest_tools.py b/traits/testing/doctest_tools.py index 888a838d6..d134466d2 100644 --- a/traits/testing/doctest_tools.py +++ b/traits/testing/doctest_tools.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/nose_tools.py b/traits/testing/nose_tools.py index 04dca7185..5aa19ddbf 100644 --- a/traits/testing/nose_tools.py +++ b/traits/testing/nose_tools.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/optional_dependencies.py b/traits/testing/optional_dependencies.py index acda7c10e..e978b0353 100644 --- a/traits/testing/optional_dependencies.py +++ b/traits/testing/optional_dependencies.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/tests/test_nose_tools.py b/traits/testing/tests/test_nose_tools.py index 620c0f7ff..085654f22 100644 --- a/traits/testing/tests/test_nose_tools.py +++ b/traits/testing/tests/test_nose_tools.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/tests/test_optional_dependencies.py b/traits/testing/tests/test_optional_dependencies.py index dd7c82373..9c7953a2d 100644 --- a/traits/testing/tests/test_optional_dependencies.py +++ b/traits/testing/tests/test_optional_dependencies.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/tests/test_unittest_tools.py b/traits/testing/tests/test_unittest_tools.py index f013f3e5d..e6a2acdb3 100644 --- a/traits/testing/tests/test_unittest_tools.py +++ b/traits/testing/tests/test_unittest_tools.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/testing/unittest_tools.py b/traits/testing/unittest_tools.py index d1a40a509..27242456d 100644 --- a/traits/testing/unittest_tools.py +++ b/traits/testing/unittest_tools.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/__init__.py b/traits/tests/__init__.py index 3580eb493..8b3f371f2 100644 --- a/traits/tests/__init__.py +++ b/traits/tests/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/check_observe_timing.py b/traits/tests/check_observe_timing.py index 9fada9893..c552977d9 100644 --- a/traits/tests/check_observe_timing.py +++ b/traits/tests/check_observe_timing.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/check_timing.py b/traits/tests/check_timing.py index 9c9f66bf9..cb1650919 100644 --- a/traits/tests/check_timing.py +++ b/traits/tests/check_timing.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test-data/historical-pickles/generate_pickles.py b/traits/tests/test-data/historical-pickles/generate_pickles.py index 59745ba6f..fd1e2e142 100644 --- a/traits/tests/test-data/historical-pickles/generate_pickles.py +++ b/traits/tests/test-data/historical-pickles/generate_pickles.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_abc.py b/traits/tests/test_abc.py index d09682288..bcfe0e0c7 100644 --- a/traits/tests/test_abc.py +++ b/traits/tests/test_abc.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_any.py b/traits/tests/test_any.py index 05be94d22..2580979c5 100644 --- a/traits/tests/test_any.py +++ b/traits/tests/test_any.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_anytrait_static_notifiers.py b/traits/tests/test_anytrait_static_notifiers.py index 1cad2cc40..9f9e41f8b 100644 --- a/traits/tests/test_anytrait_static_notifiers.py +++ b/traits/tests/test_anytrait_static_notifiers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_array.py b/traits/tests/test_array.py index fa56d75e6..d94f431b5 100644 --- a/traits/tests/test_array.py +++ b/traits/tests/test_array.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_array_or_none.py b/traits/tests/test_array_or_none.py index 883779c2a..6c6815dc3 100644 --- a/traits/tests/test_array_or_none.py +++ b/traits/tests/test_array_or_none.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_automatic_adaptation.py b/traits/tests/test_automatic_adaptation.py index 08bf552a5..d23a1ed00 100644 --- a/traits/tests/test_automatic_adaptation.py +++ b/traits/tests/test_automatic_adaptation.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_bool.py b/traits/tests/test_bool.py index f9033ac4e..177e9d5e2 100644 --- a/traits/tests/test_bool.py +++ b/traits/tests/test_bool.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_callable.py b/traits/tests/test_callable.py index e13d09ad7..b863fa2d0 100644 --- a/traits/tests/test_callable.py +++ b/traits/tests/test_callable.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_class_traits.py b/traits/tests/test_class_traits.py index 7a3dbfef5..3d11f3b9b 100644 --- a/traits/tests/test_class_traits.py +++ b/traits/tests/test_class_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_clone.py b/traits/tests/test_clone.py index d195f8be7..33f6da680 100644 --- a/traits/tests/test_clone.py +++ b/traits/tests/test_clone.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_complex.py b/traits/tests/test_complex.py index 3ad1abcaf..cedb50e45 100644 --- a/traits/tests/test_complex.py +++ b/traits/tests/test_complex.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_configure_traits.py b/traits/tests/test_configure_traits.py index b7566e97e..28dfca975 100644 --- a/traits/tests/test_configure_traits.py +++ b/traits/tests/test_configure_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD @@ -155,4 +155,8 @@ def test_edit_not_given(self): warnings.simplefilter("always", DeprecationWarning) model.configure_traits() mock_view.assert_called_once() - self.assertEqual(len(captured_warnings), 0) + + all_warnings = "".join( + str(warning.message) for warning in captured_warnings + ) + self.assertNotIn("edit argument", all_warnings) diff --git a/traits/tests/test_constant.py b/traits/tests/test_constant.py index daf3afcc3..045321f30 100644 --- a/traits/tests/test_constant.py +++ b/traits/tests/test_constant.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_constants.py b/traits/tests/test_constants.py index 98c533362..123ea3d6b 100644 --- a/traits/tests/test_constants.py +++ b/traits/tests/test_constants.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_container_events.py b/traits/tests/test_container_events.py index f7beec345..11b451fbd 100644 --- a/traits/tests/test_container_events.py +++ b/traits/tests/test_container_events.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_copy_traits.py b/traits/tests/test_copy_traits.py index d0fbc6687..626271d3e 100644 --- a/traits/tests/test_copy_traits.py +++ b/traits/tests/test_copy_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_copyable_trait_names.py b/traits/tests/test_copyable_trait_names.py index 377c95d27..1f9445c8b 100644 --- a/traits/tests/test_copyable_trait_names.py +++ b/traits/tests/test_copyable_trait_names.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_ctraits.py b/traits/tests/test_ctraits.py index 2b1e233c7..977bf5e35 100644 --- a/traits/tests/test_ctraits.py +++ b/traits/tests/test_ctraits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_cythonized_traits.py b/traits/tests/test_cythonized_traits.py index ca7426ceb..810fb2b3f 100644 --- a/traits/tests/test_cythonized_traits.py +++ b/traits/tests/test_cythonized_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_date.py b/traits/tests/test_date.py index 2fcb083a5..604cb56a8 100644 --- a/traits/tests/test_date.py +++ b/traits/tests/test_date.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_datetime.py b/traits/tests/test_datetime.py index cf28e8756..e712b715a 100644 --- a/traits/tests/test_datetime.py +++ b/traits/tests/test_datetime.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_delegate.py b/traits/tests/test_delegate.py index 2b0e9cfd2..3481a5d09 100644 --- a/traits/tests/test_delegate.py +++ b/traits/tests/test_delegate.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_deprecated_handlers.py b/traits/tests/test_deprecated_handlers.py index 020033498..07fc1ce20 100644 --- a/traits/tests/test_deprecated_handlers.py +++ b/traits/tests/test_deprecated_handlers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_dict.py b/traits/tests/test_dict.py index e152fde67..7ba2dda13 100644 --- a/traits/tests/test_dict.py +++ b/traits/tests/test_dict.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_directory.py b/traits/tests/test_directory.py index db4b335fd..45d415d89 100644 --- a/traits/tests/test_directory.py +++ b/traits/tests/test_directory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_dynamic_notifiers.py b/traits/tests/test_dynamic_notifiers.py index d4bd014f1..a16447617 100644 --- a/traits/tests/test_dynamic_notifiers.py +++ b/traits/tests/test_dynamic_notifiers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_dynamic_trait_definition.py b/traits/tests/test_dynamic_trait_definition.py index a71eb2b14..7341d8892 100644 --- a/traits/tests/test_dynamic_trait_definition.py +++ b/traits/tests/test_dynamic_trait_definition.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_editor_factories.py b/traits/tests/test_editor_factories.py index 5b31761f2..ca7264345 100644 --- a/traits/tests/test_editor_factories.py +++ b/traits/tests/test_editor_factories.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_enum.py b/traits/tests/test_enum.py index b35632ab1..271d7f823 100644 --- a/traits/tests/test_enum.py +++ b/traits/tests/test_enum.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_event_order.py b/traits/tests/test_event_order.py index b263242cf..1102d68ed 100644 --- a/traits/tests/test_event_order.py +++ b/traits/tests/test_event_order.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_expression.py b/traits/tests/test_expression.py index 05799ed9d..1b8021355 100644 --- a/traits/tests/test_expression.py +++ b/traits/tests/test_expression.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_extended_notifiers.py b/traits/tests/test_extended_notifiers.py index eedff9f09..c56bed271 100644 --- a/traits/tests/test_extended_notifiers.py +++ b/traits/tests/test_extended_notifiers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_extended_trait_change.py b/traits/tests/test_extended_trait_change.py index 3f103e340..b3526b105 100644 --- a/traits/tests/test_extended_trait_change.py +++ b/traits/tests/test_extended_trait_change.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_file.py b/traits/tests/test_file.py index 5d3281264..bd23873a4 100644 --- a/traits/tests/test_file.py +++ b/traits/tests/test_file.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_float.py b/traits/tests/test_float.py index 661326771..a08c92905 100644 --- a/traits/tests/test_float.py +++ b/traits/tests/test_float.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_float_range.py b/traits/tests/test_float_range.py index 486f16d52..43a5fa6d8 100644 --- a/traits/tests/test_float_range.py +++ b/traits/tests/test_float_range.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_get_traits.py b/traits/tests/test_get_traits.py index d0135a6be..d50c785cb 100644 --- a/traits/tests/test_get_traits.py +++ b/traits/tests/test_get_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_has_required_traits.py b/traits/tests/test_has_required_traits.py index a8a691e32..a3c33b839 100644 --- a/traits/tests/test_has_required_traits.py +++ b/traits/tests/test_has_required_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_has_traits.py b/traits/tests/test_has_traits.py index 71287d8de..076c30121 100644 --- a/traits/tests/test_has_traits.py +++ b/traits/tests/test_has_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_historical_unpickling.py b/traits/tests/test_historical_unpickling.py index acfc5dcff..fa966f932 100644 --- a/traits/tests/test_historical_unpickling.py +++ b/traits/tests/test_historical_unpickling.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_instance.py b/traits/tests/test_instance.py index 012fc4af4..85df663ff 100644 --- a/traits/tests/test_instance.py +++ b/traits/tests/test_instance.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_int_range_long.py b/traits/tests/test_int_range_long.py index a7e464155..a102f941b 100644 --- a/traits/tests/test_int_range_long.py +++ b/traits/tests/test_int_range_long.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_integer.py b/traits/tests/test_integer.py index 3f05198bd..feb096e31 100644 --- a/traits/tests/test_integer.py +++ b/traits/tests/test_integer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_integer_range.py b/traits/tests/test_integer_range.py index 48fc64586..fde0a1225 100644 --- a/traits/tests/test_integer_range.py +++ b/traits/tests/test_integer_range.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_interface_checker.py b/traits/tests/test_interface_checker.py index d6e594ccd..31c642b0f 100644 --- a/traits/tests/test_interface_checker.py +++ b/traits/tests/test_interface_checker.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_interfaces.py b/traits/tests/test_interfaces.py index bed13ac97..f8c9c5296 100644 --- a/traits/tests/test_interfaces.py +++ b/traits/tests/test_interfaces.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_keyword_args.py b/traits/tests/test_keyword_args.py index 049bd833a..540a1011a 100644 --- a/traits/tests/test_keyword_args.py +++ b/traits/tests/test_keyword_args.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_list.py b/traits/tests/test_list.py index 5742f377b..2aa3768cc 100644 --- a/traits/tests/test_list.py +++ b/traits/tests/test_list.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_list_events.py b/traits/tests/test_list_events.py index 3e6c3e735..5f8234b66 100644 --- a/traits/tests/test_list_events.py +++ b/traits/tests/test_list_events.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_listeners.py b/traits/tests/test_listeners.py index 65fdd0dbe..8cd03d5e3 100644 --- a/traits/tests/test_listeners.py +++ b/traits/tests/test_listeners.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_long_traits.py b/traits/tests/test_long_traits.py index d2c6d4a09..aa15c4b49 100644 --- a/traits/tests/test_long_traits.py +++ b/traits/tests/test_long_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_map.py b/traits/tests/test_map.py index eb4b44caf..0960f3943 100644 --- a/traits/tests/test_map.py +++ b/traits/tests/test_map.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_new_notifiers.py b/traits/tests/test_new_notifiers.py index 5eb903fc8..de52348f7 100644 --- a/traits/tests/test_new_notifiers.py +++ b/traits/tests/test_new_notifiers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_none.py b/traits/tests/test_none.py index d732fbb4f..91314b70b 100644 --- a/traits/tests/test_none.py +++ b/traits/tests/test_none.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_observe.py b/traits/tests/test_observe.py index 2b71556a4..b25426d10 100644 --- a/traits/tests/test_observe.py +++ b/traits/tests/test_observe.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_pickle_validated_dict.py b/traits/tests/test_pickle_validated_dict.py index 353f046cb..14ace8871 100644 --- a/traits/tests/test_pickle_validated_dict.py +++ b/traits/tests/test_pickle_validated_dict.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_prefix_list.py b/traits/tests/test_prefix_list.py index 538e67f6a..90aa7ac36 100644 --- a/traits/tests/test_prefix_list.py +++ b/traits/tests/test_prefix_list.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_prefix_map.py b/traits/tests/test_prefix_map.py index 9695409a8..3f848a7a9 100644 --- a/traits/tests/test_prefix_map.py +++ b/traits/tests/test_prefix_map.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_property_delete.py b/traits/tests/test_property_delete.py index f898e97ce..41ef1003b 100644 --- a/traits/tests/test_property_delete.py +++ b/traits/tests/test_property_delete.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_property_notifications.py b/traits/tests/test_property_notifications.py index cf45d0bdd..05d22d13a 100644 --- a/traits/tests/test_property_notifications.py +++ b/traits/tests/test_property_notifications.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_python_properties.py b/traits/tests/test_python_properties.py index 24da355bb..a55f6fb29 100644 --- a/traits/tests/test_python_properties.py +++ b/traits/tests/test_python_properties.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_range.py b/traits/tests/test_range.py index c9d088b31..8908e8042 100644 --- a/traits/tests/test_range.py +++ b/traits/tests/test_range.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_readonly.py b/traits/tests/test_readonly.py index 30c197a02..93a0957d4 100644 --- a/traits/tests/test_readonly.py +++ b/traits/tests/test_readonly.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_regression.py b/traits/tests/test_regression.py index 9db92d2af..45b3f8f44 100644 --- a/traits/tests/test_regression.py +++ b/traits/tests/test_regression.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_rich_compare.py b/traits/tests/test_rich_compare.py index 96007750f..4e95b64de 100644 --- a/traits/tests/test_rich_compare.py +++ b/traits/tests/test_rich_compare.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_special_event_handlers.py b/traits/tests/test_special_event_handlers.py index 9f12bc6fc..150a76412 100644 --- a/traits/tests/test_special_event_handlers.py +++ b/traits/tests/test_special_event_handlers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_static_notifiers.py b/traits/tests/test_static_notifiers.py index a1c9a41c2..ecc2fd6af 100644 --- a/traits/tests/test_static_notifiers.py +++ b/traits/tests/test_static_notifiers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_str_handler.py b/traits/tests/test_str_handler.py index c87caf71f..d06ace1fd 100644 --- a/traits/tests/test_str_handler.py +++ b/traits/tests/test_str_handler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_string.py b/traits/tests/test_string.py index 2229d0369..f9f4916f1 100644 --- a/traits/tests/test_string.py +++ b/traits/tests/test_string.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_sync_traits.py b/traits/tests/test_sync_traits.py index e6b54cb8d..6c4ce01d7 100644 --- a/traits/tests/test_sync_traits.py +++ b/traits/tests/test_sync_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_target.py b/traits/tests/test_target.py index e59dd4182..278d054b8 100644 --- a/traits/tests/test_target.py +++ b/traits/tests/test_target.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_time.py b/traits/tests/test_time.py index 2f0fe69dd..624a2339c 100644 --- a/traits/tests/test_time.py +++ b/traits/tests/test_time.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_base.py b/traits/tests/test_trait_base.py index d02b00bd6..ad0be92cc 100644 --- a/traits/tests/test_trait_base.py +++ b/traits/tests/test_trait_base.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_change_event_tracer.py b/traits/tests/test_trait_change_event_tracer.py index b73628ac8..b1f716f50 100644 --- a/traits/tests/test_trait_change_event_tracer.py +++ b/traits/tests/test_trait_change_event_tracer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_converters.py b/traits/tests/test_trait_converters.py index b2caa5942..66dcd8346 100644 --- a/traits/tests/test_trait_converters.py +++ b/traits/tests/test_trait_converters.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_cycle.py b/traits/tests/test_trait_cycle.py index 52d7b0ed9..45da2a118 100644 --- a/traits/tests/test_trait_cycle.py +++ b/traits/tests/test_trait_cycle.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_default_initializer.py b/traits/tests/test_trait_default_initializer.py index 8f230b891..41885cf30 100644 --- a/traits/tests/test_trait_default_initializer.py +++ b/traits/tests/test_trait_default_initializer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_dict_list_set_event.py b/traits/tests/test_trait_dict_list_set_event.py index 16d7ad290..7e721b4af 100644 --- a/traits/tests/test_trait_dict_list_set_event.py +++ b/traits/tests/test_trait_dict_list_set_event.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_dict_object.py b/traits/tests/test_trait_dict_object.py index f5cd4be85..d033df5d8 100644 --- a/traits/tests/test_trait_dict_object.py +++ b/traits/tests/test_trait_dict_object.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_exceptions.py b/traits/tests/test_trait_exceptions.py index 3637b3afd..07c8caa2a 100644 --- a/traits/tests/test_trait_exceptions.py +++ b/traits/tests/test_trait_exceptions.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_get_set.py b/traits/tests/test_trait_get_set.py index fdb543737..7a82012b7 100644 --- a/traits/tests/test_trait_get_set.py +++ b/traits/tests/test_trait_get_set.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_list_dict.py b/traits/tests/test_trait_list_dict.py index 239e7cda6..153d00fd1 100644 --- a/traits/tests/test_trait_list_dict.py +++ b/traits/tests/test_trait_list_dict.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_list_object.py b/traits/tests/test_trait_list_object.py index 80a50f7bc..46e68be0c 100644 --- a/traits/tests/test_trait_list_object.py +++ b/traits/tests/test_trait_list_object.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_prefix_list.py b/traits/tests/test_trait_prefix_list.py index b589deec3..12ab398be 100644 --- a/traits/tests/test_trait_prefix_list.py +++ b/traits/tests/test_trait_prefix_list.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_set_object.py b/traits/tests/test_trait_set_object.py index 321b67674..94e358114 100644 --- a/traits/tests/test_trait_set_object.py +++ b/traits/tests/test_trait_set_object.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_trait_types.py b/traits/tests/test_trait_types.py index 561426639..84dd8d990 100644 --- a/traits/tests/test_trait_types.py +++ b/traits/tests/test_trait_types.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_traits.py b/traits/tests/test_traits.py index 1202da16f..65623ac0f 100644 --- a/traits/tests/test_traits.py +++ b/traits/tests/test_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_traits_listener.py b/traits/tests/test_traits_listener.py index 8da97157e..fdd3e7383 100644 --- a/traits/tests/test_traits_listener.py +++ b/traits/tests/test_traits_listener.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_tuple.py b/traits/tests/test_tuple.py index 367a61e0a..ecd478d59 100644 --- a/traits/tests/test_tuple.py +++ b/traits/tests/test_tuple.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_type.py b/traits/tests/test_type.py index c37a91021..e4a138d01 100644 --- a/traits/tests/test_type.py +++ b/traits/tests/test_type.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_ui_notifiers.py b/traits/tests/test_ui_notifiers.py index b38f5d7c6..ea019f7e8 100644 --- a/traits/tests/test_ui_notifiers.py +++ b/traits/tests/test_ui_notifiers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_undefined.py b/traits/tests/test_undefined.py index 0d9468a4e..abaae5c58 100644 --- a/traits/tests/test_undefined.py +++ b/traits/tests/test_undefined.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_unicode_traits.py b/traits/tests/test_unicode_traits.py index 1b0cb4b88..5fee58f12 100644 --- a/traits/tests/test_unicode_traits.py +++ b/traits/tests/test_unicode_traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_union.py b/traits/tests/test_union.py index 75581ee49..c093fb004 100644 --- a/traits/tests/test_union.py +++ b/traits/tests/test_union.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_uuid.py b/traits/tests/test_uuid.py index 97d2065d2..71288504b 100644 --- a/traits/tests/test_uuid.py +++ b/traits/tests/test_uuid.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_validated_tuple.py b/traits/tests/test_validated_tuple.py index 0c8ecdc42..2ca7961c4 100644 --- a/traits/tests/test_validated_tuple.py +++ b/traits/tests/test_validated_tuple.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_version.py b/traits/tests/test_version.py index 17e28c94c..4943e2d2a 100644 --- a/traits/tests/test_version.py +++ b/traits/tests/test_version.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_view_elements.py b/traits/tests/test_view_elements.py index bb8225258..c2627b7c5 100644 --- a/traits/tests/test_view_elements.py +++ b/traits/tests/test_view_elements.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/test_weak_ref.py b/traits/tests/test_weak_ref.py index f2d6372aa..05a3035e5 100644 --- a/traits/tests/test_weak_ref.py +++ b/traits/tests/test_weak_ref.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/tests/tuple_test_mixin.py b/traits/tests/tuple_test_mixin.py index 54eab4ab3..e8b192aad 100644 --- a/traits/tests/tuple_test_mixin.py +++ b/traits/tests/tuple_test_mixin.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_base.py b/traits/trait_base.py index b4c8707dd..dd9593f54 100644 --- a/traits/trait_base.py +++ b/traits/trait_base.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_converters.py b/traits/trait_converters.py index ceffc7638..33a442e46 100644 --- a/traits/trait_converters.py +++ b/traits/trait_converters.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_dict_object.py b/traits/trait_dict_object.py index 3a4cd96f6..d39a41ba4 100644 --- a/traits/trait_dict_object.py +++ b/traits/trait_dict_object.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_errors.py b/traits/trait_errors.py index 1b2153ee9..b4c7e7d7d 100644 --- a/traits/trait_errors.py +++ b/traits/trait_errors.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_factory.py b/traits/trait_factory.py index 7d654882e..0519460e6 100644 --- a/traits/trait_factory.py +++ b/traits/trait_factory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_handler.py b/traits/trait_handler.py index 2833d3db5..af6264e6b 100644 --- a/traits/trait_handler.py +++ b/traits/trait_handler.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_handlers.py b/traits/trait_handlers.py index 08c8d533b..30794db7f 100644 --- a/traits/trait_handlers.py +++ b/traits/trait_handlers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_list_object.py b/traits/trait_list_object.py index c32a36e8b..0c9f8e5ce 100644 --- a/traits/trait_list_object.py +++ b/traits/trait_list_object.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_notifiers.py b/traits/trait_notifiers.py index 7626cf941..6ebf692d0 100644 --- a/traits/trait_notifiers.py +++ b/traits/trait_notifiers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_numeric.py b/traits/trait_numeric.py index 79ab4be2c..e3effbd7c 100644 --- a/traits/trait_numeric.py +++ b/traits/trait_numeric.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_set_object.py b/traits/trait_set_object.py index 9e5031bb6..e608d793e 100644 --- a/traits/trait_set_object.py +++ b/traits/trait_set_object.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_type.py b/traits/trait_type.py index ea7280832..07bfb3990 100644 --- a/traits/trait_type.py +++ b/traits/trait_type.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/trait_types.py b/traits/trait_types.py index 63d402f53..4c28d5cb2 100644 --- a/traits/trait_types.py +++ b/traits/trait_types.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/traits.py b/traits/traits.py index cd0692f0a..e9971d530 100644 --- a/traits/traits.py +++ b/traits/traits.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/traits_listener.py b/traits/traits_listener.py index e07d8978f..d0680d1a3 100644 --- a/traits/traits_listener.py +++ b/traits/traits_listener.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/__init__.py b/traits/util/__init__.py index 612fa8294..d69f34b9e 100644 --- a/traits/util/__init__.py +++ b/traits/util/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/_traitsui_helpers.py b/traits/util/_traitsui_helpers.py deleted file mode 100644 index 6d5066f91..000000000 --- a/traits/util/_traitsui_helpers.py +++ /dev/null @@ -1,40 +0,0 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - -""" Functions to help removing TraitsUI being a dependency of Traits. - -Used internally by traits only. -""" -# All imports of TraitsUI should be delayed. - - -def check_traitsui_major_version(major): - """ Raise RuntimeError if TraitsUI major version is less than the required - value. - - Used internally in traits only. - - Parameters - ---------- - major : int - Required TraitsUI major version. - - Raises - ------ - RuntimeError - """ - from traitsui import __version__ as traitsui_version - actual_major, _ = traitsui_version.split(".", 1) - actual_major = int(actual_major) - if actual_major < major: - raise RuntimeError( - "TraitsUI {} or higher is required. Got version {!r}".format( - major, traitsui_version) - ) diff --git a/traits/util/api.py b/traits/util/api.py index 812e52572..32df8d203 100644 --- a/traits/util/api.py +++ b/traits/util/api.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/async_trait_wait.py b/traits/util/async_trait_wait.py index 0cafdd62d..e7cc8e476 100644 --- a/traits/util/async_trait_wait.py +++ b/traits/util/async_trait_wait.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/camel_case.py b/traits/util/camel_case.py index b45e69b04..48369b6aa 100644 --- a/traits/util/camel_case.py +++ b/traits/util/camel_case.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/clean_strings.py b/traits/util/clean_strings.py index c137d83f2..1276c60b8 100644 --- a/traits/util/clean_strings.py +++ b/traits/util/clean_strings.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/deprecated.py b/traits/util/deprecated.py index a2c221e60..f834ece53 100644 --- a/traits/util/deprecated.py +++ b/traits/util/deprecated.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/event_tracer.py b/traits/util/event_tracer.py index f4c1ee723..0769f315f 100644 --- a/traits/util/event_tracer.py +++ b/traits/util/event_tracer.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/home_directory.py b/traits/util/home_directory.py index 44aaff752..4c7bf7081 100644 --- a/traits/util/home_directory.py +++ b/traits/util/home_directory.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/import_symbol.py b/traits/util/import_symbol.py index 7cbf30598..f0545c7e5 100644 --- a/traits/util/import_symbol.py +++ b/traits/util/import_symbol.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/resource.py b/traits/util/resource.py index 77559c2e9..e69497b15 100644 --- a/traits/util/resource.py +++ b/traits/util/resource.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_async_trait_wait.py b/traits/util/tests/test_async_trait_wait.py index 6c3822754..457c12106 100644 --- a/traits/util/tests/test_async_trait_wait.py +++ b/traits/util/tests/test_async_trait_wait.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_camel_case.py b/traits/util/tests/test_camel_case.py index b6d4c3341..72e880a80 100644 --- a/traits/util/tests/test_camel_case.py +++ b/traits/util/tests/test_camel_case.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_clean_strings.py b/traits/util/tests/test_clean_strings.py index d9f9fd2bd..c4b0595e1 100644 --- a/traits/util/tests/test_clean_strings.py +++ b/traits/util/tests/test_clean_strings.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_deprecated.py b/traits/util/tests/test_deprecated.py index 2e27a4813..b569d920a 100644 --- a/traits/util/tests/test_deprecated.py +++ b/traits/util/tests/test_deprecated.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_import_symbol.py b/traits/util/tests/test_import_symbol.py index 222459628..f20f93b1b 100644 --- a/traits/util/tests/test_import_symbol.py +++ b/traits/util/tests/test_import_symbol.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_message_records.py b/traits/util/tests/test_message_records.py index f015bf36e..b6100aeca 100644 --- a/traits/util/tests/test_message_records.py +++ b/traits/util/tests/test_message_records.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_record_containers.py b/traits/util/tests/test_record_containers.py index 084294532..93f3ce492 100644 --- a/traits/util/tests/test_record_containers.py +++ b/traits/util/tests/test_record_containers.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_record_events.py b/traits/util/tests/test_record_events.py index 9bf575d8b..ace22b77c 100644 --- a/traits/util/tests/test_record_events.py +++ b/traits/util/tests/test_record_events.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_resource.py b/traits/util/tests/test_resource.py index beb161a09..eb57f1044 100644 --- a/traits/util/tests/test_resource.py +++ b/traits/util/tests/test_resource.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_trait_documenter.py b/traits/util/tests/test_trait_documenter.py index 81ac73886..d06d36d46 100644 --- a/traits/util/tests/test_trait_documenter.py +++ b/traits/util/tests/test_trait_documenter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/tests/test_traitsui_helpers.py b/traits/util/tests/test_traitsui_helpers.py deleted file mode 100644 index 617f05914..000000000 --- a/traits/util/tests/test_traitsui_helpers.py +++ /dev/null @@ -1,41 +0,0 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX -# All rights reserved. -# -# This software is provided without warranty under the terms of the BSD -# license included in LICENSE.txt and may be redistributed only under -# the conditions described in the aforementioned license. The license -# is also available online at http://www.enthought.com/licenses/BSD.txt -# -# Thanks for using Enthought open source! - - -import unittest -from unittest import mock - -from traits.testing.optional_dependencies import requires_traitsui -from traits.util._traitsui_helpers import check_traitsui_major_version - - -@requires_traitsui -class TestTraitsUIHelper(unittest.TestCase): - - def test_check_version_error(self): - - with mock.patch("traitsui.__version__", "6.1.2"): - with self.assertRaises(RuntimeError) as exception_context: - check_traitsui_major_version(7) - - self.assertEqual( - str(exception_context.exception), - "TraitsUI 7 or higher is required. Got version '6.1.2'" - ) - - def test_check_version_okay(self): - with mock.patch("traitsui.__version__", "7.0.0"): - try: - check_traitsui_major_version(7) - except Exception: - self.fail( - "Given TraitsUI version is okay, " - "sanity check unexpectedly failed." - ) diff --git a/traits/util/tests/test_weakidddict.py b/traits/util/tests/test_weakidddict.py index b710e497e..2a629b361 100644 --- a/traits/util/tests/test_weakidddict.py +++ b/traits/util/tests/test_weakidddict.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/toposort.py b/traits/util/toposort.py index 47cacf9ae..6190be715 100644 --- a/traits/util/toposort.py +++ b/traits/util/toposort.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/trait_documenter.py b/traits/util/trait_documenter.py index b9cb7efac..853c83bed 100644 --- a/traits/util/trait_documenter.py +++ b/traits/util/trait_documenter.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD diff --git a/traits/util/weakiddict.py b/traits/util/weakiddict.py index 05fa993ca..74293183e 100644 --- a/traits/util/weakiddict.py +++ b/traits/util/weakiddict.py @@ -1,4 +1,4 @@ -# (C) Copyright 2005-2022 Enthought, Inc., Austin, TX +# (C) Copyright 2005-2023 Enthought, Inc., Austin, TX # All rights reserved. # # This software is provided without warranty under the terms of the BSD