Edgewall Software

Opened 3 years ago

Last modified 3 years ago

#13359 closed enhancement

Change to declarative setuptools config — at Version 2

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.5.3
Component: general Version:
Severity: normal Keywords: setuptools
Cc: Branch:
Release Notes:

The minimum required setuptools version is 30.3.

API Changes:
Internal Changes:
  • Setuptools configuration is now declarative (specified in setup.cfg)
  • Removed use of deprecated python setup.py test command
  • Python ≥ 3.5 is specified through the python_requires argument

Description

First discussed in #13357.

This might be a good time to remove the deprecated test command.

Change History (2)

comment:1 by Ryan J Ollos, 3 years ago

Proposed changes in log:rjollos.git:t13359_declarative_setuptools_config.

To check equivalence, I unzipped and diff'ed the wheel created before/after the changes. A concise summary is generated by pypi:wheel-inspect:

  • Trac-1.5.3.

    old new  
    452452                "length": 899
    453453            },
    454454            "download_url": "https://trac.edgewall.org/wiki/TracDownload",
    455             "home_page": "https://trac.edgewall.org/",
     455            "home_page": "https://trac.edgewall.org",
    456456            "license": "BSD",
    457457            "metadata_version": "2.1",
    458458            "name": "Trac",
     
    472472                    "extras": [],
    473473                    "marker": null,
    474474                    "name": "setuptools",
    475                     "specifier": ">5.6",
     475                    "specifier": ">=30.3",
    476476                    "url": null
    477477                },
    478478                {
     
    539539                    "url": null
    540540                }
    541541            ],
     542            "requires_python": ">=3.5",
    542543            "summary": "Integrated SCM, wiki, issue tracker and project environment",
    543544            "version": "1.5.3.dev0"
    544545        },
     
    41154116            },
    41164117            {
    41174118                "digests": {
    4118                     "sha256": "pTK-0QyUkzh54loMrHQKJZA6LF6zCS6vxgcUMgyWOMk"
     4119                    "sha256": "Sl7uoUiWszsh6TV9WIEi1Rkmjqw9De7PhIM-B-nZw0w"
    41194120                },
    41204121                "path": "Trac-1.5.3.dev0.dist-info/METADATA",
    4121                 "size": 2370
     4122                "size": 2394
    41224123            },
    41234124            {
    41244125                "digests": {
     
    41294130            },
    41304131            {
    41314132                "digests": {
    4132                     "sha256": "gVhSnOaDWVjN6Vc7VAMUoYetLXG22sezdpJwCXOjzeY"
     4133                    "sha256": "NWf-LY28PDJkF_evIufkU4s5x8ZLXw54msCRHVHj1TA"
    41334134                },
    41344135                "path": "Trac-1.5.3.dev0.dist-info/entry_points.txt",
    4135                 "size": 2421
     4136                "size": 2045
    41364137            },
    41374138            {
    41384139                "digests": {
     
    41704171    },
    41714172    "file": {
    41724173        "digests": {
    4173             "md5": "8cd505057de1c96599be7998feb86623",
    4174             "sha256": "ca881d774ad7871d6d145b3fd16ad074d024aec87b2f18e597b35d082c43cd90"
     4174            "md5": "bde0e9a8d8ec91337a51f5ce26b0f169",
     4175            "sha256": "708fef90353db3378d2f94ae7dc70c8d2c6f824e0c15d85549b53a19f9c1c582"
    41754176        },
    4176         "size": 2792139
     4177        "size": 2792129
    41774178    },
    41784179    "filename": "Trac-1.5.3.dev0-py3-none-any.whl",
    41794180    "project": "Trac",

comment:2 by Ryan J Ollos, 3 years ago

Internal Changes: modified (diff)
Release Notes: modified (diff)
Note: See TracTickets for help on using tickets.