-
Notifications
You must be signed in to change notification settings - Fork 20
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
Feat/dev 2412 upgrade flask #375
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Remove all driver calls in favor of fixtures that call the driver methods. This puts all the driver instances at a single point of failure/success and makes them easy to interchange. - Cleanup multi-line quotes to use double quotes
Re-arranged how things are set up and fixtures are imported/created, to avoid re-creating of database tables. When a database driver is instantiated it automagically goes through the process of creating tables and running through all the migration steps, because the schema version is set to 1 on a new database.
bulk get query was not closing the session properly which caused postgres to lock before the teardown step of the index_driver pytest fixture. This made the tests hang indefinitely. Minor cleanups.
- split schema and data migration into two steps - test only data migration - make index_metadata migration happen before urls_metadata step
- migration_12 is fully sql - add more tests to test migration
feat(GP-13): relax update constraint
- Update migrate_12 to include things beyond did<ff
The migration script just instantiates the index driver with auto_migrate=True. The init function of the driver runs through all the migrations.
- Removed unnecessary semicolons in sql statements. - Removed dead imports/variables/functions. - release_number is None on separation from metadata dict. - Separate list equivalence into separate function. - Remove urls from function signatures. - Remove database index on did (from did+url composite key). - Revert reorder of database columns on index_record_metadata table. - Simplified python dictionary pop with default value. - Replace state and type contains check with equal check. - Fix update function to include release_number updates from metadata dict. - Remove base_version table from test setups. - Add more testing on urls_metadata.
- update hash code duplicated on merge, remove duplicate - split up update test into individual fields
- Make sure the update test checks to see the release number is no longer in the metadata jsonb column of the database.
- more dictionary pops for metadata/release_number - make getting urls metadata more unified across functions
…g tags, have to identify branch name of commit that was tagged - When a new container is built in GitLab, it will tag the same image in 2 formats: branch_name-short_sha and branch_name
…tually looks for one
Feat/dev 1801 gitlab ci
Fix missing modules errors during start up
chore(release): Galileo
chore(sync): master to develop
* add release to nexus * remove command_pre for publish in tox
DEV-1952: Remove pyrsistent from install deps. Also: - Upgrade tox.ini (allowlist_externals vs whitelist_externals and to only require dev-requirements.txt). - Add --add-opens java.base/java.util=ALL-UNNAMED to Java build command for swagger_client. - Add extras_require for dev deps to setup.py - Add installation notes for Mac M2. - Regen dev-reqs.txt (install + extra dev) from setup.py and reqs.txt as constraints.
* fix bug replace to_json() -> json() for response in indexd/blueprint.py * update test config * disable ddtrace in test
* fix travis tests * remove CI_COMMIT_SHORT_SHA * add pyproject.toml and upgrade setuptools_scm * update docker label, update file name VERSION -> VERSION.txt, update build command for docker * use importlib-metadata to get version * install indexd to find version info * allow unshallow to fail
* get version with setuptools_scm * update deps
* fix docker tag in gitlab-ci * install indexd in docker from whl * update travis, gitlab-ci, setup.py, version * reset .travis.yml Dockerfile, update deps, use importlib-metadate for version * use compatible import * fix version bug
* update gitlab-ci, update deps, update setup.py, update tox, update pre-commit version in gitlab, update config for isort * reorganize tests * add config for isort * pyupgrade --py37-plus indexd/**/*py tests/**/*py * upgrade isort
* update docker.sh * update Dockerfile * update gitlab-ci template version * fix docker.sh for travis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
attrs==23.2.0
blinker==1.7.0
cdislogging==1.1.1
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
coverage==7.4.1
exceptiongroup==1.2.0
Flask==3.0.1
idna==3.6
importlib-metadata==7.0.1
importlib-resources==6.1.1
indexd @ file:///Users/henddher/Documents/github/indexd
iniconfig==2.0.0
itsdangerous==2.1.2
Jinja2==3.1.3
jsonschema==4.21.1
jsonschema-path==0.3.2
jsonschema-spec==0.2.4
jsonschema-specifications==2023.7.1
lazy-object-proxy==1.10.0
MarkupSafe==2.1.5
openapi-schema-validator==0.6.2
openapi-spec-validator==0.7.1
packaging==23.2
pathable==0.4.3
pip==23.0.1
pkgutil_resolve_name==1.3.10
pluggy==1.4.0
psycopg2==2.9.9
pytest==8.0.0
pytest-cov==4.1.0
pytest-flask==1.3.0
PyYAML==6.0.1
referencing==0.30.2
requests==2.31.0
rfc3339-validator==0.1.4
rpds-py==0.17.1
setuptools==56.0.0
six==1.16.0
SQLAlchemy==1.3.24
SQLAlchemy-Utils==0.41.1
tomli==2.0.1
urllib3==2.2.0
Werkzeug==3.0.1
zipp==3.17.0