Mirror Pallets-eco setup for projects
Closed this issue · 4 comments
Abdur-rahmaanJ commented
@samuelhwilliams working on it.
samuelhwilliams commented
I'm starting work on this in a branch/PR on my fork: samuelhwilliams/flask-admin#1.
Going to just dump some notes here as I work through it - please bear with as a bunch of this will be stuff I haven't touched before.
I'm using Flask-SQLAlchemy
as the reference project in terms of files/structure to copy, etc.
- I've migrated
requirements-dev.txt
torequirements/tests.in
, and not pip-compiled that to atests.txt
because I think each Python version tox runs the tests in needs to pick appropriate versions internally - there's not a single set of dependencies that I think we can freeze that would work for all python versions we're matrix testing. flask-sqlalchemy
has adocs
directory,flask-admin
has adoc
directory. I'm not migrating these files because it's a huge changeset. We can do it in a separate PR if we thing it's worth doing.- The docs also need updating to the Pallets theme; possibly some fairly chunky changes needed to do this? I think it's best to do this separately.
flask-sqlalchemy
has amain
branch;flask-admin
is still using amaster
branch.- I've copied across the
typing
target fromflask-sqlalchemy
but I don't imagine it will pass because it doesn't appear there's been typing tests on the current repo. flask-sqlalchemy
has apy-min
tox target and somerequirements-skip
files; do we need similar here? Not a thing I've seen elsewhere/am familiar with.- I've had to manually tweak a couple of minor versions of packages in the pip-compiled files to play together (
packaging
,babel
,typing-extensions
)
Abdur-rahmaanJ commented
@samuelhwilliams Thanks for taking up the PR.
- Please branch in here to get feedback
- Please use this as the reference https://github.com/pallets-eco/flask-debugtoolbar
samuelhwilliams commented
- I don't have write access to this repo - I can't make a branch on here? Or did you just mean for me to put up the WIP PR on this repo straight away?
- Will do 👍
Abdur-rahmaanJ commented
@samuelhwilliams Oh just a normal WIP PR, thanks!