Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source file found twice under different module names #141

Closed
jaraco opened this issue Nov 8, 2022 · 3 comments
Closed

Source file found twice under different module names #141

jaraco opened this issue Nov 8, 2022 · 3 comments

Comments

@jaraco
Copy link

jaraco commented Nov 8, 2022

Starting with mypy 0.990, when testing a module in a namespace, mypy starts emitting errors when it encounters that module:

 error: Source file found twice under different module names: "abode" and "jaraco.abode"

The issue almost certainly has the same root cause as pytest-dev/pytest#3396. Pytest is too reliant on the old assumption that a directory without an __init__.py is not a package, but that assumption doesn't hold since Python 3.3.

jaraco added a commit to jaraco/skeleton that referenced this issue Nov 8, 2022
@jaraco
Copy link
Author

jaraco commented Nov 10, 2022

I observe that a similar error occurs when running the mypy manually:

 jaraco.abode main $ .tox/python/bin/mypy .
jaraco/abode/helpers/constants.py: error: Source file found twice under different module names: "abode.helpers.constants" and "jaraco.abode.helpers.constants"
jaraco/abode/helpers/constants.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
jaraco/abode/helpers/constants.py: note: Common resolutions include: a) adding `__init__.py` somewhere, b) using `--explicit-package-bases` or adjusting MYPYPATH
Found 1 error in 1 file (errors prevented further checking)

@jaraco
Copy link
Author

jaraco commented Nov 10, 2022

It seems that mypy is giving a poor experience by default to namespace packages, and can be worked around by setting explicit package bases in the command line or config file.

@jaraco
Copy link
Author

jaraco commented Nov 10, 2022

Closing in favor of python/mypy#14057.

@jaraco jaraco closed this as completed Nov 10, 2022
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.text that referenced this issue Nov 22, 2022
… version 3.11.0

Jason R. Coombs (4):
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add script to strip a prefix from a stream.
clrpackages pushed a commit to clearlinux-pkgs/pypi-tempora that referenced this issue Nov 22, 2022
…ion 5.1.0

Jason R. Coombs (20):
      Use '-dev' for every Python version. Ref actions/setup-python#213.
      Use Python 3.11 for cutting releases.
      Pin flake8. Workaround for tholo/pytest-flake8#87.
      Update to setup-python v4. Fixes jaraco/skeleton#65.
      Also update release to v4
      Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63.
      When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197.
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Update syntax
      Extract function 'infer_datetime'. Add some type annotations.
      Use algebra to construct subs in a single expression.
      Add type hints to _prorated_values.
      Update changelog.

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.context that referenced this issue Nov 22, 2022
…to version 4.2.0

Jason R. Coombs (15):
      Use '-dev' for every Python version. Ref actions/setup-python#213.
      Use Python 3.11 for cutting releases.
      Pin flake8. Workaround for tholo/pytest-flake8#87.
      Update to setup-python v4. Fixes jaraco/skeleton#65.
      Also update release to v4
      Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63.
      When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197.
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add on_interrupt decorator.
      Add Python 3.7 compatibility.

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
clrpackages pushed a commit to clearlinux-pkgs/pypi-setuptools that referenced this issue Nov 22, 2022
…version 65.6.0

Anderson Bravalheri (6):
      Fix misspelling in docs/userguide/development_mode.rst
      Highlight in docs: 'attr' directive needs MANIFEST.in config / SCM plugin
      Ensure pyproject.toml accepts UTF-8 in maintainers
      Minor stylistic change
      Minor stylistic change
      Minor stylistic change

