Replies: 18 comments 25 replies
-
Thank you @newville. What exactly do you mean by "migrating the docs to… ReadTheDocs"? The documentation already lives there… Also, maybe it's also a good time to add some developer documentation while you guys create the new setup? This is something I never really put in the documentation, but maybe some contributors struggled a bit with how to get started with tests, etc.? |
Beta Was this translation helpful? Give feedback.
-
With the exception of
your proposed goals don't affect users but make it easier to develop and maintain. Is that intentional? That does sound like a good goal for a first release. Could we try to discuss distinct issues in seperate issue/discussion topics? The last one got quite big!
What's the intention with privileges? I don't have merge privileges and it looks like that's stopping @jagerber48 |
Beta Was this translation helpful? Give feedback.
-
I am in favor of all the suggestions above. A few other ones that do not affect users much:
|
Beta Was this translation helpful? Give feedback.
-
Hi, On privileges: sorry, I think I am still learning this. I made everyone here an owner -- it would be nice to have finer-grained control, but that's OK.
Yes, exactly. I suggest we first clean up and get the code to a state that we are comfortable working on it. +1 on removing uncertainties 1to2 code too. I am OK with adding pre-commit hooks. I am not super familiar with tox/nox/hatch, but am OK with using those too.
On "AffineScalarFunc" to "UFloat": I think it is not that big of a change, but maybe a real discussion point. Currently, That means that some messages claim the object created by is a Variable (fine), but some refer to it as "AffineScalarFunc" or "affine function". That's not wrong, but slightly confusing to some (see #186 which is not really about that confusion but does show it). I think it is more work (and maybe not desirable) to just fold everything in
then I think that nothing breaks, but the messages might change to something slightly more comprehensible. But it's just a suggestion: I am totally fine with shelving this until later. |
Beta Was this translation helpful? Give feedback.
-
@newville Regarding finer grained control, I added the Uncertainties Developers team as having admin privileges in the uncertainties repository settings. If you want, you can change my organization role from owner back to what it was before and I can confirm if I still access to the repository settings. Also, I realized why I couldn't see Uncertainties Developers in my screenshot above -- it is a subteam of the Developers team. Also, one note -- I don't know if it breaks the way you were trying to model privileges to give a team called "Developers" admin on the uncertainties repo. Maybe it needs to be called "Uncertainties Admin" to be more clear. |
Beta Was this translation helpful? Give feedback.
-
@wshanks Thanks - it might very well be that I have no idea what I'm doing with GitHub Teams, or am just now starting to understand them ;). I have now:
I left you as an owner of lmfit, because we clearly need a few people who know what the heck they're doing ;) |
Beta Was this translation helpful? Give feedback.
-
Well I know github actions and have created a PR for it already #194. I don't know Azure CI. If there's a reason to move to Azure that's fine, but it feels like "an additional dependency". Regarding Looks like docs are already on readthedocs. I guess we may also somehow need shared access to that? |
Beta Was this translation helpful? Give feedback.
-
Suggestion that a changelog is added with somewhat high priority so that we can keep track of changes as we go? I try to follow Keep a Changelog conventions. I guess it's a discussion topic whether a changelog should keep track of backend changes like a lot of what we're working on now, or if only user-facing changes should be documented. I tend to prefer the former but could easily be convinced otherwise. |
Beta Was this translation helpful? Give feedback.
-
One thing we haven't discussed is merge policy. Should we aim for approval by one maintainer for merging PRs? #194 is adding GitHub Actions runs of the tests. Shall we also set that as required for merging into Also, I generally prefer squash merging PRs into the main branch to keep the commit history clean. Do others have a feeling on this? I also respect rebase merging a series of logically separate commits but GitHub doesn't make that style easy to review because its diff view works best for viewing new commits, not editing old commits, so it encourages responding to PR feedback with new small edit commits and those I prefer to get squashed down. |
Beta Was this translation helpful? Give feedback.
-
Idea (I don't know if it's a good one): In this initial period where we anticipate a lot of work and we're all new to carrying a larger responsibility in this repo we could target approval by two maintainers for PRs. Then as we get used to working on this package, as we get to know each other, and after version 4.0 we have a plan to reduce that burden down to 1 approval by a maintainer? Would requiring 2 maintainer approvals slow things down too much? I think passing CI should be a requirement for any PR to be merged into For merges: I'm not opposed to seeing the nasty history, but I wouldn't object if people prefer squash commits. I've never worked much with rebasing and don't see the advantage over merge, so I'd prefer a merge policy of rebase. |
Beta Was this translation helpful? Give feedback.
-
If I remember correctly, the pandas UncertaintyArray was pretty much ready. I think it could use a Warning on initialisation so we're free-er to move it around or rename it as needed. It would be good to get it into a release and see where it breaks for people. |
Beta Was this translation helpful? Give feedback.
-
I am interested in helping with this project. I noticed that the code currently lacks type hints. What do you think about adding type hints to the code? |
Beta Was this translation helpful? Give feedback.
-
type hints were suggested for a future release. PRs are welcome |
Beta Was this translation helpful? Give feedback.
-
I was not think and pushed to master, what's the best way to revert this? I did get this error message which I thought would prevent it merging:
|
Beta Was this translation helpful? Give feedback.
-
I did a |
Beta Was this translation helpful? Give feedback.
-
Most of the things listed here for the first release has been done. Are there any objections to a release after #211 #214 are merged? Packaging, Testing, and Deployment
Code:
wshank's list
|
Beta Was this translation helpful? Give feedback.
-
I had a look at setting up pre-commit and ruff. Activating
made changes to many files. I think this should wait until after a release and any PRs waiting for after the release, like #198 are merged. |
Beta Was this translation helpful? Give feedback.
-
About having the documentation on readthedocs: maybe some confusion arose from some old documentation living at https://pythonhosted.org/uncertainties/. It should be removed (I'm not sure right now how to do it). |
Beta Was this translation helpful? Give feedback.
-
With the transfer from lebigot/uncertainties, to lmfit/uncertainties, we have promised to maintain, update, develop, and support this library. The discussion at #180 gives several ideas for what to do in the near-term and long-term. I propose that we write those down here, and try to set priorities for the next 1 to 6 months. I'll start with my opinions, but happy to hear others
I think we should aim for a release around April 1 to April 15 with approximately the following "near term goals":
Packaging, Testing, and Deployment
tests
folder, run with pytest there.Code:
tests
folder.I think "update numpy interface" and "formatting schemes" can come later and/or need more discussion.
That gives a few questions:
Really, happy to have the discussion and to defer to others on these.
Beta Was this translation helpful? Give feedback.
All reactions