* bump bottle to version 0.14-dev
Support modern python versions.
This is commit 7af7135965e6e02993fea89d8932a4bc713b6692
from bottle's master branch.
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
* chore: update declared python versions
Drop everything older than 3.9.
* chore: clean old python versions from tox
Add python3.12 to tox
* fix: remove assigning custom_full path to request
Instead use a function call. This less expensive than
before_request hook (which is invoked to every route).
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
* fix: correct server adapters name
match those classes found in bottle-0.14-dev
* chore: remove unused custom_host
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
* fix: redirectio to bad_url_path
moved get_bad_url_redirect_path from core.py to _app.py
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
* fix: tests for core and _app after moving stuff around
* fix: properly create a Request object for test_redirect_project_encodes_newlines
* chore: emove unused core import
* fix: black formatting
* fix: remove constraint on python 3.12
This was probably relevant because of bottle not supporting this
Python version.
---------
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
* Use simple JSON API to get package releases. (#524)
This replaces the XML-RPC mechanism (which is deprecated and heavily
rate-limited, as documented at
https://warehouse.pypa.io/api-reference/xml-rpc.html) with the simple
JSON API (PEP 691, https://peps.python.org/pep-0691/).
This is a minimalistic implementation with almost no error handling, but
in this context it should behave about the same as the old XML-RPC code
(which also had almost no error handling).
* Replace XMLRPC server usage with JSON API. (#410)
Co-authored-by: Roy Wright <roy_wright@trendmicro.com>
Co-authored-by: Mitja O <dmtree.dev@yahoo.com>
* chore: remove the `requests` dependency
* chore: sort imports
---------
Co-authored-by: Simon Fowler <simon.fowler@anu.edu.au>
Co-authored-by: Roy Wright <roy@wright.org>
Co-authored-by: Roy Wright <roy_wright@trendmicro.com>
Fix the `build` calls to use `--no-isolation`, in order to fix
regression in running tests in an offline environment.
Unlike the previous `setup.py` calls, `build` defaults to creating a new
virtual environment to perform the build. This, in turn, requires
fetching the build dependencies from the Internet, effectively making
the tests error out in an offline environment. Passing `--no-isolation`
makes `build` use the already-installed host dependencies instead.
Co-authored-by: Mitja O <dmtree.dev@yahoo.com>
* Update _app.py
* format code
* Revert "format code"
This reverts commit c5b0c9e20a72c284cb96022f8f9916bc65892ac6.
* format code
* format code with black
* update test_json_info
* Update tests/test_app.py
Co-authored-by: Mitja O <dmtree.dev@yahoo.com>
* Update tests/test_app.py
Co-authored-by: Mitja O <dmtree.dev@yahoo.com>
---------
Co-authored-by: Mitja O <dmtree.dev@yahoo.com>
* chore: convert bin/README to md
* feat: replace all dates with bumpver
* chore: date in README is now changed by `bumpver`
* chore: clarify the RC workflow
* chore: use global `/tmp` in RC
* chore: slightly prettier description
* chore: move changes file to env
* chore: introduce release_tag workflow
chore(wip): test trigger on PR
chore(wip): add filtered diff
chore(wip): switch to PATTERNS
chore(wip): up to bumpver
chore(wip): temporary disable check
chore(wip): setup python
chore(wip): test with a specific version
chore(wip): test bumpver commit
chore(wip): fix the bumpver usage
chore: cleanup the release_tag workflow
* chore: create draft release from CI
* chore: update the docs
* chore: provide details on the release process
* chore: tiny header update
* chore: remove commented-out code
* bug: TOC links not working
Issue [513](https://github.com/pypiserver/pypiserver/issues/513)
The TOC links were not working when displayed on
github although they did work in the README.md preview mode.
Therefore I'm removing the link from each header that was linking back to the top of the document as was the case in the RST README.
* bug: TOC links not working
Issue [513](https://github.com/pypiserver/pypiserver/issues/513)
The TOC links were not working when displayed on
github although they did work in the README.md preview mode.
Therefore I'm removing the link from each header that was linking back to the top of the document as was the case in the RST README.
* bug: TOC links not working
mdmarkdown lint prefers "-" over "*"
* feat: dependabot
- add dependabot yml file to look in the docker & requirements folders
- split the requirements out of the test.pip into a test-requirements.pip file so dependabot recognizes it
It was found that in order to have the python dependabot
recognize the requirements a naming convention had to be
followed
* feat: dependabot
alter to monthly
* feat: markdown diff
Add a conditional check to output a diff between
what mdformat expects and what is actually in the
README.
* feat: markdown conversion
logo and badges
* feat: markdown conversion
fix logo path
* feat: markdown
table changes
* feat: markdown
table alignment
* feat: markdown
check toc
* feat: markdown
toc additions
* feat: markdown
quickstart section
* feat: dependabot
more details section in quick start
* feat: dependabot
correct bold
* feat: markdown
client side config, pip
* feat: markdown
typo in title
* feat: markdown
typo in configuring pip
* feat: markdown
apache like authentication section
an initial cut to view the markdown
in github
* feat: markdown
typo in markdown link
* feat: markdown
remove trailing colon
* feat: markdown
typo in shell markdown
* feat: markdown
standardize on 4 space indent in shell code block
* feat: markdown
complete markdown for section up to alternate installation methods
* feat: markdown
add more of the contents to test with
* feat: markdown
contents
* feat: markdown
contents
* feat: markdown
contents
* feat: markdown
dquote>
dquote> recipes
* feat: markdown
dquote>
dquote> recipes
* feat: markdown
dquote>
dquote> up to licensing
* feat: markdown
dquote>
dquote> contents
* Update README.md
Missing exclamation mark
* Update README.md
missing link
* Update README.md
remove duplicated text
* Update README.md
bold differences it Table of contents
* Update README.md
additional bold changes in table of contents
* Update README.md
broken link
* Update README.md
typo in link fix
* Update README.md
change code block to text as shell highlighting was showing some items in red
* Update README.md
code block shell to text
* Update README.md
correct pypi-server update section
* feat: markdown
dquote>
dquote> link back to TOC title
* Update README.md
change link to TOC title
* Update README.md
link test
* Update README.md
link update
* Update README.md
link update
* Update README.md
link update
* feat: markdown
links
* Update README.md
change the level of indent for uploading packages remotely
* Update README.md
add link to python-pam
* feat: markdown
apache link to TOC not working.
* Update README.md
grammar
* Update README.md
typo bold
* feat: markdown
undo bolded text in TOC and titles as linking does
not work
* feat: markdown
remove bold from TOC
* feat: feature
more link issues
* feat: markdown
fixing broken links
* feat: markdown
change text slightly as markdown only links to plain text
* feat: markdown
typo
* feat: markdown
more link typos
* Update README.md
typo in link
* Update README.md
link will not work with braces in the titles
* feat: markdown
run mdformat and apply changes, :) lint!
* feat: markdown
- check via mdformat
- remove old check script
- update test-requirements.txt
* feat: markdown
correct the errors in the mdformat run command
* feat: markdown
for testing remove all the actual jobs
* feat: markdown
re-run mdformat
* feat: markdown
put the jobs back in after testing the mdformat
cmd for passing and failing via workflow dispatch
* feat: markdown
remove references to README.md
* feat: markdown
change action to workflow dispatch for testing
* feat: markdown
- update docker igore
- alter unit test to look for version number after md changes
* feat: markdown
black linting
* feat: markdown
update comments
* feat: markdown
update bumpver to look at md rather than rst file
* feat: markdown
replace workflow dispatch with pull request
to get ready for the final PR
* feat: markdown-delete-original
delete the original rst file
* feat: markdown-delete-original
change ci to workflow dispatch for testing
* feat: markdown-delete-original
revert workflow dispatch
* feat: markdown-badge-links
set the links back to the original
URLs.
* feat: markdown-badge-links
fix brackets
* feat: markdown
update the version and date
* feat: markdown conversion
markdown changes to conform to mdformat tooling.