Jason R. Coombs (39):
      Remove docstring in distutils
      Prefer partition for splitting a string.
      Remove readme
      Prefer relative imports for better portability.
      No need to save 'threshold' on the instance.
      Use monkeypatch to set log and threshold.
      Extract fixture for capturing logs in _util modules.
      Expand 'logs' fixture to support features needed by LoggingSilencer.
      Consolidate fixture for capturing logs. Removes LoggingSilencer.
      Prefer capsys to test.support.captured*
      Fix broken test
      Prefer caplog to mocking the logging interface.
      GHA pretty env (#67)
      or maybe not
      Remove setting of dll_libraries in Mingw32CCompiler. One call superseded the other, and the result was redundant with what happens in the parent call.
      Short circuit when MSC version is not found.
      Prefer partition to find.
      Work with ints uniformally.
      Replace if/else with a lookup.
      Move lookup out of the function
      Prefer regex search to string manipulation.
      Use RangeMap to define the ranges in one place.
      Use try/except when assigning msc_ver.
      👹 Feed the hobgoblins (delint).
      Re-paste RangeMap with newlines restored (unsure what made them disappear).
      Pin pytest to <7.2. Workaround for pypa/distutils#186.
      In TempdirManager, use pathlib and more_itertools to more simply write the text.
      Rewrite init/for/append loop as comprehension and if/else as tertiary statement.
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Replace bespoke logging facility with logging module, available since Python 2.3.
      Avoid use of the distutils.log module.
      Log to the root logger, as that's the one Setuptools patches/validates.
      ⚫ Fade to black.
      Skip test under xdist as it fails after migrating to Python logging. Ref pypa/distutils#183. Workaround for pytest/pytest-xdist#843.
      Skip an additional test under xdist. Ref pypa/distutils#183. Expanded workaround for pytest-dev/pytest-xdist#843.
      Update changelog.
      Bump version: 65.5.1 → 65.6.0

Sviatoslav Sydorenko (8):
      Make the `check` job a central gate in the CI
      Allow skipping `integration-test` unconditionally
      Upload accurate coverage flags from unit tests job
      Use job id as a coverage flag
      Report coverage from Cygwin jobs
      Explicitly point Codecov at `coverage.xml`
      Use an absolute path for codecov uploads
      Add a test for maintainers w/ international emails

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)

shripadbadithe (1):
      Fix typo in docs/userguide/development_mode.rst
clrpackages pushed a commit to clearlinux-pkgs/pypi-zipp that referenced this issue Nov 29, 2022
…n 3.11.0

