Comments (50)
It would be nice to reproduce MongoEngine's setup: Travis CI trickery provides automatic PyPi release upon new release in master.
from flask-mongoengine.
Travis CI trickery provides automatic PyPi release upon new release in master.
@lafrech I'll take care of it in #284
from flask-mongoengine.
I've added @wojcikstefan so he should be good to go. @lafrech if you let him know your pypi username he should be able to add you.
from flask-mongoengine.
Flask 0.11 just got released and prints warnings when used with latest (0.7.5) flask-mongoengine. Releasing 0.8 will fix this thanks to 1327e73.
from flask-mongoengine.
@losintikfos I checked out your fix and it works on my app. Thx. I also integrated my doc updates.
from flask-mongoengine.
@thedrow: Last maintainers are @losintikfos and I, both with few availability, but we manage to keep the bugtracker from exploding. There's not much on the roadmap. The lib does the job. Not much work needed, unless someone wants to introduce something big. (Exception to the rule, current situation is a bit chaotic lately since a change in 0.8 broke a lot of stuff.)
Besides, @wojcikstefan has been pretty active lately and is joining the team.
from flask-mongoengine.
Sorry guys slightly busy lately but still checking notifications as it comes in now and then - @rozza can you please give @wojcikstefan admin rights please.
Thanks
from flask-mongoengine.
@wojcikstefan has admin rights 👍
from flask-mongoengine.
My apologies - I added you with write permissions. Have updated @lafrech, @wojcikstefan and @losintikfos perms :)
from flask-mongoengine.
Hi, guys!
It would be great, if debug toolbar panel and session interface got support of python 3.
If you want, I can try to write patches :-)
from flask-mongoengine.
I'd like to be mentored and also to contribute...
from flask-mongoengine.
I'm not sure how much time I'll be able to spend on MongoEngine / flask-mongoengine, but since we plan to use it in an important project, we'll be relying on it, so I'd be glad to help.
For a start, I can do a bit of bugtracker sorting and cleanup. I'm pretty sure a lot of open bugs can be closed.
Also, I just sent two minor PR and, obviously, I'd be happy to see them released in a 0.7.6.
Who's still in there? @losintikfos? @itsnauman? @tyrannosaurus? @csabaszilveszter? @rozza? @anemitz? @thomasst?
Who decides the roadmap? Where?
from flask-mongoengine.
@lafrech - your contributions are welcomed indeed and also appreciated. We will surely make a collective bundle of minor and major fixes to go in 0.7.6. Currently focus will be on changes/fixes to;
- ensure forward and backward compatibility with new versions of MongoEngine and Flask,
- ensure new feature in MongoEngine, Flask and WTForms are supported
- keep supporting the project for major release and also
- close most of the bugs raised.
from flask-mongoengine.
As I said, I can help with the bugtracker cleanup. I suggest
- closing issues that are obviously fixed (linked to merged PR for instance)
- closing as can't reproduce those that are too vague, inviting the OP to reopen if issue still present, giving more details
- adding
can't reproduce
label (or is this whatinvalid
is for?), and something likeawaiting answer
oron hold
to signal the OP was asked for details / retest
Regarding 0.7.6, how shall we proceed? I see 0.7.6 milestone was created. Do you want to open a bug for each of the items you can think of that would go in 0.7.6 and then we release when all of these are closed (or postponed to later milestone)?
Shall we dig into the changelogs for MongoEngine, Flask and WTForms and spot what needs work here or do you already have this covered?
from flask-mongoengine.
@lafrech 👍 for your plan and suggestions to clean-up existing issues.
Regarding 0.7.6
;
Do you want to open a bug for each of the items you can think of that would go in 0.7.6 and then we release when all of these are closed (or postponed to later milestone)?
Yes
- this will enable us cover major user reported issues and suggestions that are candidate to 0.7.6
release.
Shall we dig into the changelogs for MongoEngine, Flask and WTForms and spot what needs work here or do you already have this covered?
Yes
- again I think using both approach will enable us cover various features and fixes required for candidate 0.7.6
release.
What do you think?
from flask-mongoengine.
Actually, I'd rather release a 0.7.6 with what we currently have (that is my 2 PR and maybe the other opened one that passes tests if you validate them, and maybe any bug that would be easily fixed while we are at it).
Wouldn't it be better to use 0.7.x (maintenance versions) for bugfixes and 0.8 (minor versions) as next milestone, so that we don't have to postpone all bugs affected to next milestone each time we want to release a bugfix release and the milestone is not ready?
from flask-mongoengine.
Not a bad idea at all - #98 feature request is suppose to come with it - pretty tied up at the moment, soon as I am done will get all moved into 0.7.6
from flask-mongoengine.
More on the versioning. I like the Semantic Versioning approach:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes.
You seem to agree with this, so let's go for it.
In this case, #98 is clearly 0.8
. Such an enhancement should not block bugfix releases. In practice I don't mind waiting, especially if you expect to be done with it soon, so don't bother and do what is the most simple for you.
from flask-mongoengine.
Regarding bugtracker cleanup, I can't do anything without any privileged access to the repo. AFAIU, I don't need to be a member of the organization, but I must be at least an external collaborator with write access to the repo.
from flask-mongoengine.
I was added to team MongoEngine, but I still don't have write access to the repo (and the bugtracker), as flask-mongoengine is not owned by the team (not sure why).
from flask-mongoengine.
@lafrech you should be good now
from flask-mongoengine.
Indeed. Thanks @rozza.
from flask-mongoengine.
#flask-mongoengine IRC channel is available - I will update the README to make this known.
from flask-mongoengine.
Hi Guys - I think we should drop support for MongoEngine
0.7 in the next major release of Flask-MongoEngine 0.8
. I think this will enable us enhance Flask-MongoEngine
and also support features which are possible for later versions of Flask, WTForms and MongoEngine.
@rozza do you have any rejections or suggestion that might be essential to this decision?
@lafrech what do you think?
from flask-mongoengine.
I don't see any reason to keep support for old versions, unless some important distro still ships it in its stable version. But the odds are if someone uses flask-mongoengine (from pip), he's probably using latest ME from pip, not ME07 from distro. (Debian still ships ME06...)
No big deal keeping ME07 support if someone needs it, but otherwise, I don't see any reason to do so.
from flask-mongoengine.
Likewise, I've been wondering about Python 2.6 support. Not that there's an urgent need to drop it, but ultimately, we will. Even Debian oldstable ships 2.7...
From ytdl-org/youtube-dl#5697:
it is probably reasonable to support python 2.6 while RHEL6 and CentOS6 do (namely 2024 and November 30th, 2020 correspondingly)
2024 ! D'oh !
from flask-mongoengine.
@losintikfos, it looks like we're close to 0.8.
Not sure when I'll get the time, but it could be worth updating the doc before releasing. Add a mention about which versions of ME, pymongo and Python are supported (easy). And maybe document some obscure features that are hidden in the code (longer). If it is too much trouble, let's not hold the release for this, it won't be too late to add that later on.
from flask-mongoengine.
@lafrech, are you able to update the changelog with your recent changes if relevant? It will help when we are ready to update the doc. I noted on the channel that I've got the connection handler extended and will merge when I've got its test coverage sorted.
Changes to connection handler for Flask-MongoEngine.
When all done - I will look into amending the docs to reflect the changes relevant to 0.8 release.
Thanks
from flask-mongoengine.
@lafrech, are you able to update the changelog with your recent changes if relevant?
Nothing important, really. Code cleanup. I don't think override_json_encoder rename is worth mentioning.
The TextArea stuff could be mentioned, but I think it makes much more sense to document the whole field_args feature in the docs, maybe with the details of which parameters are accepted (textarea, radio,...). Currently, this can only be found in the code.
I noted on the channel that I've got the connection handler extended and will merge when I've got its test coverage sorted.
Great!
In the docs, we may also mention that BinaryField is not really supported (#52, #46). It is supported through a TextArea, while one would expect some sort of file uploader (which is complicated to accomplish).
from flask-mongoengine.
Hey team,
I'm using flask-mongoengine in an important project like @lafrech. So i intend to help keep it active.
I can solve some issues and maybe open more ones. 😬
Sounds good for you?
Let me know if you have any other ideas.
from flask-mongoengine.
@losintikfos, @rozza, I don't think I can add @brunobelarmino to the organization/team myself.
I'm not sure I'll implement #214 (HTML5 widgets) any soon. If unsure about #216 (max_length input attribute) and since both are somehow related, we can postpone both to 0.9 and ship 0.8 when done with #98 (new connection handler David is working on) (release early, release often).
from flask-mongoengine.
@lafrech lets postpone #214 and #216 to 0.9
. I will finalise the connection handler and update the docs.
as required for release. Connection handler changes is 98% complete including test coverage. You can walk-through (See __init__.py
, connection.py) and perhaps let me know if you have any suggestions. Also test coverage See __init__.py
, test_connection.py.
TODO
- Extend
test_connection.py
to cover test for when MongoDB is not installed butTESTING
andTEMP_DB
are enabled. - Dynamically direct all modules currently monkey patched from ME into F-ME to use F-ME's
connection.py
. - Update
changelog
anddocs.
.
from flask-mongoengine.
Scheduled: https://github.com/MongoEngine/flask-mongoengine/milestones/0.9
Thanks for the feedback on the connection handler. I won't be of help in the coming days, I'm afraid.
from flask-mongoengine.
@lafrech lets grab a chat on IRC if you slightly free.
Ta!
from flask-mongoengine.
Now that 0.8 is out, we're getting a little feedback. I created a 0.8.1 milestone (https://github.com/MongoEngine/flask-mongoengine/milestone/7) for the next bugfix release.
from flask-mongoengine.
We get bug reports related to the connexion rework: 0.8 introduced an important regression that triggers a few blocking issues.
I don't have time to dedicate to this right now and apparently neither does @losintikfos. I'm using 0.7.5 in production (internal website) and I think @losintikfos uses 0.8 without issue, because he doesn't use those broken parameters.
From the precision of the bug reports we got, it seems to me that some of the users facing those issues should be able to sort this out in a clever way. I'd really like to invite them to join in at least for this specific issue. It's easier for people facing the bug since they can test on their own use case.
Both @losintikfos and I think that flask-mongoengine should do the minimum here, leaving the most parameter parsing to either MongoEngine or pymongo. That's pretty much all I can give in terms of direction. From there, any solution that is not a terrible hack should be acceptable.
from flask-mongoengine.
@MongoEngine/flask-mongoengine Do you guys think we have enough maintainers for this repository at the moment?
from flask-mongoengine.
I've created PR #277 which tries to address some of the connection string regressions referred to below. It is probably still a little cumbersome - I tried to change as little as possible in order to test the use case described in #250.
from flask-mongoengine.
@rozza, I'm not sure he does, does he? And neither do I, BTW. I only have admin rights on Mongoengine, not flask-mongoengine.
There seems to be an issue with Travis that needs admin rights on this repo. See #278.
from flask-mongoengine.
Also, while we're at it, we should ensure that we can manage all the external resources: travis, readthedocs, PyPi, etc.
AFAIU, all CI stuff only requires write access (or maybe admin rights?) here to modify some git hooks. I don't know about read the docs. I guess it works the same way.
Regarding PyPi, is there anything we need to publish a new version? Or is it just about publishing a new tag here in master branch?
As I said here, I don't intend to take over, but while we're at it, we should ensure that @losintikfos, @wojcikstefan, and maybe myself, have the rights for these and can pass them to future maintainers.
from flask-mongoengine.
v0.8.1 released !
@losintikfos, how shall we proceed for the PyPi release?
On MongoEngine, it is automatic thanks to some Travis tweak.
from flask-mongoengine.
@lafrech @losintikfos @rozza any way we can publish the new release to PyPI? :)
from flask-mongoengine.
@lafrech if all test passing - please release.
Thanks
from flask-mongoengine.
@losintikfos all tests pass (except for broken PyPy3 environment) and I did release already: https://github.com/MongoEngine/flask-mongoengine/releases/tag/0.8.1
Just so we know, how has privileges to publish on PyPi? Is it just you or can it be a group? A private key we could share?
from flask-mongoengine.
I have release privileges at least for MongoEngine.
from flask-mongoengine.
@thedrow do you know who has privileges for Flask-MongoEngine? We published a new release 4 days ago, but still haven't been able to upload it to PyPI.
from flask-mongoengine.
I don't know. @rozza Do you have release privileges for Flask-MongoEngine?
from flask-mongoengine.
The following have pypi auth:
- anemitz
- the_drow
- losintikfos
- naumanahmad
Who else needs auth?
from flask-mongoengine.
I'd say at least @wojcikstefan. You can add myself as well.
Thanks @rozza!
Do you need anything? A public key?
from flask-mongoengine.
Thanks @rozza.
@wojcikstefan I just created a PyPi account: lafrech.
from flask-mongoengine.
Related Issues (20)
- Mongo Debug Toolbar Panel: Update HTML view to enable scrolling
- Mongo Debug Toolbar Panel: Update HTML view to use wide screens
- Test database stays in place after tests!
- Add docs to new connection module #429 and new installation #475 HOT 1
- Migration to 2.0.0 documentation HOT 1
- Include Pillow as extra option for ImageField support?
- Ensure typing statements will not cause strong dependency on Flask-Debug Panel or WTForms
- Incompatibility with current flask version (2.2) HOT 7
- MongoEngine models Field missing HOT 2
- DecimalField: pass places to widget?
- New JSONProvider use of super() not quite right HOT 1
- AttributeError: type object 'Collection' has no attribute 'insert' HOT 3
- MongoEngine saving to a database called 'test' instead of database specified HOT 1
- Regarding new release HOT 8
- Config `db` cover host info
- after configuring database getting error mongoengine.connection.ConnectionFailure: You have not defined a default connection
- Failing debug_toolbar from subdomain (under https loads static files with http - blocked by browser) HOT 1
- Flask2.3.X JSONEncoder deprecated HOT 7
- This is a dead project - DO NOT USE HOT 7
- New Fork
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-mongoengine.