Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

setup.py build_ext: TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType' #346

Copy link
Copy link
@mgorny

Description

@mgorny
Issue body actions
$ python setup.py build_ext
running build_ext
Traceback (most recent call last):
  File "/tmp/python-versioneer/setup.py", line 143, in <module>
    setup(
  File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "<string>", line 1903, in run
  File "<frozen posixpath>", line 90, in join
  File "<frozen genericpath>", line 152, in _check_arg_types
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

git bisect points to the following commit:

commit d0861cf0a0a710f0b1947a10c6beaf6fd3257e64
Author: Chris Markiewicz <effigies@gmail.com>
Date:   Wed Oct 19 07:45:08 2022 -0400

    MNT: Move versioneer config to pyproject.toml

 pyproject.toml | 7 ++++++-
 setup.cfg      | 7 -------
 2 files changed, 6 insertions(+), 8 deletions(-)
 delete mode 100644 setup.cfg
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.