Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #26967

Closed
Open
Opened Jul 28, 2018 by Damian Johnson@atagar

Drop distutils dependency

Stem uses distutils in a couple spots...

  • stem.util.system's is_available() function uses it to check if executables are available on the path.

  • setup.py uses it for installation.

Python now says distutils is being 'phased out'...

https://docs.python.org/3/distributing/index.html#distributing-index

I'm not spotting a clear statement on if it's been removed from the standard library nor which version that took place, but regardless seems it's gone. In Debian/Ubuntu distutils now resides in its own package...

https://packages.debian.org/sid/python3-distutils

That's fine. Our util's usage of it is easy to replace. As for the setup.py I'm gonna leave that alone until we drop Python 2.x support. Upstream python might claim distutils is obsolete, but their failure to backport a replacement like setuptools to the 2.x builtins means it's still the best choice for something available by default.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#26967