In D7534#196906, @ardumont wrote:That's true for the pypi code (hence tests here) but what about production (oldstable)? [1]
An acceptable answer i guess is "it's not used in production" (it's possible ;).
[1]
$ rmadison python3-werkzeug python3-werkzeug | 0.9.6+dfsg-1+deb8u1 | oldoldoldstable | all python3-werkzeug | 0.11.15+dfsg1-1+deb9u1 | oldoldstable | all python3-werkzeug | 0.14.1+dfsg1-4+deb10u1 | oldstable | all python3-werkzeug | 1.0.1+dfsg1-2 | stable | all python3-werkzeug | 2.0.2+dfsg1-1 | testing | all python3-werkzeug | 2.0.2+dfsg1-1 | unstable | all
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Apr 8 2022
Apr 8 2022
anlambert committed rDWAPPSe04e60663057: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
anlambert committed rDENVa834cd03e2cc: docker/tests: Fix deposit tests with swh-deposit 1.0 release (authored by anlambert).
docker/tests: Fix deposit tests with swh-deposit 1.0 release
anlambert committed rDWAPPSd35ba5194f10: misc/coverage: Bump cache timeout from 5 minutes to 1 hour (authored by anlambert).
misc/coverage: Bump cache timeout from 5 minutes to 1 hour
anlambert committed rDWAPPSbdee9fe46e31: common/utils: Use cache in origin_visit_types function (authored by anlambert).
common/utils: Use cache in origin_visit_types function
anlambert committed rDWAPPSb364c93d81a6: common/utils: Add a django_cache decorator and use it in codebase (authored by anlambert).
common/utils: Add a django_cache decorator and use it in codebase
Apr 7 2022
Apr 7 2022
anlambert requested review of D7526: common/utils: Add a django_cache decorator and use it in codebase.
Update: Use django_cache decorator
anlambert committed rDSTO567c8e47ae56: interface: Add new method origin_visit_get_with_statuses (authored by anlambert).
interface: Add new method origin_visit_get_with_statuses
Address @vlorentz comment
Rebase
Apr 6 2022
Apr 6 2022
Build failure is expected here, see T4119.
anlambert committed rDWCLI62864924e092: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDWAPPS120076eea4cb: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDSTO812590c25f43: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDVAUcf69cae2f632: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDSEA96fcfd7b636a: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDSCRUB2ab211eb3a21: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDTSCN88eeeb9dda2a: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDSCHbafe03f47530: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDTPLcce946ad4dd4: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDOPH38e39aa3f895: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDOBJSRPL997d0665da97: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDOBJScc41db7e39b5: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDLDSVN13cce8bde251: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDLDHGbc11012ddda3: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDLDCVSa3de40aa7d72: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDLDBZR4205ae633d7b: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDLSb766b64088f3: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDICP378898801144: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDCIDX63e912f52b17: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDDEPa8cda2cb5454: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDDATASETf282e88a900d: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDCNTdd8e3f68fcb7: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDCORE7be2dbf02d06: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDAUTH7e6f14ee1bed: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDPROV0af2a35c40d7: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
anlambert committed rDAUTH51285bfd8baa: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0" (authored by anlambert).
Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0"
anlambert committed rDWAPPScc8ff7183a27: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0" (authored by anlambert).
Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0"
anlambert updated the diff for D7514: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Update diff to same content as I hard resetted my master branch by mistake.
anlambert requested review of D7514: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Are E203, E231 and W503 still needed with the most recent black style?
My attempts at configuring bugbear focused on the (recent-ish, flake8 4.x) extend-ignore and extend-select options, to avoid having to repeat the default settings for them. I guess they interact poorly with the way bugbear hooks into flake8.
Considering that we'll have to poke at that config everywhere anyway the next time we upgrade flake8, we may as well do it that way...
Based on the discussion following D7502#196088, I came up with the following script to execute in swh-environment in order to :
- upgrade black in all swh repos and use flake8-bugbear for the line length warnings
- reformat Python code with latest black version
- add .git-blame-ignore-revs file to ignore reformatting commits
- run flake8 after all these changes to check everything is OK
Great, thanks !
anlambert committed rDDOC3ee3d1569db1: sysadm/user-management/openvpn: Fix typo detected with codespell (authored by anlambert).
sysadm/user-management/openvpn: Fix typo detected with codespell
Fine with me too.
Apr 5 2022
Apr 5 2022
anlambert committed rDWAPPS8126ea65dbb3: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
anlambert committed rDWAPPS6a049244633a: settings/production: Use webpack loader cache when not in debug mode (authored by anlambert).
settings/production: Use webpack loader cache when not in debug mode
Instead of running black swh, I would suggest using pre-commit run -a black to make sure the proper version is used, and all affected files are properly reformatted (we have some python files not in the swh directory).
anlambert updated the diff for D7505: settings/production: Use webpack loader cache when not in debug mode.
Rebase
anlambert added inline comments to D7493: docker: make yarn run in the local copy of the swh-web source code.
anlambert requested review of D7505: settings/production: Use webpack loader cache when not in debug mode.
anlambert requested changes to D7493: docker: make yarn run in the local copy of the swh-web source code.
So I made some tests today to fix the infinite reloading of the webapp in browser when overriding swh-web sources and when the source directory is writable.
Turns out the issue was coming from the use of webpack loader cache as we use production settings for the webapp in docker env.
Unfortunately, it clashes with the use of webpack-dev-server so the infinite reload.
The use of webpack-dev-server in docker was originally working as I forced the use of dev settings in that case but
it was reverted in rDENV6c4f3c5f41fc5a4f1f96b92d006cfcf82e6cffee.
Fortunately, I found a workaround to restore webpack-dev-server use (D7505).
anlambert committed rDAUTH4083f79618e8: requirements-test: Temporarily pin django-stubs to < 1.10.0 (authored by anlambert).
requirements-test: Temporarily pin django-stubs to < 1.10.0
@vlorentz, the following patch makes the deposits cypress tests stable.
Any actions required in this task?
Apr 4 2022
Apr 4 2022
Looks like it is time to upgrade black in all swh modules as black 19.10b0 is incompatible with click 8.1.x.
Granted for landing, thanks !
One last thing before we can land this:
- please squash commits into a single one if its is not already done and use the following message:
add_forge_now: Add hyperlinks to forge URLs in Browse Requests tab
anlambert added inline comments to D7493: docker: make yarn run in the local copy of the swh-web source code.
Still one change required before I can accept the diff (see inline comment).
Looks good to me. Please add your name in the CONTRIBUTORS file at the root of the repository and I will accept the diff.
anlambert requested changes to D7493: docker: make yarn run in the local copy of the swh-web source code.
Thanks for your contribution. I have added some inline comments to handle before we can land this.
Mar 30 2022
Mar 30 2022
anlambert triaged T4119: TestRemoteObjStorage::test_content_iterator is failing since werkzeug 2.1.0 release as Normal priority.