1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-22 19:19:37 +01:00
Commit Graph

696 Commits

Author SHA1 Message Date
Hugo
a8b7efc776 Drop support for EOL Python 3.3 2018-05-07 22:29:36 +03:00
Matthew Planchard
91edcffdf2
Merge pull request #204 from pypiserver/twine-prerelease
Provide Prerelease Testing for Twine
2018-03-06 20:22:41 -06:00
Matthew Planchard
8639ad3d40 Provide Prerelease Testing for Twine
Resolves #203
Related to pypa/twine#314

This commit adds an ``sh -c`` call, whose argument is the value of the
environment variable ``PYPISERVER_SETUP_CMD``, or ``true`` if that
variable is not set. This was specifically added to enable the
``pre_twine`` environment, which is provided to automatically test
pre-releases of twine, both for our use (e.g. #203) and for the use of
the twine maintainers (pypa/twine#314).

The capacity to specify an arbitrary setup command via an environment
variable may also wind up being useful in other cases in the future.

In addition, the envlist is updated to include only Python versions we
actually support.

This commit also alphabetizes the ``dev.pip`` requirements and rmeoves
specific requirements for testing using Python 2.5 (which we do not test
against anymore).
2018-03-06 20:08:14 -06:00
Matthew Planchard
1477158f3a
Merge pull request #196 from mplanchard/125-better-strip
Resolved paste config parsing issue for Python 2
2017-12-03 16:22:22 -06:00
Matthew Planchard
46ba4ac532
Merge pull request #194 from mplanchard/180-update-404
Update 404 to match PyPI
2017-12-03 16:22:02 -06:00
Kostis Anagnostopoulos
c6b52633fa
Merge pull request #195 from mplanchard/classifier-update
Updated setup.py classifiers
2017-12-04 00:19:13 +02:00
Kostis Anagnostopoulos
091b31504b fix(standalone): .standalone dir were already created by git-workdir
... and strangely `mkdir` were missing `-p` option.
2017-12-03 12:07:59 +02:00
Matthew Planchard
e6a0bfc812 Resolved paste config parsing issue for Python 2
The ability to propagate configuration values from a paste config
file was introduced in #156. However, as pointed out in #125
by @redbaron4, the string strip method introduced in #156 was
problematic in Python 2.

This resolves that issue while also creating a test that fails
on the current master and passes with updates, demonstrating the
issue.
2017-11-29 20:04:09 -06:00
Matthew Planchard
8afe3233ab Update 404 to match PyPI 2017-11-29 19:43:39 -06:00
Matthew Planchard
2cc5016015 Updated setup.py classifiers
* Added Python 3.6 to languages
* Added PyPy implementation
* Also updated some minor spacing issues
2017-11-29 19:39:06 -06:00
Matthew Planchard
861aa73534
Merge pull request #193 from mplanchard/release-tidying
Release Tidying
2017-11-29 19:33:59 -06:00
Matthew Planchard
f7c665ccce Updated Version to 1.2.2dev0 2017-11-29 19:24:42 -06:00
Matthew Planchard
5cc13e075f Changelog Update
I neglected to remove the mention of matrix authorization from the
changelog when we reverted that PR. Noticed it when writing release
notes.

g	.vscode/
2017-11-29 19:17:46 -06:00
Matthew Planchard
56b9636e7b chore(ver): bump 1.2.1-->1.2.1 v1.2.1 2017-11-29 19:10:17 -06:00
Matthew Planchard
8c65a591c9
Merge pull request #191 from mplanchard/v1.2.1release
Prep for v1.2.1 release
2017-11-29 19:09:13 -06:00
Matthew Planchard
e8f54aeba2 Pinned pytest requirement for Python 3.3 2017-11-29 18:59:05 -06:00
Matthew Planchard
420491a1c1 Prep for v1.2.1 release 2017-11-29 18:49:27 -06:00
Kostis Anagnostopoulos
44ba3f886f
Merge pull request #190 from axnsan12/patch-1
Add $scheme forwarding to example nginx configuration
2017-11-25 13:27:39 +02:00
Cristi Vîjdea
5241ded111
Add $scheme forwarding to example nginx configuration
Adding `X-Forwarded-Proto` makes bottle pick up on the original request's scheme (https/http), so that the URL on the welcome page is displayed correctly.
2017-11-25 01:26:43 +01:00
Matthew Planchard
56fe8f3a26
Merge pull request #189 from mplanchard/bumpver-1.2.1rc0
chore(ver): bump 1.2.1.dev0-->1.2.1rc0
2017-11-14 12:49:23 -06:00
Matthew Planchard
ea92f16bf3 chore(ver): bump 1.2.1.dev0-->1.2.1rc0 2017-11-14 11:51:26 -06:00
Matthew Planchard
238eefa027
Merge pull request #187 from mplanchard/revert-matrix-auth
Revert matrix auth
2017-11-14 11:28:52 -06:00
Matthew Planchard
1770f3cf93 Updated Tests
In addition to including tests from @jameshiebert with slight
updates, I have also resolved an issue with newer versions of twine,
which require an extra parameter in the calls to `upload` and
`register`.
2017-11-14 11:02:44 -06:00
Matthew Planchard
c0b93bdaef Revert Matrix Auth
This reverts commits 29c1803 c79dd18 568f901 and 3d37c00. This has
resulted in bugs referenced in #175, #179, and #186.
2017-11-14 08:43:49 -06:00
Matthew Planchard
35f9740429
Merge pull request #185 from ankostis/bumpver
feat(build): add `/bin/bumpver.py` script to facilitate new releases
v1.2.1dev0
2017-11-10 12:10:42 -06:00
Matthew Planchard
91545c7fe6
Merge pull request #184 from mplanchard/changelog-update
Updated changelog
2017-11-10 12:10:28 -06:00
Matthew Planchard
e75e1dcf50 PR updates 2017-11-05 11:52:16 -06:00
Kostis Anagnostopoulos
627ebf5b4a doc(build): checklist for release in new file /bin/RESDME.rst 2017-11-01 10:47:28 +02:00
Matthew Planchard
aa067c666d Updated changelog 2017-10-31 14:18:49 -05:00
Kostis Anagnostopoulos
6e930c5621 feat(build): add /bin/bumpver.py script to facilitate new releases 2017-10-31 21:03:17 +02:00
Matthew Planchard
9f7729e554
Merge pull request #182 from uSpike/patch-1
Default fallback_url to use HTTPS
2017-10-31 13:05:10 -05:00
Kostis Anagnostopoulos
a9d8c18163 chore(travis): +py36, +pypy3, no-sudo, with tox-travis plugin
from https://github.com/tox-dev/tox-travis
2017-10-31 12:55:31 -05:00
Matthew Planchard
05f5920c25 Updated Default Fallback URL to https
Resolves #179

Due to a pypi API change (reasoning
[here](https://mail.python.org/pipermail/distutils-sig/2017-October/031712.html),
thanks to @natefoo for the link), the redirect links that we were
generating for distributions not present in the package index were
failing with `403` errors.

@ankostis, I have not had time to look into why the standalone tests are
failing. Perhaps we should just ignore them in order to get a new
version out once this is merged to master?
2017-10-31 12:34:22 -05:00
Jordan Speicher
519c195253 Default fallback_url to use HTTPS
`pypi.python.org/simple` will respond to HTTP requests with `403: SSL is required.`

This will change the default fallback_url to use HTTPS.  This should fix #179.
2017-10-26 12:44:05 -05:00
Matthew Planchard
d62d81309b Merge pull request #173 from bertjwregeer/bugfix/multiple_servers
Allow creating multiple servers using Paste
2017-09-19 08:56:21 -05:00
Bert JW Regeer
ecfd1796a7 Add test to disallow regression 2017-03-31 12:48:08 +02:00
Bert JW Regeer
5f1804fd4b Allow creating multiple servers using Paste
This brings back the import hack that allows one to use Paste urlmap to
compose multipe PyPi servers within a single WSGI server.

After importing _app, we remove it from sys.modules so that future
imports will have their own copy, this allows globals to function
correctly and each _app to have their own variables.
2017-03-31 12:25:21 +02:00
Matthew Planchard
a60719f442 Merge pull request #172 from mplanchard/doc-update
Update Search Documentation
2017-03-19 15:25:22 -05:00
Matthew Planchard
ea79bd096b Merge pull request #132 from khornberg/feature/matrix-auth
Add matrix auth
2017-03-19 15:25:06 -05:00
Matthew Planchard
8a65456239 Update Search Documentation
* Fixed endpoint for search example
* Noted the lack of a `/simple` endpoint for search
* Added `search` to the list of explicitly enumerated
functionality in `Known Limitations`
2017-03-19 15:10:01 -05:00
Kyle Hornberg
29c1803eae Add matrix auth exceptions 2017-02-21 16:29:47 -06:00
Kyle Hornberg
c79dd18ef6 Add multiple user auth to docs 2017-02-21 16:29:47 -06:00
Kyle Hornberg
568f901ace Add test for multiple actions with multiple users 2017-02-21 16:29:47 -06:00
Kyle Hornberg
3d37c00999 Add matrix auth 2017-02-21 16:29:47 -06:00
Kostis Anagnostopoulos
51bf5ac961 Merge pull request #169 from mplanchard/luismsgomes-master
Fix #169 & #156: some configuration keywords were not being propagated into the app: 

authenticated, password_file, log_file, verbosity
2017-02-21 13:06:43 +01:00
Luís Gomes
86cbda1719 minor refactoring; removed extraneous print() 2017-02-15 17:30:21 +01:00
Luís Gomes
4df5e6f96d fixed Python2 incompatability introduced in previous commit 2017-02-15 17:30:17 +01:00
Luís Gomes
a54c2b8606 propagate configuration from paste.ini 2017-02-15 17:30:13 +01:00
Matthew Planchard
ff06fbf5d5 Merge pull request #161 from ITler/ITler-patch-2
Added receipe for reverse proxy configuration
2017-02-13 21:07:44 -06:00
Matthew Planchard
27e34fc6e4 Merge pull request #166 from tescalada/patch-1
fixing systemd file typo
2017-02-13 20:17:42 -06:00