1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-12-20 13:55:49 +01:00
Commit Graph

817 Commits

Author SHA1 Message Date
dependabot[bot]
deacdadd32
chore: Bump waitress from 2.1.2 to 3.0.2 in /docker
Bumps [waitress](https://github.com/Pylons/waitress) from 2.1.2 to 3.0.2.
- [Release notes](https://github.com/Pylons/waitress/releases)
- [Changelog](https://github.com/Pylons/waitress/blob/main/CHANGES.txt)
- [Commits](https://github.com/Pylons/waitress/compare/v2.1.2...v3.0.2)

---
updated-dependencies:
- dependency-name: waitress
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-01 22:06:31 +00:00
Dmitrii Orlov
01915d1a68
chore(ver): bump 2.3.1-->2.3.2 v2.3.2 2024-11-24 22:33:05 +01:00
github-actions[bot]
1916cbc4c2
chore(auto-release-candidate-2024-11-24) (#628)
* chore(rc-changes): update CHANGES.rst

* chore: update changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2024-11-24 22:32:42 +01:00
Mitja O
6e4ccd8ba9
fix: use importlib_resources only when needed (#627)
* fix: `importlib_resources` only for Py 3.8 to 3.12

* chore: return `py37-py39` to tox envlist
2024-11-24 22:16:31 +01:00
Mitja O
1e7d6caae7
chore: use the official docker-meta action instead of ci-helper (#625)
* chore: use the official `docker-meta` action

* chore: remove redundant pattern

* chore: configure push settings

* chore: add concurrency setting

* chore: remove unused `ci_helper` script

* chore: login only on `main` and `tag`s

* fix: remove accidental code

* chore: special `docker` concurrency group
2024-11-24 22:10:24 +01:00
Dmitrii Orlov
849335256e
chore(ver): bump 2.3.0-->2.3.1 v2.3.1 2024-11-23 22:13:38 +01:00
github-actions[bot]
162bd0a101
chore(auto-release-candidate-2024-11-23) (#626)
* chore(rc-changes): update CHANGES.rst

* chore: update changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2024-11-23 22:12:07 +01:00
dependabot[bot]
db93d0ff96 chore: Bump gevent from 21.12.0 to 24.11.1 in /docker
Bumps [gevent](https://github.com/gevent/gevent) from 21.12.0 to 24.11.1.
- [Release notes](https://github.com/gevent/gevent/releases)
- [Changelog](https://github.com/gevent/gevent/blob/master/docs/changelog_pre.rst)
- [Commits](https://github.com/gevent/gevent/compare/21.12.0...24.11.1)

---
updated-dependencies:
- dependency-name: gevent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-23 20:23:33 +00:00
Dmitrii Orlov
e2586b387d
chore(ver): bump 2.2.0-->2.3.0 v2.3.0 2024-11-23 19:44:53 +01:00
github-actions[bot]
4e58d8da80
chore(auto-release-candidate-2024-11-23) (#622)
* chore(rc-changes): update CHANGES.rst

* chore: change entries

* chore: adjust title and date

* chore: README format

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2024-11-23 19:39:24 +01:00
Oz Tiram
e6926d56a5
bump bottle to version 0.14-dev (#619)
* 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>
2024-11-08 17:51:39 +01:00
Mitja O
16c9cecdd3
chore: finish move to main (#612) 2024-10-06 22:43:43 +02:00
Mitja O
f3d6dde371
chore: prepare for renaming to main (#611)
* chore: adjust gha to use `main`

* chore: adjust `ci_helper`

* chore: adjust README

* chore: add small todos
2024-10-06 22:37:07 +02:00
afdy
0430375272
chore: update alpine image to 3.20 and python version to 3.10 (#608)
Update Dockerfile

Move to latest working python version which builds, and latest alpine image.
2024-10-06 22:29:14 +02:00
Dmitrii Orlov
62bda83678
chore(ver): bump 2.1.1-->2.2.0 v2.2.0 2024-09-15 21:42:19 +02:00
github-actions[bot]
f1dc49c62d
chore(auto-release-candidate-2024-09-15) (#603)
* chore(rc-changes): update CHANGES.rst

* chore: udpate the changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2024-09-15 21:39:44 +02:00
Mitja O
d68355a371
chore: cleanup README (#591)
* chore: make prettier callouts

* chore: some typography edits

* chore: small typos

* chore: mdformat

* chore: explicit links

* chore: mdformat

* chore: small styling
2024-08-20 13:00:19 +02:00
Mitja O
c21c1e8fbe
feat: use json client for update (#588)
* 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>
2024-08-20 12:09:25 +02:00
Mitja O
6c43e19758
chore: solve deprecated types-pkg_resources (#589)
* chore: remove deprecated pip install

* chore: add the suggested alternative
2024-08-20 12:01:02 +02:00
dependabot[bot]
f386a393b4
chore: Update setuptools requirement from <70.0.0,>=40.0 to >=40.0,<71.0.0 in /requirements (#579) 2024-07-15 22:30:25 +00:00
Ykrej
aa8217bba0
Update Deprecated Compose Commands for Pypiserver Services (#583)
Updated compose commands to use run subcommand
2024-07-15 22:09:48 +00:00
Michał Górny
f740a84539
test: Fix running build in offline test environment (#571)
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>
2024-06-23 22:44:57 +00:00
Nico Coetzee
a70b77d608
Updated HTML formatting (#580) (#581) 2024-06-21 08:06:45 +02:00
Dmitrii Orlov
acff1bbab8
chore(ver): bump 2.1.0-->2.1.1 v2.1.1 2024-04-25 01:23:26 +02:00
github-actions[bot]
5ca6004ebe
chore(release-candidate): v2.1.1 (#570)
* chore(rc-changes): update CHANGES.rst

* chore: update changes.rst

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2024-04-25 01:17:42 +02:00
Mitja O
31c9cf14d1
fix: deprecated setuptools.py when building in package.sh (#568)
* fix: deprecated-setuptools-in-package.sh

* chore: include package build in non-tag ci

* chore: install requirements before building
2024-04-25 01:07:24 +02:00
Mitja O
2619c17602
fix: use the right env variables in release-tag workflow (#569)
fix: env variable
2024-04-25 00:55:36 +02:00
Dmitrii Orlov
d5886ae3d5
chore(ver): bump 2.0.1-->2.1.0 v2.1.0 2024-04-24 18:30:24 +02:00
github-actions[bot]
6bfeddc1fc
chore(release-candidate): v2.1.0 (#567)
* chore(rc-changes): update CHANGES.rst

* chore: update CHANGES.rst

* chore: bump to 2.1.0

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Dmitrii Orlov <dmtree.dev@yahoo.com>
2024-04-24 18:21:44 +02:00
Mitja O
2f0a56c380
fix: support Python 3.12 (#539)
* chore: pin explicit Python 3.12

* chore: add a `test-python` for stable Python

* chore: empty commit

* chore: add some FIXMEs

* chore: add `packaging`

* chore(wip): replace `LegacyVersion` with `packaging`'s `parse`

* chore(wip): bypass `strtobool` usage

* chore(wip): `pkg_resources` are deprecated

* chore(wip): naive way to support Python <3.12

* chore(wip): swap import order

* chore(wip): try fixing version check

* chore: add a fixme

* chore(wip): reverse legacy pip check

* chore(wip): legacy pip  check for 9 or lower

* fix: fix the legacy pip check

* chore: small cleanup

* chore(wip): try the `importlib_resources`

* chore: add small comment

* chore(wip): avoid `setup.py` in fixtures

* chore(wip): version-compatible wheel build

* chore: install `build` for `3.8` too

* fix: mypy issues

* chore: fix comments

* fix: more formatting fixes

* fix: mdformat

* fix: pass wrong auth to `failed_auth` test

* chore: cleanup packages before and after test runs

* chore(wip): try to bypass test error

* chore: add a tech debt comment

* chore: undo too many changes

* chore(wip): small debug experiment

* chore(wip): skip some tests

* chore(wip): use nonsense code

* fix(chore): small fix to the nonsense code

* chore(wip): try `--force-reinstall`

* chore: finalize the docker tests
2024-04-01 21:30:02 +02:00
Mitja O
84bf12cdd4
chore: make the last supported python version explicit in ci.yaml (#558)
* chore: make the last supported python version explicit

* fix: formatting
2024-04-01 12:23:42 +02:00
dependabot[bot]
946fbfe64e
chore: Update setuptools requirement from <62.0.0,>=40.0 to >=40.0,<70.0.0 in /requirements (#557)
chore: Update setuptools requirement in /requirements

Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v40.0.0...v69.2.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 12:14:44 +02:00
Chuck CBW
d588913e75
feat: Bump github action versions and add multiarch support (#553)
feat: bump github action versions and add multiarch support
2024-04-01 11:33:17 +02:00
Mitja O
50c7a78f4f
chore: add tar xz test case (#538) 2023-11-13 16:19:52 +01:00
Daniel M. Weeks
a558dbcfb2
Handle tar.xz archives (#536) 2023-11-13 16:02:36 +01:00
Dmitrii Orlov
2ab30ea2ec
chore(ver): bump 2.0.0-->2.0.1 v2.0.1 2023-10-01 16:14:12 +02:00
Mitja O
9109f61d66
chore(release-candidate): v2.0.1 (#534)
* chore(rc-changes): update CHANGES.rst

* chore: update CHANGES.rst
2023-10-01 16:02:13 +02:00
Mitja O
e788785fa4
Fix: dockerhub description readme (#533)
* fix: specify long_description MD type

* chore: black formatting

* fix: set the docker hub description
2023-10-01 15:42:40 +02:00
Mitja O
904f50fa79
fix: specify long_description as MD type (#532)
* fix: specify long_description MD type

* chore: black formatting
2023-10-01 15:19:32 +02:00
Mitja O
ad9fb4a3b5
chore: simpler release_tag action (#530)
- no CHANGES check
- support dry-run mode
2023-10-01 15:12:03 +02:00
Dmitrii Orlov
b4666c14a6
chore(ver): bump 1.5.2-->2.0.0 v2.0.0 2023-10-01 14:23:38 +02:00
github-actions[bot]
a49af99231
chore(auto-release-candidate-2023-10-01) (#529)
* chore(rc-changes): update CHANGES.rst

* Update CHANGES.rst

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Mitja O <dmtree.dev@yahoo.com>
2023-10-01 13:28:48 +02:00
shenJun
df99872921
Fix Json Info for same version (#511)
* 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>
2023-09-25 09:58:11 +02:00
Johannes Faigle
c235ef44fd
FEAT: Switch default hash-algo to sha256 (#459)
Closes #452
2023-09-08 12:30:54 +02:00
Mitja O
6417769207
chore: add GitHub container registry for stable images (#521)
* chore: extend docs

* chore(wip): attach ghcr

* chore(test): mock a docker-build-push run

* chore(test): verify `unstable` skips GHCR

* chore(test): second mock attempt to skip GHCR

* chore: cleanup after successful tests
2023-08-30 12:29:02 +02:00
Mitja O
4645f7b10a
chore: cleanup release process (#516)
* 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
2023-08-27 16:11:54 +02:00
Glenn
e54270207d
TOC internal links (#520)
* 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 "*"
2023-08-27 15:47:10 +02:00
Glenn
f14b92cfbf
readme output diff on format error (#512)
* 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.
2023-08-22 12:40:48 +02:00
Glenn
9edae77659
Feature/markdown conversion (#503)
* 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.
2023-08-15 11:16:30 +02:00
Dmitrii Orlov
faf5ddfcc3
chore(ver): bump 1.5.1-->1.5.2 v1.5.2 2023-07-30 23:18:51 +02:00