Commit Graph
4801 Commits
Author SHA1 Message Date
Athanasius 80a8a32666 pytest/coverage: Improve the .toml comment about pragma 'inversion' 2022-10-02 12:38:24 +01:00
Athanasius 7aa832e3d1 Contributing.md: test coverage notes 2022-10-02 12:31:11 +01:00
Athanasius baf62f03fd pytest/coverage: Resolve the "which way around to have pragmas" issue
1. You end up either inverting the sense of a `coverage_conditional_plugin`
  pragma's name (versus what it actually tests), *or* where you put it in
  the code.
2. As the pragmas are only defined in once, in one place, it's better to
  invert the sense there, rather than in *every single use case*.
Then technically any 'other' branch isn't guaranteed to
2022-10-02 12:11:16 +01:00
Athanasius 5efd27a83c tests: Attempt to fix config/ coverage
* Define `darwin` and `linux` *and* "platform known" pragmas.
* Use per-platform pragmas in `config/__init__.py` selection of implementation.
* Attempt, and fail, to use pragma in `config/darwin.py` to ignore it on
  other platforms.
2022-09-30 19:45:12 +01:00
Athanasius 1b0bbb9a56 tests: Improved coverage reporting
* Always report on coverage, if no tests failed.
* Remove `.coveragerc`, in favour of `pyproject.toml`.
* Use `coverage-conditional-plugin`:
  - Two rules added, `sys-platform-win32` and `sys-platform-not-win32`.
  - Those rules used so non-win32 code run on win32 doesn't cause coverage
    to be reported as less than 100%.

There's the assumption that !win32 means Linux, probably.
2022-09-30 19:25:22 +01:00
Athanasius bacd2ef9c6 Merge pull request #1677 from EDCD/dependabot/pip/develop/setuptools-65.4.1
build(deps-dev): bump setuptools from 65.4.0 to 65.4.1
2022-09-30 18:05:18 +01:00
Athanasius b308c58dd9 Merge pull request #1676 from EDCD/dependabot/pip/develop/coverage-toml--6.5.0
build(deps-dev): bump coverage[toml] from 6.4.4 to 6.5.0
2022-09-30 18:04:57 +01:00
dependabot[bot] 32ba104008 build(deps-dev): bump setuptools from 65.4.0 to 65.4.1
Bumps [setuptools](https://github.com/pypa/setuptools) from 65.4.0 to 65.4.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v65.4.0...v65.4.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 17:04:02 +00:00
dependabot[bot] a38afbf2ac build(deps-dev): bump coverage[toml] from 6.4.4 to 6.5.0
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy) from 6.4.4 to 6.5.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/6.4.4...6.5.0)

---
updated-dependencies:
- dependency-name: coverage[toml]
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-30 17:03:50 +00:00
Athanasius a4f50a716d Merge pull request #1675 from EDCD/dependabot/pip/develop/pytest-cov-4.0.0
build(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0
2022-09-30 17:56:38 +01:00
dependabot[bot] 8095b9adc9 build(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 17:04:28 +00:00
Athanasius 860b072c5a Merge pull request #1673 from EDCD/dependabot/pip/develop/setuptools-65.4.0
build(deps-dev): bump setuptools from 65.3.0 to 65.4.0
2022-09-28 16:27:54 +01:00
Athanasius 3e3ccd3155 Merge pull request #1674 from EDCD/dependabot/pip/develop/mypy-0.981
build(deps-dev): bump mypy from 0.971 to 0.981
2022-09-28 16:27:06 +01:00
Athanasius 0fd026023b Merge pull request #1672 from EDCD/dependabot/pip/develop/certifi-2022.9.24
build(deps): bump certifi from 2022.9.14 to 2022.9.24
2022-09-28 16:26:43 +01:00
dependabot[bot] 2492bdcaea build(deps-dev): bump mypy from 0.971 to 0.981
Bumps [mypy](https://github.com/python/mypy) from 0.971 to 0.981.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.971...v0.981)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 17:03:34 +00:00
dependabot[bot] 761392c5a4 build(deps-dev): bump setuptools from 65.3.0 to 65.4.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 65.3.0 to 65.4.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v65.3.0...v65.4.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 17:07:13 +00:00
dependabot[bot] 765658a7fb build(deps): bump certifi from 2022.9.14 to 2022.9.24
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.14 to 2022.9.24.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.09.14...2022.09.24)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 17:07:05 +00:00
Athanasius b9b9e98a25 Merge branch 'main' into develop 2022-09-26 12:47:40 +01:00
Athanasius 7ca650ba5b develop: post-release version bump to 5.5.1-alpha0 2022-09-26 12:46:28 +01:00
Athanasius fde1c85ea6 Merge branch 'main' of https://github.com/EDCD/EDMarketConnector 2022-09-26 10:59:11 +01:00
Athanasius 2fba41c082 Release 5.5.0: appversion & changelog Release/5.5.0 2022-09-26 10:33:54 +01:00
Athanasius c06d0913b4 Merge pull request #1670 from EDCD/enhancement/1364/py2exe-with-setuptools-freeze.py
Migrate to new `py2exe` build API
2022-09-24 18:14:39 +01:00
Athanasius 26c2bd720f Build: Enforce win32 only at top-level, and clean up how error is raised
* Repeating the same test is just un-necessary, bad past-Ath.
* Use `raise AssertionError(...)`.

I'd move some of this stuff into functions, but it wouldn't actually
aid readability.
2022-09-24 11:05:01 +01:00
Athanasius 9347f12723 build: Remove old setup.py and py2exe.cmd
Use the git, Ath.
2022-09-24 11:05:00 +01:00
Athanasius a3198c5e36 Build: Remove all of the macOS code & comment out sections
* We've not been building for macOS since the change of maintainership in
  2020, so removing that code is long overdue.

  However we're leaving in the test for `win32` so as to be explicit that
  this should only (currently) be run on that platform.

* Add section comments to better document what each code section is meant
  to achieve.
2022-09-24 11:05:00 +01:00
Athanasius a9ef736067 Build: Use version_info for DRYness
* Adds `language` so that WiX is happy.  Hard-coded to "English (United
  States)".
* Also adds `description` (same as the GitHub repo).
2022-09-24 11:05:00 +01:00
Athanasius f4f0c77821 docs/Releasing: Update for using Build-exe-and-msi.py 2022-09-24 11:05:00 +01:00
Athanasius 8eaf1ec70f windows-build: Switch github workflow to freeze method 2022-09-24 11:05:00 +01:00
Athanasius 05d6160427 Rename py2exe-build.py to Build-exe-and-msi.py
This name is more indicative of the functionality.
2022-09-24 11:04:59 +01:00
Athanasius 6ad6c90213 First cut at utilising a possible new py2exe API/paradigm
See https://github.com/py2exe/py2exe/issues/127 for context

This filename is still open to change, I don't want to just use `freeze.py`,
as that seems too potentially ambiguous.
2022-09-24 11:04:59 +01:00
Athanasius c1c706fc89 Merge pull request #1669 from EDCD/dependabot/pip/develop/types-requests-2.28.11
build(deps-dev): bump types-requests from 2.28.10 to 2.28.11
2022-09-23 11:11:19 +01:00
dependabot[bot] a71ce9c03f build(deps-dev): bump types-requests from 2.28.10 to 2.28.11
Bumps [types-requests](https://github.com/python/typeshed) from 2.28.10 to 2.28.11.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 17:04:35 +00:00
Athanasius 2877cdc8dd Merge pull request #1667 from EDCD/dependabot/pip/develop/py2exe-0.12.0.1
build(deps-dev): bump py2exe from 0.11.1.1 to 0.12.0.1
2022-09-20 18:53:20 +01:00
Athanasius 6a6710b46c Merge pull request #1668 from EDCD/dependabot/pip/develop/safety-2.2.0
build(deps-dev): bump safety from 2.1.1 to 2.2.0
2022-09-20 18:50:33 +01:00
dependabot[bot] 3a8cf13c5c build(deps-dev): bump safety from 2.1.1 to 2.2.0
Bumps [safety](https://github.com/pyupio/safety) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/pyupio/safety/releases)
- [Changelog](https://github.com/pyupio/safety/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/pyupio/safety/compare/2.1.1...2.2.0)

---
updated-dependencies:
- dependency-name: safety
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-20 17:45:44 +00:00
dependabot[bot] 75d47530e0 build(deps-dev): bump py2exe from 0.11.1.1 to 0.12.0.1
Bumps [py2exe](https://github.com/py2exe/py2exe) from 0.11.1.1 to 0.12.0.1.
- [Release notes](https://github.com/py2exe/py2exe/releases)
- [Changelog](https://github.com/py2exe/py2exe/blob/master/ChangeLog)
- [Commits](https://github.com/py2exe/py2exe/compare/v0.11.1.1...v0.12.0.1)

---
updated-dependencies:
- dependency-name: py2exe
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-20 17:45:40 +00:00
Athanasius 03a210a514 Revert "build(deps-dev): bump py2exe from 0.11.1.1 to 0.12.0.0"
This reverts commit 6d11bcfb35.

0.12.0.0 has broken the now deprecated `setup()` interface, so we'll wait
to confirm that's unbroken and *then* move to the new `freeze()` API.
2022-09-20 11:52:58 +01:00
Athanasius 20dcfb96af Merge pull request #1666 from EDCD/dependabot/pip/develop/py2exe-0.12.0.0
build(deps-dev): bump py2exe from 0.11.1.1 to 0.12.0.0
2022-09-20 11:28:18 +01:00
dependabot[bot] 6d11bcfb35 build(deps-dev): bump py2exe from 0.11.1.1 to 0.12.0.0
Bumps [py2exe](https://github.com/py2exe/py2exe) from 0.11.1.1 to 0.12.0.0.
- [Release notes](https://github.com/py2exe/py2exe/releases)
- [Changelog](https://github.com/py2exe/py2exe/blob/master/ChangeLog)
- [Commits](https://github.com/py2exe/py2exe/compare/v0.11.1.1...v0.12.0.0)

---
updated-dependencies:
- dependency-name: py2exe
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 17:04:40 +00:00
Athanasius ee8a8d56b2 Merge pull request #1664 from EDCD/dependabot/pip/develop/certifi-2022.9.14
build(deps): bump certifi from 2022.6.15.2 to 2022.9.14
2022-09-15 18:09:23 +01:00
dependabot[bot] b88bbb8e9b build(deps): bump certifi from 2022.6.15.2 to 2022.9.14
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15.2 to 2022.9.14.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15.2...2022.09.14)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-15 17:07:47 +00:00
Athanasius 3a1b58c8e8 Merge pull request #1663 from EDCD/dependabot/pip/develop/certifi-2022.6.15.2
build(deps): bump certifi from 2022.6.15.1 to 2022.6.15.2
2022-09-14 18:09:32 +01:00
dependabot[bot] a8551444bc build(deps): bump certifi from 2022.6.15.1 to 2022.6.15.2
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15.1 to 2022.6.15.2.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15.1...2022.06.15.2)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-14 17:05:15 +00:00
Athanasius eb7965a6c0 .flake8: exclude .git/ 2022-09-10 15:42:27 +01:00
Athanasius 3a3b0246f7 .flake8: Ignore directories it doesn't need to poke at 2022-09-10 15:40:39 +01:00
Athanasius 3cf8dd8624 Merge pull request #1661 from EDCD/dependabot/pip/develop/certifi-2022.6.15.1
build(deps): bump certifi from 2022.6.15 to 2022.6.15.1
2022-09-09 18:05:14 +01:00
Athanasius beada2d39b Merge pull request #1660 from EDCD/dependabot/pip/develop/types-requests-2.28.10
build(deps-dev): bump types-requests from 2.28.9 to 2.28.10
2022-09-09 18:04:48 +01:00
dependabot[bot] f8791d0525 build(deps): bump certifi from 2022.6.15 to 2022.6.15.1
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.6.15.1.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15...2022.06.15.1)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 17:03:41 +00:00
dependabot[bot] d4efe7f201 build(deps-dev): bump types-requests from 2.28.9 to 2.28.10
Bumps [types-requests](https://github.com/python/typeshed) from 2.28.9 to 2.28.10.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 17:03:37 +00:00
Athanasius db63ae7f98 python: Bump to version 3.10.7 2022-09-07 18:05:21 +01:00