- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 19.2k
Closed
Labels
Description
Pandas version checks
- 
I have checked that this issue has not already been reported. 
- 
I have confirmed this bug exists on the latest version of pandas. 
- 
I have confirmed this bug exists on the main branch of pandas. 
Reproducible Example
The failure is visible in GitHub Actions.
Steps
- Push any branch that is up-to-date with pandas-dev/main, or open a fresh PR.
- Observe workflow Code Checks / Docstring validation, typing, and other manual pre-commit hooks.
- The job stops in step Run docstring validation with the traceback below.
Example failing runs (public logs)
- https://github.com/pandas-dev/pandas/actions/runs/15921431436 ← PR CI: add PyPI Trusted-Publishing “publish” job to wheels workflow (#61669) #61718
- https://github.com/pandas-dev/pandas/actions/runs/15886481522 ← another PR on latest main
File ".../site-packages/numpydoc/validate.py", line 234, in name
    return ".".join([self.obj.__module__, self.obj.__name__])
AttributeError: 'getset_descriptor' object has no attribute '__module__'. Did you mean: '__reduce__'?
Issue Description
- The docstring-validation job crashes before any pandas code is executed, so all current PRs fail.
- The stack trace originates inside numpydoc/validate.py; no pandas files are involved.
Expected Behavior
The docstring-validation step should complete without errors, allowing the entire CI workflow to finish green.
Installed Versions
- python : 3.11.13 (conda-forge)
- pandas : source checkout of current main(not installed / build failed locally)
- numpydoc: 1.8.0
- os : Ubuntu-22.04 (GitHub Actions runner)