Jason R. Coombs (16):
      GHA pretty env (#67)
      Add 3.12 to compatibility list.
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Remove unused import.
      Re-implement glob directly, adding compatibility for older Pythons and avoids platform-specific concerns.
      Add docstring to __eq__, covering NotImplemented types.
      Add test capturing empty glob pattern.
      Use PurePosixPath for relative paths within a zip file. Fixes failing test on Windows. Added test for relative paths with subdirectories.
      Remove constraint that the result of relative_to is a pathlib object. Instead, assert that its string value resolves to the expected value.
      Reimplement relative_to using posixpath primitives.
      Move inline comment to docstring and expand org.
      Update changelog.

Julian Berman (1):
      Teach zipp.Path some additional pathlib.Path methods.

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
clrpackages pushed a commit to clearlinux-pkgs/pypi-importlib_metadata that referenced this issue Nov 29, 2022
…0.0 to version 5.1.0

Jason R. Coombs (16):
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      Simply wrap .matches instead of replacing EntryPoint.
      Add minimum retention of DeprecatedTuple. Ref #409, Ref #348.
      Fix warning in plural of Import Package.
      Correct syntax is without the space.
      GHA pretty env (#67)
      Add row for Python 3.12 to compatibility map.
      Update compatibility matrix to reflect 4.13 in 3.11 (python/cpython#98875).
      Python 3.10 is synced mainly through 4.6 (plus bugfixes).
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Update changelog.
      Add note to docs about limitation of packages_distributions. Fixes #402.

Julien Palard (1):
      Doc: missing underscore in hyperlink. (GH-98391)

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)

layday (1):
      Fix `SimplePath` protocol
clrpackages pushed a commit to clearlinux-pkgs/pypi-importlib_resources that referenced this issue Dec 13, 2022
….10.0 to version 5.10.1

Jason R. Coombs (9):
      GHA pretty env (#67)
      Bump importlib_resources version synced to stdlib.
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Update changelog
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.

Karthikeyan Singaravelan (1):
      Fix ResourceWarning due to unclosed file resource.

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
clrpackages pushed a commit to clearlinux-pkgs/pypi-keyring that referenced this issue Dec 21, 2022
…rsion 23.13.1

Andreas Maier (1):
      Fixed install error on Windows with Python 3.8+

Jason R. Coombs (22):
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Update tidelift boilerplate with proper reference.
      Add jaraco to funding.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.
      Remove PSF license. It wasn't really valid in this form anyway. Fixes #607.
      tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74.
      Remove unnecessary shebang and encoding header in docs conf.
      Prevent Python 3.12 from blocking checks.
      Update changelog
      Declare choices using choices keyword. Ref #611.
      Move all completion logic into a completion module.
      Move zsh to its own file and load it using importlib resources.
      Update README to use imperative voice. Add consideration about macOS Homebrew on Apple Silicon. Corrected typos. Updated to match style of other sections. Moved completions into its own section.
      Update changelog
      Add test capturing failed expectation. Ref #573.
      Delete the password even if blank. Fixes #573.
      Update changelog. Ref #573.

Wu Zhenyu (1):
      Fix #608

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.functools that referenced this issue Feb 21, 2023
…2 to version 3.6.0

Jason R. Coombs (28):
      Update documentation of call_aside detailing the motivation and benefits of the construct.
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.
      tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74.
      Remove unnecessary shebang and encoding header in docs conf.
      Prevent Python 3.12 from blocking checks.
      Build docs in CI, including sphinx-lint.
      Restore doctests by utilizing importlib. Ref pytest-dev/pytest#3396.
      Put tidelift docs dependency in its own section to limit merge conflicts.
      Update badge for 2023
      ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default.
      Enable default encoding warning where available. See PEP 597.
      Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67.
      Exempt warning. Workaround for realpython/pytest-mypy#152
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      Renamed 'call_aside' to 'invoke'. Fixes #21.
      Replace 'called_with' with 'assert_called_with'.
      🚡 Toil the docs.

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.collections that referenced this issue Mar 25, 2023
…8.0 to version 3.9.0

Jason R. Coombs (24):
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.
      tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74.
      Remove unnecessary shebang and encoding header in docs conf.
      Prevent Python 3.12 from blocking checks.
      Build docs in CI, including sphinx-lint.
      Restore doctests by utilizing importlib. Ref pytest-dev/pytest#3396.
      Put tidelift docs dependency in its own section to limit merge conflicts.
      Update badge for 2023
      ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default.
      Enable default encoding warning where available. See PEP 597.
      Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67.
      Exempt warning. Workaround for realpython/pytest-mypy#152
      Remove superfluous str calls.
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      🚡 Toil the docs.
      Use set intersection len for DictFilter. Fixes #12.
clrpackages pushed a commit to clearlinux-pkgs/pypi-inflect that referenced this issue Apr 11, 2023
…ion 6.0.4

James Addison (4):
      Add illustrative test coverage
      Apply a minimal fix to allow the test cases to pass
      Test coverage: ordinals for real numbers
      Code style: apply updated black v23 style rules

Jason R. Coombs (33):
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.
      tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74.
      Remove unnecessary shebang and encoding header in docs conf.
      Prevent Python 3.12 from blocking checks.
      Build docs in CI, including sphinx-lint.
      Put tidelift docs dependency in its own section to limit merge conflicts.
      Update badge for 2023
      ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default.
      Add test capturing missed expectation in leading abbreviations. Ref #136.
      Enable default encoding warning where available. See PEP 597.
      Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67.
      Exempt warning. Workaround for realpython/pytest-mypy#152
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      Remove xfail now that test passes. Ref #179.
      Remove extra noqa. Fixes #177.
      Fix ResourceWarnings in tests.
      Remove commented code.
      Inline getwords
      Remove commented code.
      Extract filter function for suitable_for_pl_si
      Parameterize function instead of repeating one's self.
      Parameterize 'words' in test_pl_si
      Inline words parameterization, as it only has two words.
      Revert "Remove extra noqa. Fixes #177."
      Update changelog.

Khuyen Tran (1):
      Change the parameter for gender in README

kimgerdes (1):
      fix a/an issue 136 as indicated by tonywu7
jaraco added a commit to jaraco/jaraco.vcs that referenced this issue Jun 20, 2023
clrpackages pushed a commit to clearlinux-pkgs/pypi-portend that referenced this issue Jun 29, 2023
…ion 3.2.0

Anderson Bravalheri (2):
      Ignore flake8/black warnings with pytest 7.0.1 (jaraco/skeleton#58)
      Update Github actions to v3 (#62)

Hugo van Kemenade (1):
      Update base URL for PEPs (#61)

Jason R. Coombs (56):
      Remove filtered warnings, addressed upstream.
      Update badge year
      Remove setup.py, no longer needed.
      Add exclusions for pytest 7 deprecations in plugins. Fixes jaraco/skeleton#57.
      Use the parent category PytestDeprecationWarning, which is available on older pytest versions. Fixes jaraco/skeleton#57.
      Bump pytest-mypy and remove workaround for realpython/pytest-mypy#131.
      Require jaraco.packaging 9 adding compatibility for projects with no setup.py file.
      Ran pre-commit autoupdate
      Add Python 3.11 into the matrix using workaround from actions/setup-python#213. Drop 3.9 from matrix for efficiency.
      Prefer spaces for rst. Fixes jaraco/skeleton#64.
      Honor PEP 518 with pytest-enabler.
      Ran pre-commit autoupdate
      Use '-dev' for every Python version. Ref actions/setup-python#213.
      Use Python 3.11 for cutting releases.
      Pin flake8. Workaround for tholo/pytest-flake8#87.
      Update to setup-python v4. Fixes jaraco/skeleton#65.
      Also update release to v4
      Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63.
      When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197.
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.
      tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74.
      Remove unnecessary shebang and encoding header in docs conf.
      Prevent Python 3.12 from blocking checks.
      Build docs in CI, including sphinx-lint.
      Update badge for 2023
      ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default.
      Enable default encoding warning where available. See PEP 597.
      Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67.
      Exempt warning. Workaround for realpython/pytest-mypy#152
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78.
      Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt.
      Make substitution fields more prominent and distinct from true 'skeleton' references. (#71)
      Suppress EncodingWarning in build.env. Ref pypa/build#615.
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
      Add badge for Ruff.
      Remove inclusion of python version for docs
      Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
      Replace workaround for actions/setup-python#508 with 'allow-prereleases'
      Remove tox boilerplate, no longer necessary with later versions of tox.
      Require Python 3.8 or later.
      Expand 'finalize' to commit and tag the change.
      Leverage pytest-enabler 2.2 for the default config.
      Finalize

Joyce (1):
      Feat: initial permissions to main.yml (jaraco/skeleton#76)

Sviatoslav Sydorenko (1):
      Inject check job into CI workflow as ultimate flag (#55)

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)

wim glenn (1):
      exclude build env from cov reporting (#60)
clrpackages pushed a commit to clearlinux-pkgs/pypi-configparser that referenced this issue Jul 11, 2023
… version 6.0.0

Jason R. Coombs (61):
      Add PyPy to the test matrix on Linux. Fixes jaraco/skeleton#63.
      When rendering docs, preserve the syntax for defaults. Fixes jaraco/path#197.
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.
      tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74.
      Remove unnecessary shebang and encoding header in docs conf.
      Prevent Python 3.12 from blocking checks.
      Run tests on Windows again. Fixes #58.
      Exclude Python 3.7 + Windows from the matrix as permanent workaround for #58.
      Build docs in CI, including sphinx-lint.
      Put tidelift docs dependency in its own section to limit merge conflicts.
      Remove 'configparser' as that renders the stdlib docs.
      Update badge for 2023
      ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default.
      Enable default encoding warning where available. See PEP 597.
      Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67.
      Exempt warning. Workaround for realpython/pytest-mypy#152
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      ⚫ Fade to black.
      Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78.
      Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt.
      Make substitution fields more prominent and distinct from true 'skeleton' references. (#71)
      Suppress EncodingWarning in build.env. Ref pypa/build#615.
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
      Add badge for Ruff.
      Remove inclusion of python version for docs
      Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
      Replace workaround for actions/setup-python#508 with 'allow-prereleases'
      Remove tox boilerplate, no longer necessary with later versions of tox.
      Require Python 3.8 or later.
      Expand 'finalize' to commit and tag the change.
      Leverage pytest-enabler 2.2 for the default config.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Normalized headings in readme.
      👹 Feed the hobgoblins (delint).
      Bump exclusion to Python 3.8 now that Windows tests run there. Closes #67.
      Restore Windows tests on older Pythons (#68)
      Comment out just the option.
      cpython-v3.12.0b3 rev=f992a60014b7
      Apply pyupgrade for Python 3.8+ to test_backport.
      Move tests out of the package.
      Move package out of src
      Re-enable doctests now that pytest-dev/pytest#3396 is solved.
      Remove legacy support in configparser module.
      Skip unimportant coverage checks
      Finalize

Joyce (1):
      Feat: initial permissions to main.yml (jaraco/skeleton#76)

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
clrpackages pushed a commit to clearlinux-pkgs/pypi-jaraco.classes that referenced this issue Jul 11, 2023
…to version 3.3.0

Jason R. Coombs (43):
      Adopt furo theme for docs.
      Indicate to use latest Python version (workaround for readthedocs/readthedocs.org/#9623). Requires also specifying the OS version (workaround for readthedocs/readthedocs.org#9635).
      GHA pretty env (#67)
      Pin mypy to '<0.990' due to realpython/pytest-mypy#141
      Remove the hyperlink for the Python versions badge. The PyPI badge is a better anchor for the hyperlink.
      Apply explicit_package_bases for mypy and unpin the version. Ref python/mypy#14057.
      Add Python 3.12 to matrix. Only test 3.8-3.10 on Linux.
      Disable flake8 on Python 3.12. Workaround for tholo/pytest-flake8#87.
      Honor ResourceWarnings. Fixes jaraco/skeleton#73.
      tox 4 requires a boolean value, so use '1' to FORCE_COLOR. Fixes jaraco/skeleton#74.
      Remove unnecessary shebang and encoding header in docs conf.
      Prevent Python 3.12 from blocking checks.
      Build docs in CI, including sphinx-lint.
      Put tidelift docs dependency in its own section to limit merge conflicts.
      Update badge for 2023
      ALLOW_UNICODE no longer needed on Python 3. As a result, ELLIPSES is also now enabled by default.
      Enable default encoding warning where available. See PEP 597.
      Suppress EncodingWarning in pytest_black. Workaround for shopkeep/pytest-black#67.
      Exempt warning. Workaround for realpython/pytest-mypy#152
      Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Revert "exclude build env from cov reporting (jaraco/skeleton#60)"
      Disable couldnt-parse warnings. Prescribed workaround for nedbat/coveragepy#1392. Fixes python/importlib_resources#279 and fixes jaraco/skeleton#56.
      Remove unnecessary and incorrect copyright notice. Fixes jaraco/skeleton#78.
      Replace flake8 with ruff. Fixes jaraco/skeleton#79 and sheds debt.
      Make substitution fields more prominent and distinct from true 'skeleton' references. (#71)
      Suppress EncodingWarning in build.env. Ref pypa/build#615.
      Remove reference to EncodingWarning as it doesn't exist on some Pythons.
      Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
      Add badge for Ruff.
      Remove inclusion of python version for docs
      Adopt towncrier for managing changelog. Fixes jaraco/skeleton#83.
      Replace workaround for actions/setup-python#508 with 'allow-prereleases'
      Remove tox boilerplate, no longer necessary with later versions of tox.
      Require Python 3.8 or later.
      Expand 'finalize' to commit and tag the change.
      Leverage pytest-enabler 2.2 for the default config.
      Prefer 3.x for Python version (latest stable).
      Collapse skeleton history. Workaround for jaraco/skeleton#87.
      Add links to project home page and pypi. Fixes jaraco/skeleton#77.
      Replace redundant step names with simple 'Run'.
      Increase visibility of security policy. (#4)
      Finalize

Joyce (1):
      Feat: initial permissions to main.yml (jaraco/skeleton#76)

Zach Burnett (1):
      rename `.readthedocs.yml` to `.readthedocs.yaml` (RTD docs indicate that `.readthedocs.yml` will be deprecated) (#68)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant