Commit graph

85 commits

Author SHA1 Message Date
Lukas Puehringer
842f843210 Remove duplicate testing simple_server.py
tests/simple_server.py was copied to tuf/scripts/ to "make testing
easier" (cf84d3f51f), although with
the current test setup the original (and recently patched to fix an
Windows/Py2 test issue) test simple_server.py can be used just as
well.

This commit:
- removes tuf/scripts/simple_server.py
  Note: that version slightly differed from the original test
  server, probably due to demands by the linter that is only executed
  on the tuf core code and not on the tests. However, for the testing
  purposes of simple_server.py these changes (i.e., `SystemRandom()`,
  `if __name__ =='__main__':`) are not necessary.
- updates the tests that used tuf.scripts.simple_server to instead
  use tests.simple_server,
- updates setup.py to not install the simple_server module as
  script, when installing tuf, as it is only a testing script and
  not meant for end-user usage.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2020-02-25 14:55:36 +01:00
Santiago Torres
bea6496dc2
release: 0.12.2
Signed-off-by: Santiago Torres <santiago@archlinux.org>
2020-01-10 15:43:44 -05:00
Lukas Puehringer
dc7bb9661e test: Add mock test dependency for Py <3.3
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-16 15:16:24 +01:00
Lukas Puehringer
f7a0685190 Update tested and supported Python versions
- Drop 3.4 (due to end-of-life) and add 3.7 and 3.8 to tox, travis
and appveyor configuration for automated testing.
- Adapt classifiers in setup.py accordingly.
- Add python_requires field in setup.py to reflect supported
versions. This will prevent pip from trying to install tuf on
a non-supported version.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-12-13 09:46:18 +01:00
Lukas Puehringer
054a32ce1a setup.py/__init__.py: bump version to v0.12.1
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-11-14 15:49:15 +01:00
Lukas Puehringer
9a8e3c9ef9 setup.py/__init__.py: bump version to v0.12.0
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-10-14 16:47:16 +02:00
Lukas Puehringer
2342e18e45 Update securesystemslib dependency to 0.12.0
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2019-10-14 12:26:26 +02:00
Sebastien Awwad
847f20df9e
Update version to 0.11.2.dev3
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2019-01-10 11:52:42 -05:00
Sebastien Awwad
23cfcbe783
Bump version to 0.11.2.dev2 from 0.11.2.dev1
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-11-05 15:57:05 -05:00
Sebastien Awwad
73f3289942
Bump version to 0.11.2.dev1 for PyPI dev release
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-10-03 11:59:56 -04:00
Sebastien Awwad
24a10b5527
Update dependencies and bump version to 0.11.2-alpha
for an alpha release.

Update dependencies:
bandit, py, pycparser, pynacl, securesystemslib, tox

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-10-02 22:24:14 -04:00
Sebastien Awwad
314f6e71b9
Remove partial single-source version; add comments explaining
Previous commit isn't going to work: read wasn't defined. Code
provided was from here:
https://packaging.python.org/guides/single-sourcing-package-version/

and is a little more complicated than is ideal. It'll also match
comment lines if they exist. Single-sourcing version number isn't
necessary for this pull request, but if I was going to do it, I'd
probably add a VERSION file and have tuf/__init__.py and setup.py
each read that in. There could be problems with that, too. I'm
going to punt on this and keep the version in two places and we
can fix that less urgently. (Also, the user agent reporting a
version seems less critical in any case than the rest of the PR.)

Version info will now be in two locations and require update in
tandem.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-09-10 16:29:59 -04:00
Trishank K Kuppusamy
34e0ec7c62
Add TUF version number, and user agent
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-09-10 16:29:48 -04:00
Trishank K Kuppusamy
b9bc8602c2
Update TUF to handle HTTPS proxies
Signed-off-by: Trishank K Kuppusamy <trishank.kuppusamy@datadoghq.com>
2018-08-31 13:18:35 -04:00
Vladimir Diaz
9acab4b6bc
Add long_description_content_type to setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-20 17:52:34 -04:00
Vladimir Diaz
4d07ce0287
Bump version number to 0.11.1 in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-19 16:28:20 -04:00
Vladimir Diaz
af8b117ad6
Upgrade SSLib dependency in setup.py (0.11.1 -> 0.11.2)
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-04 14:41:24 -04:00
Vladimir Diaz
8986e9c773
Replace README.rst with README.md in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-17 11:50:11 -04:00
Vladimir Diaz
a9c4cbac76
Update release version in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-30 15:07:13 -04:00
Vladimir Diaz
b1410446c5
Update securesystemslib in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-30 13:37:51 -04:00
Vladimir Diaz
8b40894149
Upgrade dependencies in setup.py and requirement files
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-11 15:18:13 -04:00
Vladimir Diaz
db27b18cd0
Upgrade securesystemslib to 0.10.11 (removes deprecated cryptography methods)
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-03-29 10:47:44 -04:00
Vladimir Diaz
8f65fa4154
Rename license files in modules
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-05 11:31:19 -05:00
Vladimir Diaz
30179ce8ba
Bump project version number to 0.10.2 in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-31 17:33:42 -05:00
Vladimir Diaz
4fa8292c6f
Bump securesystemslib version to 0.10.10 in setup.py and dev-requirements.txt
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-31 16:11:00 -05:00
Vladimir Diaz
cd2aeb21f9
Fix list of scripts in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-25 16:41:53 -05:00
Vladimir Diaz
d5c82982df
List client.py in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-24 17:32:21 -05:00
Vladimir Diaz
7de990769e
Edit setup.py to list repo.py script
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-24 17:28:15 -05:00
Vladimir Diaz
bc9b4b37de
Upgrade cffi and securesystemslib dependencies
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-01-22 15:24:00 -05:00
Vladimir Diaz
65a9a7c267
Resolve conflicts
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-11 13:24:19 -05:00
Vladimir Diaz
fb05f65e70
Add copyright and license info to setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-30 13:24:35 -05:00
Vladimir Diaz
664e8227d9
Exclude the now remove tufcli.py from setup.py's scripts
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-16 12:05:35 -05:00
Vladimir Diaz
669afbc0a3
Merge branch 'develop' into release_0.10.1 2017-11-13 12:01:54 -05:00
Vladimir Diaz
a77f50086d
Bump project's version number
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-13 11:00:15 -05:00
Vladimir Diaz
1f46ef9ba0
Add MIT and Apache license classifiers to setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-09 17:46:02 -05:00
Vladimir Diaz
8d6bd4d1e4
Specify minimum versions of dependencies in setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-09 11:14:08 -05:00
Vladimir Diaz
4126fc8945
Merge branch 'tap4' of github.com:theupdateframework/tuf into tap4 2017-10-13 12:29:16 -04:00
Vladimir Diaz
aa129484cf
Add py3.6 to setup.py 2017-09-21 17:27:28 -04:00
Vladimir Diaz
eedff4aa32
Drop py26 from setup.py 2017-09-21 17:14:33 -04:00
Vladimir Diaz
fa22ea1a59
Use v0.10.7 of securesystemslib
v0.10.7 implements TAP 9
2017-08-23 15:08:44 -04:00
Vladimir Diaz
32aab8f5fb
Use securesystemslib v0.10.6
that contains bug fix for _get_keyid()
2017-07-17 17:04:35 -04:00
Vladimir Diaz
ef6716321e
Edits to PR
Use securesystemslib v0.10.5 dependency (includes Lukas' contributions and a fix).
Add blank line between function docstring and beginning of code.
2017-06-15 13:29:01 -04:00
Vladimir Diaz
cf84d3f51f Add simple_server.py as a script to make testing easier 2017-02-15 15:07:36 -05:00
Lukas Puehringer
3982a56583 Updates securesystemslib pointer (WIP)
Updates requirements.txt and setup.py requirements to point to a
securesystemslib branch that updates key generate and import
functions to return a key object with the optional
keyid_hash_algorithms field.

This references have to be updated once lukpueh:update-import-keys
is merged into securesystemslib's master.
2017-01-27 17:09:58 -05:00
Vladimir Diaz
b415bfe05e Add securesystemslib dependency to install_requires 2017-01-13 11:05:20 -05:00
Vladimir Diaz
7720b74cba Remove crypto dependencies, which are now handles by securesystemslib 2017-01-13 10:26:47 -05:00
Vladimir Diaz
ed2546361b Remove 'simple-settings' dependency and add 'securesystemslib' to setup.py 2017-01-12 16:33:32 -05:00
Artiom Baloian
b793c81739 Added simple_settings, now it is a requirement of TuF.
Rename conf.py into the settings.py an changed import call.
2016-11-01 15:38:40 -04:00
Vladimir Diaz
3dfb22cfb7 Update setup.py
Add 'cryptography' to tuf[tools]
2016-10-14 11:27:13 -04:00
Vladimir Diaz
8cfaf2ccb6 Rename tuf.py to tufcli.py to prevent name clash 2016-10-07 11:27:52 -04:00