Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor build process #1630

Conversation

matthewhegarty
Copy link
Contributor

@matthewhegarty matthewhegarty commented Sep 15, 2023

Problem

closes #1572

  • PEP621 setup.py / setup.cfg deprecated in favour of pyproject.toml

Solution

  • Based on similar config in tablib
  • Ported values according to required syntax
  • flake8 does not support config in pyproject.toml, so moved config to .flake8
  • build-n-publish source

Acceptance Criteria

  • Tested with local builds

pyproject.toml Outdated Show resolved Hide resolved
@matthewhegarty matthewhegarty changed the title Port setup.cfg to pyproject.toml Refactor build process Sep 16, 2023
@matthewhegarty matthewhegarty merged commit c963742 into django-import-export:release-4 Sep 16, 2023
1 check passed
@matthewhegarty matthewhegarty deleted the issue-1572-port-to-pyproject-toml branch September 16, 2023 19:08
matthewhegarty added a commit that referenced this pull request Sep 18, 2023
* ported flake8 config to tox.ini

* [pre-commit.ci lite] apply automatic fixes

* updated changelog

* updated config

* fixed formatting issues

* added missing changelog entry

* replaced tox.ini with .flake8

* updated changelog

* added release workflow

* documentation update

* removed whitespace

* added test branch

* corrected branch name

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>

added no-local-version

updated config

added fetch-depth

corrected param

adding build debug

updated init

added debug

test init

build fix

corrected version

updated pyproject toml

removed debug

removed MANIFEST.in

updated to add toml support to coverage

added toml support to coverage install

corrected coverage declaration

updated coveralls

coveralls test

removed broken install

coveralls fix attempt

re-added commented code

omit __init__.py from coverage

coverage config update

use env var

env var check

updated test workflow

added debug

attempted config rollback

added branch covarge

config attempt

using .coveragerc

added omit syntax

disabled branch checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants