From a9638f168ea835b2aa8b5de8fe4188ecda90578b Mon Sep 17 00:00:00 2001 From: David Sangrey Date: Mon, 1 Jun 2026 18:03:10 -0400 Subject: [PATCH] Bump Python Version to 3.14 --- .pre-commit-config.yaml | 2 +- .python-version | 2 +- ChangeLog.md | 2 +- Contributing.md | 6 ++++++ docs/AI Policy.md | 34 ++++++++++++++++++++++++++++++++++ docs/Releasing.md | 9 +++++---- requirements-dev.txt | 2 +- requirements.txt | 3 --- 8 files changed, 49 insertions(+), 11 deletions(-) create mode 100644 docs/AI Policy.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d227a688..0ffd7585 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -77,7 +77,7 @@ repos: always_run: true default_language_version: - python: python3.13 + python: python3.14 default_stages: [ pre-commit, pre-push ] diff --git a/.python-version b/.python-version index 24ee5b1b..6324d401 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.13 +3.14 diff --git a/ChangeLog.md b/ChangeLog.md index 04978acc..26c5a570 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,6 @@ This is the master changelog for Elite Dangerous Market Connector. Entries are in reverse chronological order (latest first). --- -* We currently test against, and package with, Python 3.13, 64-bit. +* We currently test against, and package with, Python 3.14, 64-bit. --- Release 6.1.3-beta3 === diff --git a/Contributing.md b/Contributing.md index 82c81c78..4bc94c40 100644 --- a/Contributing.md +++ b/Contributing.md @@ -507,6 +507,12 @@ No: --- +## AI Contributions + +For a full breakdown on the use of AI tooling and assistance, see our [AI Policy](/docs/AI%20Policy.md) + +--- + ## Use Type hints Please do place [type hints](https://docs.python.org/3/library/typing.html) on the declarations of your functions, diff --git a/docs/AI Policy.md b/docs/AI Policy.md new file mode 100644 index 00000000..dad07975 --- /dev/null +++ b/docs/AI Policy.md @@ -0,0 +1,34 @@ +# AI Usage and EDMarketConnector + +"A computer can never be held accountable, therefore a computer must never make a management decision" +~ IBM, 1979 + +## Our Policy on AI Usage + +Like them or not, AI (Artificial Intelligences, LLMs, Artificial Idiots, whatever your terms for them) is here to stay. + +Ultimately, the responsibility for any and all contributions to this project is incumbent on the human submitting the contribution. + +Bug reports, pull requests, translations, and other contributions which are fully automated are not accepted to this project, with very narrow exceptions. These exceptions are for known, scripted tooling such as "Dependabot", which are set up by the project maintainers. + +While we do not require disclosure if AI Tooling or LLM-backed assistance was used, each contributor is individually responsible for the contributions they make. When you submit a contribution to this project, you are signing your name to it. We do not accept AIs or LLMs as "co-authors", "co-contributors", or the like. You are certifying that the code you submit is your creation, that you have tested it, and that you stand by the work in the contribution. "The AI said so" is not, and will never be, an acceptable answer to a question. + +## Pull Requests + +You are responsible for any code submitted in a pull request. You must be able to fully explain the code you submit, its relation to existing code, and must understand what changes you are submitting. Code submitted must be of a high quality, and meet the expected standards of the project. + +## Bug Reports + +Wholly AI-Generated bug reports are not accepted. So-called "AI Slop" reports which contain obviously AI generated content may be closed without further investigation. It is the responsibility of the submitter to ensure that the bug report is accurate, factual, and clear enough (with solid replication steps) that a human reader can readily and easily recreate the circumstances of the bug. + +## Translations + +Fully AI-Generated translations are not accepted. Language translations should only come from legitimate human speakers of a given language. Google Translate, LLM translations, or other AI-assist tools cannot be a primary source for a translation. If you are submitting a translation, you are certifying that you have firsthand knowledge of the language in question, and that the translation is accurate. + +## License Compliance + +EDMC is licensed under the GNU GPLv2.0 or later license. All contributors submitting to the project submit their contributions under that same license. This means that you must own the copyright to any code submitted. As AI written contributions may infringe on these rights, it is the responsibility of the submitter to ensure that any generated contributions do not infringe. If there are any questions as to the licensability of a contribution, it will be rejected. + +## Compliance + +Violations of this policy may result in rejected contributions, bans from the project, or other measures the maintainers deem fit at their sole discretion. diff --git a/docs/Releasing.md b/docs/Releasing.md index 954d4653..ecc83219 100644 --- a/docs/Releasing.md +++ b/docs/Releasing.md @@ -38,10 +38,11 @@ You will need several pieces of software installed, or the files from their auto-select some others). NB: If you have need to uninstall this it's "Windows Software Development Kit - Windows 10.0.19041.1" in "Apps & Features", *not* "Windows SDK AddOn". -3. [Python](https://python.org): 32-bit version of Python 3.13 for Windows. - [v3.13.9](https://www.python.org/downloads/release/python-3139/) is the most - recently tested version. You need the `Windows x86 executable installer` - file, for the 32-bit version. Double-check the version against the +3. [Python](https://python.org): 32-bit version of Python 3.14 for Windows. + Refer to [Python.org](https://www.python.org/downloads/) for the latest + version. You need the `Windows installer (32-bit)` file + for the 32-bit version, or `Windows installer (64-bit)` for 64-bit. + Double-check the version against the `.python.version` file, as it should always contain the intended version. 4. [py2exe](https://github.com/albertosottile/py2exe) - Now available via PyPi, so will be picked up with the `pip install` below. Latest tested as per diff --git a/requirements-dev.txt b/requirements-dev.txt index 5c8ef763..57a0449f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -30,7 +30,7 @@ mistune==3.2.1 # Packaging # We only need py2exe on windows. -py2exe==0.14.0.0; sys_platform == 'win32' +py2exe==0.14.1.0; sys_platform == 'win32' # Testing pytest==9.0.3 diff --git a/requirements.txt b/requirements.txt index 8dbd15cf..84b756e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,3 @@ semantic-version==2.10.0 pywin32==311; sys_platform == 'win32' psutil==7.2.2 tomli-w==1.2.0 - -# https://github.com/py2exe/py2exe/issues/241, REMOVE WHEN FIXED. -charset-normalizer==3.4.4