WIP: Update manual setup process#124
Conversation
|
Looks good :-), It would be good to squash the 8 commits into a single one so that you keep a cleaner history. Here is a good guide on how to do that --> https://stackabuse.com/git-squash-multiple-commits-in-to-one-commit/ |
|
Ok - will squash commits. For whatever reason, the build on Python 3.4 seems to fail - though no code changes have been made. |
It is ok to ignore, the failure is due to a version conflict for one of the dependency. TBH we should not test on Python 3.4, Python 3.5 and Python 3.6 and target directly Python 3.7 |
|
Added separate pull request, #125 with changed tests. |
Merged :-) |
|
@bkmgit I just made a PR to your fork. Perhaps, the changes I made should be included in this pull. |
jontrossbach
left a comment
There was a problem hiding this comment.
please read my comment in the conversation of this PR
|
@bkmgit I think the changes you made on top of my changes broke the dev-env set up. It appears that Fedora 32 no longer has an rpm named rpm-python and it is breaking the Ansible playbook that is run from the Vagrantfile. Could you try setting up a dev-env on your machine an telling me if you run into the same issue? |
jontrossbach
left a comment
There was a problem hiding this comment.
As far as I can tell, this branch is ready to be pulled in now.
|
The commit history for this PR needs to be cleaned up a little bit before we merge it. The PR needs to be rebased and the commits that belong together be squashed. |
|
So 2 comments to address and once this is done and the history cleaned up a little, I think this can get in :) |
|
@pypingou Squashed commits and addressed the 2 comments. Hopefully ok to merge this pull request. Started on using OIDC in another branch: |
|
@bkmgit I'm seeing 33 commits in this PR and it looks like the branch is now conflicting, so I think there is still some work to do ;-) |
| - "3.4" | ||
| - "3.5" | ||
| - "3.6" | ||
| - "3.7" |
There was a problem hiding this comment.
Why removing the old py3 version? Are we making any changes here that bump the minimum version of python required? (Cf also the minimum version set in the README below).
There was a problem hiding this comment.
@pypingou Thanks for the feedback. Using python 3.7 as per suggestion by CVerna.
Previously, the ``WTF_CSRF_TIME_LIMIT`` setting was not in the default configuration, nor was it documented. It also only worked in flask-wtf-0.10.1+, which is not available in EPEL7. This makes it both work in EPEL7's version (0.8) and documents the setting. fixes fedora-infra#78 Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Depending on how the tests were run, the test for the pictures endpoint would fail because the path to the pictures folder would be incorrectly calculated since it could be relative. This ensures the path is always absolute. Signed-off-by: Jeremy Cline <jeremy@jcline.org>
I very briefly fiddled with running the tests on 2.6, but decided it wasn't worth the effort. However, I neglected to add the modified .travis.yml file when I updated fedora-infra#108 so this fixes that. Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Included the tests Make the tests against 3.4 and 3.5 not allowed to fail anymore Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This will allow to plan some time between the end of the submission phase and the start of the voting phase. Add an alembic migration script to add the submission_date_end field
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Python 3 treats old style exceptions as syntax errors but new style exceptions work as expected in both Python 2 and Python 3.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
… statement Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
…ute. Update README.rst Remove broken link to image that was at .. image:: http://shieldkins.elrod.me/fedora/nuancier Update README.rst Add git to things to install Update development.rst Update development.rst Change yum to dnf Update deployment.rst Change yum to dnf, however not clear which system wide repositories nuancier is in. Update README.rst Update manual install directions Update README.rst improve formatting Update README.rst formatting fixes, update information on requirements Update README.rst Co-Authored-By: Clement Verna <cverna@users.noreply.github.com> Update development.rst Update development.rst Change yum to dnf Update deployment.rst Change yum to dnf, however not clear which system wide repositories nuancier is in. Update Vagrantfile.example Use Fedora 30 image instead of Fedora 25 Update main.yml Use Python3 Update to use loop syntax Update Vagrantfile.example Remove , sshfs_opts_append: "-o nonempty" since the nonempty option is no longer available. Update Vagrantfile.example Use Python3 in Vagrant example file
Change print statement to be compatible with Python 3
update test requirements remove Python2 from rpm dependencies change dependency from rpm-python to python3-rpm update travis ci file to use only python 3.7 Update Vagrantfile.example Use Fedora 32 image instead of Fedora 25 change dependency from rpm-python to python3-rpm update test requirements remove Python2 from rpm dependencies change dependency from rpm-python to python3-rpm update travis ci file to use only python 3.7 Update Vagrantfile.example Use Fedora 32 image instead of Fedora 25 Update README.rst Remove broken link to image that was at .. image:: http://shieldkins.elrod.me/fedora/nuancier Update README.rst Add git to things to install Update development.rst Update development.rst Change yum to dnf Update deployment.rst Change yum to dnf, however not clear which system wide repositories nuancier is in. Update README.rst Update manual install directions Update README.rst improve formatting Update README.rst formatting fixes, update information on requirements Update README.rst Co-Authored-By: Clement Verna <cverna@users.noreply.github.com> Update development.rst Update development.rst Change yum to dnf Update deployment.rst Change yum to dnf, however not clear which system wide repositories nuancier is in. Update Vagrantfile.example Remove , sshfs_opts_append: "-o nonempty" since the nonempty option is no longer available. Fedora 32 no longer supports rpm-python, updated to python3-rpm which seems to cover everything rpm-python was doing
Add more details on manual setup process.
Replace occurrences of yum with dnf.