Repository navigation
[WIP] Python・依存ライブラリの更新とコンテナイメージのマルチステージ化 - #8
Draft
yacchin1205 wants to merge 207 commits into
Draft
yacchin1205 wants to merge 207 commits into
yacchin1205 wants to merge 207 commits into
Conversation
* Add four new switches/envvars to manage keen logging:
* `KEEN_ENABLE_LOGGING` will turn on/off *all* keen logging.
* `KEEN_PRIVATE_LOG_VIEWS` will set logging for views to the
private collection.
* `KEEN_PRIVATE_LOG_ERRORS` will set logging for errors to the
private collection.
* `KEEN_PUBLIC_LOG_VIEWS` will set logging for views to the public
collection.
* The python module `certifi` was pinned to a very old version to work around issues with Rackspace. Not only is it no longer relevant, it can no longer successfully validate modern TLS certs
* conversion based off @aaxelb's work in @CenterForOpenScience/SHARE * update CI badge urls in README.md * add explicit upload to coveralls * replace python-coveralls with coveralls in dev-requirements.txt * remove old travis config files [ENG-3265]
* Allow the parent window of the MFR iframe to pass its own url when
starting the hypothes.is annotator. Parents using `postMessage`
must now send an object with two keys: `type: 'startHypothesis'`
and `parentUrl: <parent window url>`. Parents using pym must now
call `.sendMessage('setParentUrl', <parent window url>)`. The
included pym code has been updated to do this.
MFR overrides the annotator to pass the parent window's url rather
than its own, b/c the parent window url is more stable and
descriptive. It was previously doing this by calling
`document.referrer` from within the iframe. Due to privacy
concerns, browsers have started allowing the iframe to only see the
host and not the path of the parent url. Parent frames must now
pass in their own url to get around this.
* Upgrade Dockerfile image base to python v3.6. * Install gosu via apt-get. gosu v1.10 started being shipped with debian as of the `stretch` release. Install from apt-get instead of `curl`-ing it from the github release page. * Pin pip version to 18.1 to avoid dep conflicts. * Based off the following WB commits: * CenterForOpenScience/waterbutler@d03a84c * CenterForOpenScience/waterbutler@b179eb8
* Bump reportlab dep to v3.6.5 to unbreak `invoke install` on macOS.
* add boa to supported extensions * bump pygments dep to 2.12 to support boa * add debugging logs to codepygments extension
Closes CenterForOpenScience#410 [ENG-10136]
* File urls of the form osf.io/<guid>/ used to redirect to a download url if <guid> pointed to a file. They no longer do. Now if MFR sees a url matching that pattern, it will add a /download/ path segment before the guid that *will* redirect.
…/hotfix/oci-cicd [Hotfix][No Ticket] Enable OCI autodeployments
Hotfix to add build_spec.yaml for OCI CI/CD 26.1.1
…en witho…" This reverts commit 7f101d1.
…/revert-411-fix/ENG-11824 Revert "fix(cors): always send Cache-Control: no-store even without an Origin…"
Integrate COS 17de734 (MFR 26.2.0), adopting its Python 3.13 Dockerfile and Poetry dependency management. Remove obsolete Buster workarounds and requirements.txt, retain RCOSDP README links, PDF CMaps and iframe print permissions, and adapt the Docker CI runner to Poetry.
This file contains hidden or 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
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.
Ticket
TBD
Purpose
Python と依存ライブラリを更新する。
Changes
Side effects
RCOSDP/RDM-osf.io の開発環境で
mfr_requirementsを実行する場合は、Poetry と、必要に応じてbuild-essential等の開発用パッケージを導入してください。また、依存ライブラリのコピー先・マウント先を Python 3.5 から Python 3.13 に合わせて更新してください。QA Notes
TBD
Deployment Notes
TBD