The existing setup instructions describe multiple aging environments without a single tested version contract. This change creates an executable baseline before the Docker, native setup, sample-data, search, and wiki work is layered on top.
beta suite: 448 passed, 18 warningsgit diff --check: passedThe warnings are existing Django 6 transition, naive-datetime fixture, and deprecated pkg_resources warnings. No tests failed.
beta, so the workflow runs their tests conditionally. The Phase 4 suite was also run separately from its current feature checkout.Revert this PR. It adds only development settings, documentation, CI, a runtime check, and a project Python-version declaration; it does not change production settings or application behavior.
https://github.com/GrandComicsDatabase/gcd-django/pull/735
(6 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@gemini-code-assist[bot] commented on this pull request.
This pull request establishes a provisional development runtime contract and verification process. It introduces a new settings_dev.py configuration, updates pyproject.toml to use these settings, adds a .python-version file, and documents supported development versions. It also adds a check_dev_environment.py script to verify the environment. The reviewer suggested a more robust and idiomatic way to retrieve the MySQL version in the verification script using Django's built-in connection.get_database_version() instead of executing raw SQL.
In scripts/check_dev_environment.py:
> + with connection.cursor() as cursor:
+ cursor.execute('SELECT VERSION()')
+ mysql_version = cursor.fetchone()[0].split('-')[0]
Instead of executing raw SQL and manually parsing the version string (which can be fragile depending on the MySQL/MariaDB distribution and version suffix), you can use Django's built-in connection.get_database_version(). This method returns a clean tuple of integers representing the database version, which is more robust and idiomatic.
mysql_version = '.'.join(map(str, connection.get_database_version()))
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@DeusExTaco pushed 1 commit.
—
View it on GitHub or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@jochengcd commented on this pull request.
In pyproject.toml:
> [tool.pytest.ini_options] # Boot Django with these settings first; without this the suite won't start at all. -DJANGO_SETTINGS_MODULE = "settings" +DJANGO_SETTINGS_MODULE = "settings_dev"
This is only for testing, right ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@DeusExTaco commented on this pull request.
In pyproject.toml:
> [tool.pytest.ini_options] # Boot Django with these settings first; without this the suite won't start at all. -DJANGO_SETTINGS_MODULE = "settings" +DJANGO_SETTINGS_MODULE = "settings_dev"
Yes this is only for development environment testing.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()