Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • diffoscope diffoscope
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Reproducible BuildsReproducible Builds
  • diffoscopediffoscope
  • Merge requests
  • !15

Add a python_requires to setup.py

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Marius Gedminas requested to merge mgedmin/diffoscope:patch-1 into master Nov 14, 2018
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

This means pip install diffoscope will not try to download new source distributions that then fail to build, if you run pip with an unsupported Python version.

(Unfortunately pip will still attempt to download older releases of diffoscope that did not have python_requires in the metadata, and those will then fail. Still, it'll be useful when you eventually drop support for Python 3.5 and start requiring newer Pythons.)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: patch-1